Repository navigation
Closed
Labels
Description
TASK [os_firewall : Wait for polkit action to have been created] ***************
task path: /usr/share/ansible/openshift-ansible/roles/os_firewall/tasks/firewall/firewalld.yml:44
FAILED - RETRYING: TASK: os_firewall : Wait for polkit action to have been created (6 retries left).
FAILED - RETRYING: TASK: os_firewall : Wait for polkit action to have been created (5 retries left).
FAILED - RETRYING: TASK: os_firewall : Wait for polkit action to have been created (4 retries left).
FAILED - RETRYING: TASK: os_firewall : Wait for polkit action to have been created (3 retries left).
FAILED - RETRYING: TASK: os_firewall : Wait for polkit action to have been created (2 retries left).
FAILED - RETRYING: TASK: os_firewall : Wait for polkit action to have been created (1 retries left).
fatal: [localhost]: FAILED! => {
"attempts": 6,
"changed": false,
"cmd": [
"pkaction",
"--action-id=org.fedoraproject.FirewallD1.config.info"
],
"delta": "0:00:00.009270",
"end": "2017-04-11 23:33:59.642729",
"failed": true,
"rc": 1,
"start": "2017-04-11 23:33:59.633459",
"stderr": [
"No action with action id org.fedoraproject.FirewallD1.config.info"
],
"stdout": [],
"warnings": []
}
...ignoring
TASK [os_firewall : Add firewalld allow rules] *********************************
task path: /usr/share/ansible/openshift-ansible/roles/os_firewall/tasks/firewall/firewalld.yml:53
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: dbus.exceptions.DBusException: org.freedesktop.PolicyKit1.Error.Failed: Action org.fedoraproject.FirewallD1.config.info is not registered
failed: [localhost] (item={u'port': u'2379/tcp', u'service': u'etcd'}) => {
"failed": true,
"item": {
"port": "2379/tcp",
"service": "etcd"
},
"module_stderr": [
"Traceback (most recent call last):",
" File \"/tmp/ansible_K3Lcbi/ansible_module_firewalld.py\", line 641, in <module>",
" main()",
" File \"/tmp/ansible_K3Lcbi/ansible_module_firewalld.py\", line 489, in main",
" is_enabled = get_port_enabled(zone, [port,protocol])",
" File \"/tmp/ansible_K3Lcbi/ansible_module_firewalld.py\", line 155, in get_port_enabled",
" if port_proto in fw.getPorts(zone):",
" File \"<string>\", line 2, in getPorts",
" File \"/usr/lib/python2.7/site-packages/slip/dbus/polkit.py\", line 103, in _enable_proxy",
" return func(*p, **k)",
" File \"<string>\", line 2, in getPorts",
" File \"/usr/lib/python2.7/site-packages/firewall/client.py\", line 53, in handle_exceptions",
" return func(*args, **kwargs)",
" File \"/usr/lib/python2.7/site-packages/firewall/client.py\", line 2754, in getPorts",
" return dbus_to_python(self.fw_zone.getPorts(zone))",
" File \"/usr/lib/python2.7/site-packages/slip/dbus/proxies.py\", line 50, in __call__",
" return dbus.proxies._ProxyMethod.__call__(self, *args, **kwargs)",
" File \"/usr/lib64/python2.7/site-packages/dbus/proxies.py\", line 145, in __call__",
" **keywords)",
" File \"/usr/lib64/python2.7/site-packages/dbus/connection.py\", line 651, in call_blocking",
" message, timeout)",
"dbus.exceptions.DBusException: org.freedesktop.PolicyKit1.Error.Failed: Action org.fedoraproject.FirewallD1.config.info is not registered"
],
"module_stdout": [],
"msg": "MODULE FAILURE"
}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: dbus.exceptions.DBusException: org.freedesktop.PolicyKit1.Error.Failed: Action org.fedoraproject.FirewallD1.config.info is not registered
failed: [localhost] (item={u'port': u'2380/tcp', u'service': u'etcd peering'}) => {
"failed": true,
"item": {
"port": "2380/tcp",
"service": "etcd peering"
},
"module_stderr": [
"Traceback (most recent call last):",
" File \"/tmp/ansible_arTVbY/ansible_module_firewalld.py\", line 641, in <module>",
" main()",
" File \"/tmp/ansible_arTVbY/ansible_module_firewalld.py\", line 489, in main",
" is_enabled = get_port_enabled(zone, [port,protocol])",
" File \"/tmp/ansible_arTVbY/ansible_module_firewalld.py\", line 155, in get_port_enabled",
" if port_proto in fw.getPorts(zone):",
" File \"<string>\", line 2, in getPorts",
" File \"/usr/lib/python2.7/site-packages/slip/dbus/polkit.py\", line 103, in _enable_proxy",
" return func(*p, **k)",
" File \"<string>\", line 2, in getPorts",
" File \"/usr/lib/python2.7/site-packages/firewall/client.py\", line 53, in handle_exceptions",
" return func(*args, **kwargs)",
" File \"/usr/lib/python2.7/site-packages/firewall/client.py\", line 2754, in getPorts",
" return dbus_to_python(self.fw_zone.getPorts(zone))",
" File \"/usr/lib/python2.7/site-packages/slip/dbus/proxies.py\", line 50, in __call__",
" return dbus.proxies._ProxyMethod.__call__(self, *args, **kwargs)",
" File \"/usr/lib64/python2.7/site-packages/dbus/proxies.py\", line 145, in __call__",
" **keywords)",
" File \"/usr/lib64/python2.7/site-packages/dbus/connection.py\", line 651, in call_blocking",
" message, timeout)",
"dbus.exceptions.DBusException: org.freedesktop.PolicyKit1.Error.Failed: Action org.fedoraproject.FirewallD1.config.info is not registered"
],
"module_stdout": [],
"msg": "MODULE FAILURE"
}
@sdodson can you triage/assign please
Activity
stevekuznetsov commentedon Apr 13, 2017
@sdodson maybe this? https://bugzilla.redhat.com/show_bug.cgi?id=1221483
stevekuznetsov commentedon Apr 13, 2017
Well, maybe not, it started fine:
sdodson commentedon Apr 13, 2017
sdodson commentedon Apr 17, 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1442840 filed, i'll try some more to reproduce this and see if i can come up with a more complete workaround.
stevekuznetsov commentedon Apr 17, 2017
Do you need more artifacts to better debug this? Which ones? Let's add them to the test run
sdodson commentedon Jun 2, 2017
Closing, this doesn't happen frequently and RHEL teams are working to fix the issue in the previously mentioned bug. There should be some relief when RHEL7.4 ships.