)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"ce682b403df60d7de1509c75d488bcb0476f7dd7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"5e90e88e_33d63332","updated":"2023-05-25 15:53:21.000000000","message":"Ubuntu jammy fails:\n\nTASK [firewalld : Set firewalld zones for network interfaces] ******************\ntask path: /home/zuul/kayobe-venv/share/kayobe/ansible/roles/firewalld/tasks/enabled.yml:73\nskipping: [controller0] \u003d\u003e (item\u003daio)  \u003d\u003e {\n    \"ansible_loop_var\": \"item\",\n    \"changed\": false,\n    \"item\": \"aio\",\n    \"skip_reason\": \"Conditional result was False\"\n}\nskipping: [controller0] \u003d\u003e (item\u003dtest_net_eth)  \u003d\u003e {\n    \"ansible_loop_var\": \"item\",\n    \"changed\": false,\n    \"item\": \"test_net_eth\",\n    \"skip_reason\": \"Conditional result was False\"\n}\nredirecting (type: modules) ansible.builtin.firewalld to ansible.posix.firewalld\nredirecting (type: modules) ansible.builtin.firewalld to ansible.posix.firewalld\nUsing module file /home/zuul/kayobe-venv/share/kayobe/ansible/collections/ansible_collections/ansible/posix/plugins/modules/firewalld.py\nPipelining is enabled.\n\u003c192.168.33.3\u003e ESTABLISH SSH CONNECTION FOR USER: stack\n\u003c192.168.33.3\u003e SSH: EXEC ssh -C -o ControlMaster\u003dauto -o ControlPersist\u003d60s -o KbdInteractiveAuthentication\u003dno -o PreferredAuthentications\u003dgssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication\u003dno -o \u0027User\u003d\"stack\"\u0027 -o ConnectTimeout\u003d10 -o \u0027ControlPath\u003d\"/home/zuul/.ansible/cp/7b927b2174\"\u0027 192.168.33.3 \u0027/bin/sh -c \u0027\"\u0027\"\u0027sudo -H -S -n  -u root /bin/sh -c \u0027\"\u0027\"\u0027\"\u0027\"\u0027\"\u0027\"\u0027\"\u0027\"\u0027echo BECOME-SUCCESS-cfglkvszukqmcgxwpxhyyqxnbmzsycgd ; /opt/kayobe/venvs/kayobe/bin/python\u0027\"\u0027\"\u0027\"\u0027\"\u0027\"\u0027\"\u0027\"\u0027\"\u0027 \u0026\u0026 sleep 0\u0027\"\u0027\"\u0027\u0027\nEscalation succeeded\n\u003c192.168.33.3\u003e (1, b\u0027\\n{\"failed\": true, \"msg\": \"ERROR: Exception caught: org.fedoraproject.FirewallD1.Exception: INVALID_ZONE: test-zone1\", \"exception\": \"  File \\\\\"/tmp/ansible_firewalld_payload_9cw53bsp/ansible_firewalld_payload.zip/ansible_collections/ansible/posix/plugins/module_utils/firewalld.py\\\\\", line 112, in action_handler\\\\n    return action_func(*action_func_args)\\\\n  File \\\\\"/tmp/ansible_firewalld_payload_9cw53bsp/ansible_firewalld_payload.zip/ansible_collections/ansible/posix/plugins/modules/firewalld.py\\\\\", line 498, in get_enabled_immediate\\\\n  File \\\\\"/usr/lib/python3/dist-packages/firewall/client.py\\\\\", line 50, in _impl\\\\n    return func(*args, **kwargs)\\\\n  File \\\\\"/usr/lib/python3/dist-packages/firewall/client.py\\\\\", line 3324, in getInterfaces\\\\n    return dbus_to_python(self.fw_zone.getInterfaces(zone))\\\\n  File \\\\\"/usr/lib/python3/dist-packages/dbus/proxies.py\\\\\", line 141, in __call__\\\\n    return self._connection.call_blocking(self._named_service,\\\\n  File \\\\\"/usr/lib/python3/dist-packages/dbus/connection.py\\\\\", line 652, in call_blocking\\\\n    reply_message \u003d self.send_message_with_reply_and_block(\\\\n\", \"invocation\": {\"module_args\": {\"immediate\": true, \"interface\": \"dummy2.42\", \"offline\": true, \"permanent\": true, \"state\": \"enabled\", \"zone\": \"test-zone1\", \"timeout\": 0, \"icmp_block\": null, \"icmp_block_inversion\": null, \"service\": null, \"protocol\": null, \"port\": null, \"port_forward\": null, \"rich_rule\": null, \"source\": null, \"masquerade\": null, \"target\": null}}}\\n\u0027, b\u0027\u0027)\n\u003c192.168.33.3\u003e Failed to connect to the host via ssh: \nThe full traceback is:\n  File \"/tmp/ansible_firewalld_payload_9cw53bsp/ansible_firewalld_payload.zip/ansible_collections/ansible/posix/plugins/module_utils/firewalld.py\", line 112, in action_handler\n    return action_func(*action_func_args)\n  File \"/tmp/ansible_firewalld_payload_9cw53bsp/ansible_firewalld_payload.zip/ansible_collections/ansible/posix/plugins/modules/firewalld.py\", line 498, in get_enabled_immediate\n  File \"/usr/lib/python3/dist-packages/firewall/client.py\", line 50, in _impl\n    return func(*args, **kwargs)\n  File \"/usr/lib/python3/dist-packages/firewall/client.py\", line 3324, in getInterfaces\n    return dbus_to_python(self.fw_zone.getInterfaces(zone))\n  File \"/usr/lib/python3/dist-packages/dbus/proxies.py\", line 141, in __call__\n    return self._connection.call_blocking(self._named_service,\n  File \"/usr/lib/python3/dist-packages/dbus/connection.py\", line 652, in call_blocking\n    reply_message \u003d self.send_message_with_reply_and_block(\nfailed: [controller0] (item\u003dtest_net_eth_vlan) \u003d\u003e {\n    \"ansible_loop_var\": \"item\",\n    \"changed\": false,\n    \"invocation\": {\n        \"module_args\": {\n            \"icmp_block\": null,\n            \"icmp_block_inversion\": null,\n            \"immediate\": true,\n            \"interface\": \"dummy2.42\",\n            \"masquerade\": null,\n            \"offline\": true,\n            \"permanent\": true,\n            \"port\": null,\n            \"port_forward\": null,\n            \"protocol\": null,\n            \"rich_rule\": null,\n            \"service\": null,\n            \"source\": null,\n            \"state\": \"enabled\",\n            \"target\": null,\n            \"timeout\": 0,\n            \"zone\": \"test-zone1\"\n        }\n    },\n    \"item\": \"test_net_eth_vlan\",\n    \"msg\": \"ERROR: Exception caught: org.fedoraproject.FirewallD1.Exception: INVALID_ZONE: test-zone1\"\n}","commit_id":"ea6f120c61bf34104f541227e06be5d10d045be6"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"cc9fa22ef9c392e11b3be0c88a88b82ea03b0a3a","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"d1541b95_51fb228c","in_reply_to":"5e90e88e_33d63332","updated":"2023-05-25 18:53:23.000000000","message":"Happens because ubuntu starts services on installation.","commit_id":"ea6f120c61bf34104f541227e06be5d10d045be6"}]}
