)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"6c30ea98dc5d960b4b797a842ce4cf220787fae3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"519d6af7_033a8f15","updated":"2023-05-17 16:21:59.000000000","message":"Since https://review.opendev.org/c/openstack/openstacksdk/+/849402, the os_ironic module moves nodes to available state by default. The SDK makes this configurable, but this is not exposed by the Ansible os_ironic module.","commit_id":"2246e38fe3648e92b93238723de912e7a82cc670"},{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"e4f3881253d8684f5070de28915942de80c8682a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"7a1ea10e_5427b328","updated":"2023-05-17 15:59:33.000000000","message":"Tenks doesn\u0027t like it:\n\nTASK [ironic-enrolment : Configure node in Ironic] *****************************\ntask path: /home/zuul/src/opendev.org/openstack/tenks/ansible/roles/ironic-enrolment/tasks/node.yml:43\nredirecting (type: modules) ansible.builtin.os_ironic to openstack.cloud.baremetal_node\n\u003clocalhost\u003e ESTABLISH LOCAL CONNECTION FOR USER: zuul\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027echo ~zuul \u0026\u0026 sleep 0\u0027\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027( umask 77 \u0026\u0026 mkdir -p \"` echo /home/zuul/.ansible/tmp `\"\u0026\u0026 mkdir \"` echo /home/zuul/.ansible/tmp/ansible-tmp-1684332054.6789558-152711-117344574459625 `\" \u0026\u0026 echo ansible-tmp-1684332054.6789558-152711-117344574459625\u003d\"` echo /home/zuul/.ansible/tmp/ansible-tmp-1684332054.6789558-152711-117344574459625 `\" ) \u0026\u0026 sleep 0\u0027\nredirecting (type: modules) ansible.builtin.os_ironic to openstack.cloud.baremetal_node\nUsing module file /home/zuul/kolla-ansible-tenks-venv/lib64/python3.9/site-packages/ansible_collections/openstack/cloud/plugins/modules/baremetal_node.py\n\u003clocalhost\u003e PUT /home/zuul/.ansible/tmp/ansible-local-146512o9bogy_e/tmpi9f8amrd TO /home/zuul/.ansible/tmp/ansible-tmp-1684332054.6789558-152711-117344574459625/AnsiballZ_baremetal_node.py\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027chmod u+x /home/zuul/.ansible/tmp/ansible-tmp-1684332054.6789558-152711-117344574459625/ /home/zuul/.ansible/tmp/ansible-tmp-1684332054.6789558-152711-117344574459625/AnsiballZ_baremetal_node.py \u0026\u0026 sleep 0\u0027\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027/home/zuul/tenks-venv/bin/python /home/zuul/.ansible/tmp/ansible-tmp-1684332054.6789558-152711-117344574459625/AnsiballZ_baremetal_node.py \u0026\u0026 sleep 0\u0027\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027rm -f -r /home/zuul/.ansible/tmp/ansible-tmp-1684332054.6789558-152711-117344574459625/ \u003e /dev/null 2\u003e\u00261 \u0026\u0026 sleep 0\u0027\n[WARNING]: Module did not set no_log for skip_update_of_masked_password\n[DEPRECATION WARNING]: Suboption power of the driver_info parameter of \n\u0027openstack.cloud.baremetal_node\u0027 is deprecated. This feature will be removed \nfrom openstack.cloud in version 2.0.0. Deprecation warnings can be disabled by \nsetting deprecation_warnings\u003dFalse in ansible.cfg.\n[DEPRECATION WARNING]: Suboption deploy of the driver_info parameter of \n\u0027openstack.cloud.baremetal_node\u0027 is deprecated. This feature will be removed \nfrom openstack.cloud in version 2.0.0. Deprecation warnings can be disabled by \nsetting deprecation_warnings\u003dFalse in ansible.cfg.\nchanged: [localhost] \u003d\u003e {\n    \"changed\": true,\n    \"invocation\": {\n        \"module_args\": {\n            \"api_timeout\": null,\n            \"auth\": null,\n            \"auth_type\": \"password\",\n            \"availability_zone\": null,\n            \"bios_interface\": null,\n            \"boot_interface\": null,\n            \"ca_cert\": null,\n            \"chassis_uuid\": null,\n            \"client_cert\": null,\n            \"client_key\": null,\n            \"console_interface\": null,\n            \"deploy_interface\": null,\n            \"driver\": \"ipmi\",\n            \"driver_info\": {\n                \"deploy\": {\n                    \"deploy_kernel\": \"c5293c01-fa28-43cb-9e1c-0883c21f9d20\",\n                    \"deploy_ramdisk\": \"6b6d299f-bfe5-412d-9767-2e679807a652\"\n                },\n                \"power\": {\n                    \"ipmi_address\": \"0.0.0.0\",\n                    \"ipmi_password\": \"password\",\n                    \"ipmi_port\": \"6230\",\n                    \"ipmi_username\": \"username\"\n                }\n            },\n            \"inspect_interface\": null,\n            \"interface\": \"public\",\n            \"ironic_url\": null,\n            \"management_interface\": null,\n            \"name\": \"tk0\",\n            \"network_interface\": null,\n            \"nics\": [\n                {}\n            ],\n            \"power_interface\": null,\n            \"properties\": {},\n            \"raid_interface\": null,\n            \"region_name\": null,\n            \"rescue_interface\": null,\n            \"resource_class\": null,\n            \"skip_update_of_masked_password\": null,\n            \"state\": \"present\",\n            \"storage_interface\": null,\n            \"timeout\": 180,\n            \"uuid\": null,\n            \"validate_certs\": null,\n            \"vendor_interface\": null,\n            \"wait\": true\n        }\n    },\n    \"provision_state\": \"cleaning\",\n    \"uuid\": \"cb318e69-e1c4-4b0a-b4f1-ceddccdc780e\"\n}\n\nTASK [ironic-enrolment : Put Ironic node into maintenance mode] ****************\ntask path: /home/zuul/src/opendev.org/openstack/tenks/ansible/roles/ironic-enrolment/tasks/node.yml:75\n\u003clocalhost\u003e ESTABLISH LOCAL CONNECTION FOR USER: zuul\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027echo ~zuul \u0026\u0026 sleep 0\u0027\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027( umask 77 \u0026\u0026 mkdir -p \"` echo /home/zuul/.ansible/tmp `\"\u0026\u0026 mkdir \"` echo /home/zuul/.ansible/tmp/ansible-tmp-1684332063.1877005-153027-224896623510150 `\" \u0026\u0026 echo ansible-tmp-1684332063.1877005-153027-224896623510150\u003d\"` echo /home/zuul/.ansible/tmp/ansible-tmp-1684332063.1877005-153027-224896623510150 `\" ) \u0026\u0026 sleep 0\u0027\nUsing module file /home/zuul/kolla-ansible-tenks-venv/lib64/python3.9/site-packages/ansible/modules/command.py\n\u003clocalhost\u003e PUT /home/zuul/.ansible/tmp/ansible-local-146512o9bogy_e/tmpymxjtfms TO /home/zuul/.ansible/tmp/ansible-tmp-1684332063.1877005-153027-224896623510150/AnsiballZ_command.py\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027chmod u+x /home/zuul/.ansible/tmp/ansible-tmp-1684332063.1877005-153027-224896623510150/ /home/zuul/.ansible/tmp/ansible-tmp-1684332063.1877005-153027-224896623510150/AnsiballZ_command.py \u0026\u0026 sleep 0\u0027\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027/usr/bin/python3.9 /home/zuul/.ansible/tmp/ansible-tmp-1684332063.1877005-153027-224896623510150/AnsiballZ_command.py \u0026\u0026 sleep 0\u0027\n\u003clocalhost\u003e EXEC /bin/sh -c \u0027rm -f -r /home/zuul/.ansible/tmp/ansible-tmp-1684332063.1877005-153027-224896623510150/ \u003e /dev/null 2\u003e\u00261 \u0026\u0026 sleep 0\u0027\nfatal: [localhost]: FAILED! \u003d\u003e {\n    \"changed\": true,\n    \"cmd\": [\n        \"/home/zuul/tenks-venv/bin/openstack\",\n        \"baremetal\",\n        \"node\",\n        \"maintenance\",\n        \"set\",\n        \"cb318e69-e1c4-4b0a-b4f1-ceddccdc780e\"\n    ],\n    \"delta\": \"0:00:25.232303\",\n    \"end\": \"2023-05-17 14:01:28.682691\",\n    \"invocation\": {\n        \"module_args\": {\n            \"_raw_params\": \"\u0027/home/zuul/tenks-venv/bin/openstack\u0027 baremetal node maintenance set\\n  \u0027cb318e69-e1c4-4b0a-b4f1-ceddccdc780e\u0027\",\n            \"_uses_shell\": false,\n            \"argv\": null,\n            \"chdir\": null,\n            \"creates\": null,\n            \"executable\": null,\n            \"removes\": null,\n            \"stdin\": null,\n            \"stdin_add_newline\": true,\n            \"strip_empty_ends\": true,\n            \"warn\": false\n        }\n    },\n    \"msg\": \"non-zero return code\",\n    \"rc\": 1,\n    \"start\": \"2023-05-17 14:01:03.450388\",\n    \"stderr\": \"Error contacting Ironic server: Node cb318e69-e1c4-4b0a-b4f1-ceddccdc780e is locked by host primary, please retry after the current operation is completed. (HTTP 409). Attempt 6 of 6\\nNode cb318e69-e1c4-4b0a-b4f1-ceddccdc780e is locked by host primary, please retry after the current operation is completed. (HTTP 409)\",\n    \"stderr_lines\": [\n        \"Error contacting Ironic server: Node cb318e69-e1c4-4b0a-b4f1-ceddccdc780e is locked by host primary, please retry after the current operation is completed. (HTTP 409). Attempt 6 of 6\",\n        \"Node cb318e69-e1c4-4b0a-b4f1-ceddccdc780e is locked by host primary, please retry after the current operation is completed. (HTTP 409)\"\n    ],\n    \"stdout\": \"\",\n    \"stdout_lines\": []\n}","commit_id":"2246e38fe3648e92b93238723de912e7a82cc670"}]}
