Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
robled opened this issue Jun 27, 2017 · 4 comments
Open

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

robled opened this issue Jun 27, 2017 · 4 comments

Comments

@robled
Copy link
Contributor

robled commented Jun 27, 2017

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.
@robled robled changed the title Task failure for firewalld 'lo interface' rule Task failure for firewalld 'lo interface' rule (jenkins master role) Jun 27, 2017
@jpaulovic
Copy link
Collaborator

What OS (full version) is this happening on? Both new Fedoras and RHEL 7.3+ have the firewall zone 'trusted' as one of the default zones, so this should not happen.

@robled
Copy link
Contributor Author

robled commented Jun 28, 2017

I was testing using RHEL 7.2

@greg-hellings
Copy link
Contributor

Should we close this, or do we really want to support RHEL 7.2 for masters?

@greg-hellings
Copy link
Contributor

Can this be killed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants