Skip to content

Task failure for firewalld 'lo interface' rule (jenkins master role) #134

Description

@robled

Tested using the current master branch as of this post:


TASK [jenkins_master : accept all communication from lo interface] *************
fatal: [10.8.181.81]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Shared connection to 10.8.181.81 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/tmp/ansible_8nm3ub/ansible_module_firewalld.py\", line 641, in <module>\r\n    main()\r\n  File \"/tmp/ansible_8nm3ub/ansible_module_firewalld.py\", line 554, in main\r\n    is_enabled = get_interface_permanent(zone, interface)\r\n  File \"/tmp/ansible_8nm3ub/ansible_module_firewalld.py\", line 225, in get_interface_permanent\r\n    fw_zone = fw.config().getZoneByName(zone)\r\n  File \"<string>\", line 2, in getZoneByName\r\n  File \"/usr/lib/python2.7/site-packages/slip/dbus/polkit.py\", line 103, in _enable_proxy\r\n    return func(*p, **k)\r\n  File \"<string>\", line 2, in getZoneByName\r\n  File \"/usr/lib/python2.7/site-packages/firewall/client.py\", line 52, in handle_exceptions\r\n    return func(*args, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/firewall/client.py\", line 1505, in getZoneByName\r\n    path = dbus_to_python(self.fw_config.getZoneByName(name))\r\n  File \"/usr/lib64/python2.7/site-packages/dbus/proxies.py\", line 70, in __call__\r\n    return self._proxy_method(*args, **keywords)\r\n  File \"/usr/lib/python2.7/site-packages/slip/dbus/proxies.py\", line 50, in __call__\r\n    return dbus.proxies._ProxyMethod.__call__(self, *args, **kwargs)\r\n  File \"/usr/lib64/python2.7/site-packages/dbus/proxies.py\", line 145, in __call__\r\n    **keywords)\r\n  File \"/usr/lib64/python2.7/site-packages/dbus/connection.py\", line 651, in call_blocking\r\n    message, timeout)\r\ndbus.exceptions.DBusException: org.freedesktop.DBus.Python.dbus.exceptions.DBusException: INVALID_ZONE: trusted\r\n", "msg": "MODULE FAILURE"}
        to retry, use: --limit @/home/vagrant/devel/cinch/cinch/site.retry

PLAY RECAP *********************************************************************
10.8.181.81                : ok=42   changed=0    unreachable=0    failed=1

Error encountered while executing command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions