Description of problem: Its possible to perform a compute delete and get a previously working metalsmith list to display this output: (undercloud) [stack@undercloud-0 ~]$ metalsmith list [2022-06-01 14:23:48,695] No Port found for f5d99522-0357-4120-9624-519cb951e2b5: Client Error for url: https://192.168.24.2:13696/v2.0/ports/f5d99522-0357-4120-9624-519cb951e2b5, Port f5d99522-0357-4120-9624-519cb951e2b5 could not be found. This may be two problems, but this is sequence of what was performed. A deploy was performed with this metalsmith list: (undercloud) [stack@undercloud-0 ~]$ metalsmith list +--------------------------------------+--------------+--------------------------------------+--------------+--------+------------------------+ | UUID | Node Name | Allocation UUID | Hostname | State | IP Addresses | +--------------------------------------+--------------+--------------------------------------+--------------+--------+------------------------+ | 4b4dfac8-7cdd-453b-a11f-10cb59360a5a | ceph-0 | 2f00b408-c6ac-40d0-9fa8-736423158cb7 | ceph-0 | ACTIVE | ctlplane=192.168.24.41 | | 182fdfbc-91cc-4402-abdb-59a9fad12c43 | compute-0 | 25a01edb-4437-45ff-9dae-baa43fd3592b | compute-0 | ACTIVE | ctlplane=192.168.24.22 | | 210fe04e-9fb2-413f-87af-5a2c9ce8e6fe | compute-1 | ef83501a-856b-4f42-a502-fe1af8f28402 | compute-2 | ACTIVE | ctlplane=192.168.24.25 | | 81dc81a1-fdd8-4512-a295-fad9bfec27b8 | compute-2 | c33eac98-02b9-4f56-a66e-8a238cdb5185 | compute-1 | ACTIVE | ctlplane=192.168.24.26 | | 8e534033-0318-4111-b59b-a3c04f2d6500 | controller-0 | b9baea5c-fc18-4592-9825-dcde67e1dd9a | controller-0 | ACTIVE | ctlplane=192.168.24.18 | | 41fb6d3a-a51e-4867-a93b-316642158f90 | controller-1 | a58f1fbc-bc1e-41c4-8633-50682229c2f5 | controller-1 | ACTIVE | ctlplane=192.168.24.23 | | 121665cd-d369-4acc-a49a-0845d0b91066 | controller-2 | 768e9768-c5ea-4dee-8a2d-bd1603a2577c | controller-2 | ACTIVE | ctlplane=192.168.24.21 | +--------------------------------------+--------------+--------------------------------------+--------------+--------+------------------------+ This is instance used in baremetal_deployment.yaml: - hostname: compute-2 name: compute-1 provisioned: false A node delete is performed. It does not proceed saying it can't find hostname compute-2. However, it is shown in metalsmith list. openstack overcloud node delete --stack overcloud --baremetal-deployment /home/stack/virt/network/baremetal_deployment.yaml /usr/lib/python3.9/site-packages/ansible/_vendor/__init__.py:42: UserWarning: One or more Python packages bundled by this ansible-core distribution were already loaded (pyparsing). This may result in undefined behavior. warnings.warn('One or more Python packages bundled by this ansible-core distribution were already ' [DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to new standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. PLAY [Overcloud Node Unprovision] ********************************************** 2022-05-31 18:58:23.042797 | 52540097-b089-36f2-b1da-000000000008 | SKIPPED | fail | localhost 2022-05-31 18:58:23.044144 | 52540097-b089-36f2-b1da-000000000008 | TIMING | fail | localhost | 0:00:00.093258 | 0.05s 2022-05-31 18:58:23.097631 | 52540097-b089-36f2-b1da-000000000009 | SKIPPED | fail | localhost 2022-05-31 18:58:23.099187 | 52540097-b089-36f2-b1da-000000000009 | TIMING | fail | localhost | 0:00:00.148280 | 0.05s 2022-05-31 18:58:23.141731 | 52540097-b089-36f2-b1da-00000000000a | SKIPPED | fail | localhost 2022-05-31 18:58:23.143219 | 52540097-b089-36f2-b1da-00000000000a | TIMING | fail | localhost | 0:00:00.192327 | 0.04s 2022-05-31 18:58:23.154211 | 52540097-b089-36f2-b1da-00000000000c | TASK | Expand roles 2022-05-31 18:58:24.713713 | 52540097-b089-36f2-b1da-00000000000c | CHANGED | Expand roles | localhost 2022-05-31 18:58:24.715983 | 52540097-b089-36f2-b1da-00000000000c | TIMING | Expand roles | localhost | 0:00:01.765097 | 1.56s 2022-05-31 18:58:24.723599 | 52540097-b089-36f2-b1da-00000000000d | TASK | Find existing instances 2022-05-31 18:58:27.050053 | 52540097-b089-36f2-b1da-00000000000d | FATAL | Find existing instances | localhost | error={"changed": false, "msg": "Requested hostname compute-2 was not found, but the deployed node 81dc81a1-fdd8-4512-a295-fad9bfec27b8 has a matching name. Refusing to proceed to avoid confusing results. Please either rename the node or use a different hostname"} 2022-05-31 18:58:27.052226 | 52540097-b089-36f2-b1da-00000000000d | TIMING | Find existing instances | localhost | 0:00:04.101308 | 2.33s NO MORE HOSTS LEFT ************************************************************* PLAY RECAP ********************************************************************* localhost : ok=1 changed=1 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 2022-05-31 18:58:27.058837 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 18:58:27.059447 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Total Tasks: 5 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 18:58:27.059986 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elapsed Time: 0:00:04.109113 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 18:58:27.060739 | UUID | Info | Host | Task Name | Run Time 2022-05-31 18:58:27.061264 | 52540097-b089-36f2-b1da-00000000000d | SUMMARY | localhost | Find existing instances | 2.33s 2022-05-31 18:58:27.061772 | 52540097-b089-36f2-b1da-00000000000c | SUMMARY | localhost | Expand roles | 1.56s 2022-05-31 18:58:27.062278 | 52540097-b089-36f2-b1da-000000000009 | SUMMARY | localhost | fail | 0.05s 2022-05-31 18:58:27.062772 | 52540097-b089-36f2-b1da-000000000008 | SUMMARY | localhost | fail | 0.05s 2022-05-31 18:58:27.063318 | 52540097-b089-36f2-b1da-00000000000a | SUMMARY | localhost | fail | 0.04s 2022-05-31 18:58:27.063789 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 18:58:27.064365 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ State Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 18:58:27.064952 | ~~~~~~~~~~~~~~~~~~ Number of nodes which did not deploy successfully: 1 ~~~~~~~~~~~~~~~~~ 2022-05-31 18:58:27.065439 | The following node(s) had failures: localhost 2022-05-31 18:58:27.065932 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ansible execution failed. playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-node-unprovision.yaml, Run Status: failed, Return Code: 2 Exception occured while running the command Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/tripleoclient/command.py", line 34, in run super(Command, self).run(parsed_args) File "/usr/lib/python3.9/site-packages/osc_lib/command/command.py", line 39, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.9/site-packages/cliff/command.py", line 186, in run return_code = self.take_action(parsed_args) or 0 File "/usr/lib/python3.9/site-packages/tripleoclient/v1/overcloud_node.py", line 145, in take_action nodes_text, nodes = self._nodes_to_delete(parsed_args, roles) File "/usr/lib/python3.9/site-packages/tripleoclient/v1/overcloud_node.py", line 86, in _nodes_to_delete oooutils.run_ansible_playbook( File "/usr/lib/python3.9/site-packages/tripleoclient/utils.py", line 736, in run_ansible_playbook raise RuntimeError(err_msg) RuntimeError: Ansible execution failed. playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-node-unprovision.yaml, Run Status: failed, Return Code: 2 Changed to this instance in baremetal_deployment.yaml and tried delete again: - hostname: compute-1 name: compute-1 provisioned: false (undercloud) [stack@undercloud-0 ~]$ openstack overcloud node delete --stack overcloud --baremetal-deployment /home/stack/virt/network/baremetal_deployment.yaml /usr/lib/python3.9/site-packages/ansible/_vendor/__init__.py:42: UserWarning: One or more Python packages bundled by this ansible-core distribution were already loaded (pyparsing). This may result in undefined behavior. warnings.warn('One or more Python packages bundled by this ansible-core distribution were already ' [DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to new standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. PLAY [Overcloud Node Unprovision] ********************************************** 2022-05-31 19:04:02.849140 | 52540097-b089-8305-60d6-000000000008 | SKIPPED | fail | localhost 2022-05-31 19:04:02.850625 | 52540097-b089-8305-60d6-000000000008 | TIMING | fail | localhost | 0:00:00.104882 | 0.05s 2022-05-31 19:04:02.893661 | 52540097-b089-8305-60d6-000000000009 | SKIPPED | fail | localhost 2022-05-31 19:04:02.895056 | 52540097-b089-8305-60d6-000000000009 | TIMING | fail | localhost | 0:00:00.149314 | 0.04s 2022-05-31 19:04:02.938453 | 52540097-b089-8305-60d6-00000000000a | SKIPPED | fail | localhost 2022-05-31 19:04:02.939717 | 52540097-b089-8305-60d6-00000000000a | TIMING | fail | localhost | 0:00:00.193974 | 0.04s 2022-05-31 19:04:02.949293 | 52540097-b089-8305-60d6-00000000000c | TASK | Expand roles 2022-05-31 19:04:04.364868 | 52540097-b089-8305-60d6-00000000000c | CHANGED | Expand roles | localhost 2022-05-31 19:04:04.366721 | 52540097-b089-8305-60d6-00000000000c | TIMING | Expand roles | localhost | 0:00:01.620977 | 1.42s 2022-05-31 19:04:04.374771 | 52540097-b089-8305-60d6-00000000000d | TASK | Find existing instances 2022-05-31 19:04:06.688002 | 52540097-b089-8305-60d6-00000000000d | OK | Find existing instances | localhost 2022-05-31 19:04:06.689534 | 52540097-b089-8305-60d6-00000000000d | TIMING | Find existing instances | localhost | 0:00:03.943789 | 2.31s 2022-05-31 19:04:06.696269 | 52540097-b089-8305-60d6-00000000000e | TASK | Write unprovision confirmation 2022-05-31 19:04:07.767522 | 52540097-b089-8305-60d6-00000000000e | CHANGED | Write unprovision confirmation | localhost 2022-05-31 19:04:07.768927 | 52540097-b089-8305-60d6-00000000000e | TIMING | Write unprovision confirmation | localhost | 0:00:05.023183 | 1.07s 2022-05-31 19:04:07.774966 | 52540097-b089-8305-60d6-00000000000f | TASK | Unprovision instances 2022-05-31 19:04:07.812107 | 52540097-b089-8305-60d6-00000000000f | SKIPPED | Unprovision instances | localhost 2022-05-31 19:04:07.813593 | 52540097-b089-8305-60d6-00000000000f | TIMING | Unprovision instances | localhost | 0:00:05.067849 | 0.04s 2022-05-31 19:04:07.819906 | 52540097-b089-8305-60d6-000000000010 | TASK | Unprovision instance network ports 2022-05-31 19:04:07.856432 | 52540097-b089-8305-60d6-000000000010 | SKIPPED | Unprovision instance network ports | localhost 2022-05-31 19:04:07.857816 | 52540097-b089-8305-60d6-000000000010 | TIMING | Unprovision instance network ports | localhost | 0:00:05.112074 | 0.04s PLAY RECAP ********************************************************************* localhost : ok=3 changed=2 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 2022-05-31 19:04:07.871765 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 19:04:07.872234 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Total Tasks: 8 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 19:04:07.872757 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elapsed Time: 0:00:05.127024 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 19:04:07.873203 | UUID | Info | Host | Task Name | Run Time 2022-05-31 19:04:07.873939 | 52540097-b089-8305-60d6-00000000000d | SUMMARY | localhost | Find existing instances | 2.31s 2022-05-31 19:04:07.874462 | 52540097-b089-8305-60d6-00000000000c | SUMMARY | localhost | Expand roles | 1.42s 2022-05-31 19:04:07.874925 | 52540097-b089-8305-60d6-00000000000e | SUMMARY | localhost | Write unprovision confirmation | 1.07s 2022-05-31 19:04:07.875408 | 52540097-b089-8305-60d6-000000000008 | SUMMARY | localhost | fail | 0.05s 2022-05-31 19:04:07.875914 | 52540097-b089-8305-60d6-00000000000a | SUMMARY | localhost | fail | 0.04s 2022-05-31 19:04:07.876399 | 52540097-b089-8305-60d6-000000000009 | SUMMARY | localhost | fail | 0.04s 2022-05-31 19:04:07.876944 | 52540097-b089-8305-60d6-00000000000f | SUMMARY | localhost | Unprovision instances | 0.04s 2022-05-31 19:04:07.877439 | 52540097-b089-8305-60d6-000000000010 | SUMMARY | localhost | Unprovision instance network ports | 0.04s 2022-05-31 19:04:07.877909 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +-----------+-----------+--------------------------------------+ | hostname | name | id | +-----------+-----------+--------------------------------------+ | compute-1 | compute-2 | 81dc81a1-fdd8-4512-a295-fad9bfec27b8 | +-----------+-----------+--------------------------------------+ Are you sure you want to delete these overcloud nodes [y/N]? y [DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to new standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. PLAY [Check if required variables are defined] ********************************* skipping: no hosts matched PLAY [Clear cached facts] ****************************************************** PLAY [Gather facts] ************************************************************ 2022-05-31 19:04:19.981813 | 52540097-b089-45bd-436e-00000000003e | TASK | Gathering Facts 2022-05-31 19:04:21.689138 | 52540097-b089-45bd-436e-00000000003e | OK | Gathering Facts | compute-1 2022-05-31 19:04:21.692269 | 52540097-b089-45bd-436e-00000000003e | TIMING | Gathering Facts | compute-1 | 0:00:01.830849 | 1.71s 2022-05-31 19:04:21.713423 | 52540097-b089-45bd-436e-000000000017 | TASK | Set legacy facts 2022-05-31 19:04:21.741753 | 52540097-b089-45bd-436e-000000000017 | OK | Set legacy facts | compute-1 2022-05-31 19:04:21.743070 | 52540097-b089-45bd-436e-000000000017 | TIMING | Set legacy facts | compute-1 | 0:00:01.881652 | 0.03s PLAY [Load global variables] *************************************************** 2022-05-31 19:04:21.824703 | 52540097-b089-45bd-436e-00000000001a | OK | ansible.builtin.include_vars | compute-1 2022-05-31 19:04:21.826049 | 52540097-b089-45bd-436e-00000000001a | TIMING | ansible.builtin.include_vars | compute-1 | 0:00:01.964642 | 0.03s PLAY [Include extra variables from files] ************************************** 2022-05-31 19:04:21.871531 | 52540097-b089-45bd-436e-00000000001d | TASK | Include Service VIP vars 2022-05-31 19:04:21.894113 | 52540097-b089-45bd-436e-00000000001d | OK | Include Service VIP vars | compute-1 2022-05-31 19:04:21.895999 | 52540097-b089-45bd-436e-00000000001d | TIMING | Include Service VIP vars | compute-1 | 0:00:02.034585 | 0.02s 2022-05-31 19:04:21.905865 | 52540097-b089-45bd-436e-00000000001e | TASK | Include OVN bridge MAC address variables 2022-05-31 19:04:21.933111 | 52540097-b089-45bd-436e-00000000001e | OK | Include OVN bridge MAC address variables | compute-1 2022-05-31 19:04:21.934799 | 52540097-b089-45bd-436e-00000000001e | TIMING | Include OVN bridge MAC address variables | compute-1 | 0:00:02.073391 | 0.03s PLAY [Render all_nodes data as group_vars for overcloud] *********************** 2022-05-31 19:04:22.007084 | 52540097-b089-45bd-436e-000000000021 | TASK | Render all_nodes data as group_vars for overcloud 2022-05-31 19:04:23.387597 | 52540097-b089-45bd-436e-000000000021 | OK | Render all_nodes data as group_vars for overcloud | compute-1 -> localhost [WARNING]: ('compute-1 -> localhost', '52540097-b089-45bd-436e-000000000021') missing from stats PLAY [Set all_nodes data as group_vars for overcloud] ************************** 2022-05-31 19:04:23.429170 | 52540097-b089-45bd-436e-000000000024 | TASK | Set all_nodes data as group_vars for overcloud 2022-05-31 19:04:23.459352 | 52540097-b089-45bd-436e-000000000024 | OK | Set all_nodes data as group_vars for overcloud | compute-1 2022-05-31 19:04:23.460862 | 52540097-b089-45bd-436e-000000000024 | TIMING | Set all_nodes data as group_vars for overcloud | compute-1 | 0:00:03.599453 | 0.03s PLAY [Scaling] ***************************************************************** 2022-05-31 19:04:23.525091 | 52540097-b089-45bd-436e-000000000027 | TIMING | include_tasks | compute-1 | 0:00:03.663663 | 0.03s 2022-05-31 19:04:23.527465 | 52540097-b089-45bd-436e-000000000027 | TIMING | include_tasks | compute-1 | 0:00:03.666066 | 0.03s 2022-05-31 19:04:23.544635 | 69ee5365-cd26-4734-8fcd-aca279ff3a66 | INCLUDED | /home/stack/overcloud-deploy/overcloud/config-download/overcloud/scale_steps_tasks.yaml | compute-1 2022-05-31 19:04:23.562704 | 52540097-b089-45bd-436e-0000000000a1 | TASK | Get neutron agents ID 2022-05-31 19:04:28.394874 | 52540097-b089-45bd-436e-0000000000a1 | OK | Get neutron agents ID | compute-1 -> localhost [WARNING]: ('compute-1 -> localhost', '52540097-b089-45bd-436e-0000000000a1') missing from stats 2022-05-31 19:04:28.413687 | 52540097-b089-45bd-436e-0000000000a2 | TASK | Filter only current host 2022-05-31 19:04:28.454700 | 52540097-b089-45bd-436e-0000000000a2 | OK | Filter only current host | compute-1 -> localhost [WARNING]: ('compute-1 -> localhost', '52540097-b089-45bd-436e-0000000000a2') missing from stats 2022-05-31 19:04:28.465415 | 52540097-b089-45bd-436e-0000000000a4 | TASK | Stop OVN containers 2022-05-31 19:04:30.345794 | 52540097-b089-45bd-436e-0000000000a4 | CHANGED | Stop OVN containers | compute-1 | item=tripleo_ovn_controller 2022-05-31 19:04:30.347960 | 52540097-b089-45bd-436e-0000000000a4 | TIMING | Stop OVN containers | compute-1 | 0:00:10.486546 | 1.88s 2022-05-31 19:04:32.276172 | 52540097-b089-45bd-436e-0000000000a4 | CHANGED | Stop OVN containers | compute-1 | item=tripleo_ovn_metadata_agent 2022-05-31 19:04:32.277686 | 52540097-b089-45bd-436e-0000000000a4 | TIMING | Stop OVN containers | compute-1 | 0:00:12.416284 | 3.81s 2022-05-31 19:04:32.283723 | 52540097-b089-45bd-436e-0000000000a4 | TIMING | Stop OVN containers | compute-1 | 0:00:12.422320 | 3.82s 2022-05-31 19:04:32.311683 | 52540097-b089-45bd-436e-0000000000a5 | TASK | Delete neutron agents 2022-05-31 19:04:37.277210 | 52540097-b089-45bd-436e-0000000000a5 | CHANGED | Delete neutron agents | compute-1 -> localhost | item=compute-1.redhat.local/ovn-controller [WARNING]: ('compute-1 -> localhost', '52540097-b089-45bd-436e-0000000000a5') missing from stats 2022-05-31 19:04:42.137061 | 52540097-b089-45bd-436e-0000000000a5 | CHANGED | Delete neutron agents | compute-1 -> localhost | item=compute-1.redhat.local/neutron-ovn-metadata-agent 2022-05-31 19:04:42.139672 | 52540097-b089-45bd-436e-0000000000a5 | TIMING | Delete neutron agents | compute-1 | 0:00:22.278257 | 9.83s 2022-05-31 19:04:42.155929 | 52540097-b089-45bd-436e-0000000000a8 | TASK | Get nova-compute service ID 2022-05-31 19:04:46.403344 | 52540097-b089-45bd-436e-0000000000a8 | OK | Get nova-compute service ID | compute-1 -> localhost [WARNING]: ('compute-1 -> localhost', '52540097-b089-45bd-436e-0000000000a8') missing from stats 2022-05-31 19:04:46.418051 | 52540097-b089-45bd-436e-0000000000a9 | TASK | is additional Cell? 2022-05-31 19:04:46.455373 | 52540097-b089-45bd-436e-0000000000a9 | OK | is additional Cell? | compute-1 2022-05-31 19:04:46.457235 | 52540097-b089-45bd-436e-0000000000a9 | TIMING | is additional Cell? | compute-1 | 0:00:26.595822 | 0.04s 2022-05-31 19:04:46.490470 | 52540097-b089-45bd-436e-0000000000aa | TASK | Set fact for nova_compute services 2022-05-31 19:04:46.534811 | 52540097-b089-45bd-436e-0000000000aa | OK | Set fact for nova_compute services | compute-1 -> localhost [WARNING]: ('compute-1 -> localhost', '52540097-b089-45bd-436e-0000000000aa') missing from stats 2022-05-31 19:04:46.547722 | 52540097-b089-45bd-436e-0000000000ab | TASK | Check search output 2022-05-31 19:04:46.574807 | 52540097-b089-45bd-436e-0000000000ab | SKIPPED | Check search output | compute-1 2022-05-31 19:04:46.576502 | 52540097-b089-45bd-436e-0000000000ab | TIMING | Check search output | compute-1 | 0:00:26.715080 | 0.03s 2022-05-31 19:04:46.596041 | 52540097-b089-45bd-436e-0000000000ad | TASK | Disable nova-compute service 2022-05-31 19:04:50.792659 | 52540097-b089-45bd-436e-0000000000ad | CHANGED | Disable nova-compute service | compute-1 -> localhost [WARNING]: ('compute-1 -> localhost', '52540097-b089-45bd-436e-0000000000ad') missing from stats 2022-05-31 19:04:50.805039 | 52540097-b089-45bd-436e-0000000000ae | TASK | Stop nova-compute container 2022-05-31 19:04:54.333513 | 52540097-b089-45bd-436e-0000000000ae | CHANGED | Stop nova-compute container | compute-1 2022-05-31 19:04:54.336382 | 52540097-b089-45bd-436e-0000000000ae | TIMING | Stop nova-compute container | compute-1 | 0:00:34.474960 | 3.53s 2022-05-31 19:04:54.365102 | 52540097-b089-45bd-436e-0000000000af | TASK | Delete nova-compute service 2022-05-31 19:05:00.122475 | 52540097-b089-45bd-436e-0000000000af | CHANGED | Delete nova-compute service | compute-1 -> localhost [WARNING]: ('compute-1 -> localhost', '52540097-b089-45bd-436e-0000000000af') missing from stats 2022-05-31 19:05:00.159391 | 52540097-b089-45bd-436e-000000000029 | SKIPPED | fail | compute-1 2022-05-31 19:05:00.160856 | 52540097-b089-45bd-436e-000000000029 | TIMING | fail | compute-1 | 0:00:40.299441 | 0.03s PLAY RECAP ********************************************************************* compute-1 : ok=18 changed=5 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 2022-05-31 19:05:00.180222 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 19:05:00.180803 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Total Tasks: 20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 19:05:00.181350 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elapsed Time: 0:00:40.319952 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 19:05:00.181830 | UUID | Info | Host | Task Name | Run Time 2022-05-31 19:05:00.182347 | 52540097-b089-45bd-436e-0000000000a5 | SUMMARY | compute-1 | Delete neutron agents | 9.83s 2022-05-31 19:05:00.182833 | 52540097-b089-45bd-436e-0000000000a4 | SUMMARY | compute-1 | Stop OVN containers | 3.82s 2022-05-31 19:05:00.183443 | 52540097-b089-45bd-436e-0000000000ae | SUMMARY | compute-1 | Stop nova-compute container | 3.53s 2022-05-31 19:05:00.183912 | 52540097-b089-45bd-436e-00000000003e | SUMMARY | compute-1 | Gathering Facts | 1.71s 2022-05-31 19:05:00.184407 | 52540097-b089-45bd-436e-0000000000a9 | SUMMARY | compute-1 | is additional Cell? | 0.04s 2022-05-31 19:05:00.184929 | 52540097-b089-45bd-436e-00000000001a | SUMMARY | compute-1 | ansible.builtin.include_vars | 0.03s 2022-05-31 19:05:00.185506 | 52540097-b089-45bd-436e-000000000024 | SUMMARY | compute-1 | Set all_nodes data as group_vars for overcloud | 0.03s 2022-05-31 19:05:00.185993 | 52540097-b089-45bd-436e-000000000027 | SUMMARY | compute-1 | include_tasks | 0.03s 2022-05-31 19:05:00.186608 | 52540097-b089-45bd-436e-000000000017 | SUMMARY | compute-1 | Set legacy facts | 0.03s 2022-05-31 19:05:00.187122 | 52540097-b089-45bd-436e-00000000001e | SUMMARY | compute-1 | Include OVN bridge MAC address variables | 0.03s 2022-05-31 19:05:00.187753 | 52540097-b089-45bd-436e-0000000000ab | SUMMARY | compute-1 | Check search output | 0.03s 2022-05-31 19:05:00.188294 | 52540097-b089-45bd-436e-000000000029 | SUMMARY | compute-1 | fail | 0.03s 2022-05-31 19:05:00.188796 | 52540097-b089-45bd-436e-00000000001d | SUMMARY | compute-1 | Include Service VIP vars | 0.02s 2022-05-31 19:05:00.189368 | 52540097-b089-45bd-436e-000000000021 | SUMMARY | compute-1 | Render all_nodes data as group_vars for overcloud | 0.00s 2022-05-31 19:05:00.189844 | 52540097-b089-45bd-436e-0000000000a1 | SUMMARY | compute-1 | Get neutron agents ID | 0.00s 2022-05-31 19:05:00.190586 | 52540097-b089-45bd-436e-0000000000a2 | SUMMARY | compute-1 | Filter only current host | 0.00s 2022-05-31 19:05:00.191065 | 52540097-b089-45bd-436e-0000000000a8 | SUMMARY | compute-1 | Get nova-compute service ID | 0.00s 2022-05-31 19:05:00.191740 | 52540097-b089-45bd-436e-0000000000aa | SUMMARY | compute-1 | Set fact for nova_compute services | 0.00s 2022-05-31 19:05:00.192208 | 52540097-b089-45bd-436e-0000000000ad | SUMMARY | compute-1 | Disable nova-compute service | 0.00s 2022-05-31 19:05:00.192802 | 52540097-b089-45bd-436e-0000000000af | SUMMARY | compute-1 | Delete nova-compute service | 0.00s 2022-05-31 19:05:00.193441 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to new standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. PLAY [Overcloud Node Unprovision] ********************************************** 2022-05-31 19:05:01.334713 | 52540097-b089-09ee-b476-000000000008 | SKIPPED | fail | localhost 2022-05-31 19:05:01.336452 | 52540097-b089-09ee-b476-000000000008 | TIMING | fail | localhost | 0:00:00.087729 | 0.04s 2022-05-31 19:05:01.379850 | 52540097-b089-09ee-b476-000000000009 | SKIPPED | fail | localhost 2022-05-31 19:05:01.381250 | 52540097-b089-09ee-b476-000000000009 | TIMING | fail | localhost | 0:00:00.132532 | 0.04s 2022-05-31 19:05:01.437364 | 52540097-b089-09ee-b476-00000000000a | SKIPPED | fail | localhost 2022-05-31 19:05:01.439096 | 52540097-b089-09ee-b476-00000000000a | TIMING | fail | localhost | 0:00:00.190359 | 0.05s 2022-05-31 19:05:01.451895 | 52540097-b089-09ee-b476-00000000000c | TASK | Expand roles 2022-05-31 19:05:02.878033 | 52540097-b089-09ee-b476-00000000000c | CHANGED | Expand roles | localhost 2022-05-31 19:05:02.880053 | 52540097-b089-09ee-b476-00000000000c | TIMING | Expand roles | localhost | 0:00:01.631334 | 1.43s 2022-05-31 19:05:02.887275 | 52540097-b089-09ee-b476-00000000000d | TASK | Find existing instances 2022-05-31 19:05:05.220688 | 52540097-b089-09ee-b476-00000000000d | OK | Find existing instances | localhost 2022-05-31 19:05:05.222763 | 52540097-b089-09ee-b476-00000000000d | TIMING | Find existing instances | localhost | 0:00:03.974037 | 2.33s 2022-05-31 19:05:05.232359 | 52540097-b089-09ee-b476-00000000000e | TASK | Write unprovision confirmation 2022-05-31 19:05:05.268275 | 52540097-b089-09ee-b476-00000000000e | SKIPPED | Write unprovision confirmation | localhost 2022-05-31 19:05:05.269704 | 52540097-b089-09ee-b476-00000000000e | TIMING | Write unprovision confirmation | localhost | 0:00:04.020988 | 0.04s 2022-05-31 19:05:05.275415 | 52540097-b089-09ee-b476-00000000000f | TASK | Unprovision instances 2022-05-31 19:05:12.032954 | 52540097-b089-09ee-b476-00000000000f | CHANGED | Unprovision instances | localhost 2022-05-31 19:05:12.034989 | 52540097-b089-09ee-b476-00000000000f | TIMING | Unprovision instances | localhost | 0:00:10.786263 | 6.76s 2022-05-31 19:05:12.043613 | 52540097-b089-09ee-b476-000000000010 | TASK | Unprovision instance network ports 2022-05-31 19:05:18.208406 | 52540097-b089-09ee-b476-000000000010 | CHANGED | Unprovision instance network ports | localhost 2022-05-31 19:05:18.209512 | 52540097-b089-09ee-b476-000000000010 | TIMING | Unprovision instance network ports | localhost | 0:00:16.960799 | 6.16s PLAY RECAP ********************************************************************* localhost : ok=4 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 2022-05-31 19:05:18.220523 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 19:05:18.221073 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Total Tasks: 8 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 19:05:18.221580 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elapsed Time: 0:00:16.972861 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2022-05-31 19:05:18.222125 | UUID | Info | Host | Task Name | Run Time 2022-05-31 19:05:18.222727 | 52540097-b089-09ee-b476-00000000000f | SUMMARY | localhost | Unprovision instances | 6.76s 2022-05-31 19:05:18.223248 | 52540097-b089-09ee-b476-000000000010 | SUMMARY | localhost | Unprovision instance network ports | 6.16s 2022-05-31 19:05:18.223863 | 52540097-b089-09ee-b476-00000000000d | SUMMARY | localhost | Find existing instances | 2.33s 2022-05-31 19:05:18.224471 | 52540097-b089-09ee-b476-00000000000c | SUMMARY | localhost | Expand roles | 1.43s 2022-05-31 19:05:18.225010 | 52540097-b089-09ee-b476-00000000000a | SUMMARY | localhost | fail | 0.05s 2022-05-31 19:05:18.225608 | 52540097-b089-09ee-b476-000000000008 | SUMMARY | localhost | fail | 0.04s 2022-05-31 19:05:18.226048 | 52540097-b089-09ee-b476-000000000009 | SUMMARY | localhost | fail | 0.04s 2022-05-31 19:05:18.226609 | 52540097-b089-09ee-b476-00000000000e | SUMMARY | localhost | Write unprovision confirmation | 0.04s 2022-05-31 19:05:18.227132 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Now metalsmith list shows No Port Found (undercloud) [stack@undercloud-0 ~]$ metalsmith list [2022-05-31 19:09:22,724] No Port found for f5d99522-0357-4120-9624-519cb951e2b5: Client Error for url: https://192.168.24.2:13696/v2.0/ports/f5d99522-0357-4120-9624-519cb951e2b5, Port f5d99522-0357-4120-9624-519cb951e2b5 could not be found. Version-Release number of selected component (if applicable): RHOS-17.0-RHEL-9-20220526.n.0 How reproducible: Every time. Steps to Reproduce: 1.Shown above 2. 3. Actual results: metalsmith list output displays No Port found as shown above. Expected results: metalsmith list shows proper output. Additional info:
This looks like another environment where compute-2 has hostname compute-1, and compute-1 has hostname compute-2. Bug #2079935 is tracking a fix for choosing the correct node in this case. Can you reproduce this issue with tripleo-ansible-3.3.1-0.20220519231828.5e0485e.el8ost? It would be useful to know how this hostname swap happened, in bug #2079935 it started as a 16.2 environment and the nodes were selected from the profile pool, so the names didn't match up. If this started as a 17.0 environment then it would be good to look into a fix to avoid this state entirely.
I will attempt to recreate when a puddle with tripleo-ansible-3.3.1-0.20220519231828.5e0485e.el8ost is available. It looks like it is not available yet. This was a standard OSP17 deploy and was not the result of an upgrade. Have seen many OSP17 deploys where compute-2 had hostname compute-1.
Can still be recreated with updated tripleo-ansible. Using RHOS-17.0-RHEL-9-20220610.n.0: yum list installed | grep tripleo-ansible tripleo-ansible.noarch 3.3.1-0.20220607162207.ae139c3.el9ost @rhelosp-17.0 After running scale down automation: (undercloud) [stack@undercloud-0 ~]$ metalsmith list [2022-06-14 17:00:20,686] No Port found for 327207da-5c0a-49c2-96c4-0a8e5c26fb52: Client Error for url: https://192.168.24.2:13696/v2.0/ports/327207da-5c0a-49c2-96c4-0a8e5c26fb52, Port 327207da-5c0a-49c2-96c4-0a8e5c26fb52 could not be found.
Could you provide the output of this: metalsmith --debug --verbose list
Also it may be useful to have access to the environment, looking at the logs during the scale-down may reveal something.
metalsmith: error: argument -v/--verbose: not allowed with argument --debug (undercloud) [stack@undercloud-0 ~]$ metalsmith --debug list 2022-06-15 16:50:45,060 DEBUG stevedore.extension: found extension EntryPoint(name='admin_token', value='keystoneauth1.loading._plugins.admin_token:AdminToken', group='keystoneauth1.plugin') 2022-06-15 16:50:45,061 DEBUG stevedore.extension: found extension EntryPoint(name='http_basic', value='keystoneauth1.loading._plugins.http_basic:HTTPBasicAuth', group='keystoneauth1.plugin') 2022-06-15 16:50:45,061 DEBUG stevedore.extension: found extension EntryPoint(name='none', value='keystoneauth1.loading._plugins.noauth:NoAuth', group='keystoneauth1.plugin') 2022-06-15 16:50:45,061 DEBUG stevedore.extension: found extension EntryPoint(name='password', value='keystoneauth1.loading._plugins.identity.generic:Password', group='keystoneauth1.plugin') 2022-06-15 16:50:45,061 DEBUG stevedore.extension: found extension EntryPoint(name='token', value='keystoneauth1.loading._plugins.identity.generic:Token', group='keystoneauth1.plugin') 2022-06-15 16:50:45,061 DEBUG stevedore.extension: found extension EntryPoint(name='v2password', value='keystoneauth1.loading._plugins.identity.v2:Password', group='keystoneauth1.plugin') 2022-06-15 16:50:45,061 DEBUG stevedore.extension: found extension EntryPoint(name='v2token', value='keystoneauth1.loading._plugins.identity.v2:Token', group='keystoneauth1.plugin') 2022-06-15 16:50:45,061 DEBUG stevedore.extension: found extension EntryPoint(name='v3adfspassword', value='keystoneauth1.extras._saml2._loading:ADFSPassword', group='keystoneauth1.plugin') 2022-06-15 16:50:45,061 DEBUG stevedore.extension: found extension EntryPoint(name='v3applicationcredential', value='keystoneauth1.loading._plugins.identity.v3:ApplicationCredential', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3fedkerb', value='keystoneauth1.extras.kerberos._loading:MappedKerberos', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3kerberos', value='keystoneauth1.extras.kerberos._loading:Kerberos', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3multifactor', value='keystoneauth1.loading._plugins.identity.v3:MultiFactor', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3oauth1', value='keystoneauth1.extras.oauth1._loading:V3OAuth1', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3oidcaccesstoken', value='keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3oidcauthcode', value='keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3oidcclientcredentials', value='keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3oidcpassword', value='keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3password', value='keystoneauth1.loading._plugins.identity.v3:Password', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3samlpassword', value='keystoneauth1.extras._saml2._loading:Saml2Password', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3token', value='keystoneauth1.loading._plugins.identity.v3:Token', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3tokenlessauth', value='keystoneauth1.loading._plugins.identity.v3:TokenlessAuth', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v3totp', value='keystoneauth1.loading._plugins.identity.v3:TOTP', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='v1password', value='swiftclient.authv1:PasswordLoader', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='noauth', value='cinderclient.contrib.noauth:CinderNoAuthLoader', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='aodh-noauth', value='aodhclient.noauth:AodhNoAuthLoader', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='gnocchi-basic', value='gnocchiclient.auth:GnocchiBasicLoader', group='keystoneauth1.plugin') 2022-06-15 16:50:45,062 DEBUG stevedore.extension: found extension EntryPoint(name='gnocchi-noauth', value='gnocchiclient.auth:GnocchiNoAuthLoader', group='keystoneauth1.plugin') 2022-06-15 16:50:45,068 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13000 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" 2022-06-15 16:50:45,198 DEBUG keystoneauth.session: RESP: [300] content-length: 269 content-type: application/json date: Wed, 15 Jun 2022 16:50:45 GMT location: https://192.168.24.2:13000/v3/ server: Apache vary: X-Auth-Token x-openstack-request-id: req-8e7f0454-f4ea-4666-a556-e95e0bd63074 2022-06-15 16:50:45,198 DEBUG keystoneauth.session: RESP BODY: {"versions": {"values": [{"id": "v3.14", "status": "stable", "updated": "2020-04-07T00:00:00Z", "links": [{"rel": "self", "href": "https://192.168.24.2:13000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}]}} 2022-06-15 16:50:45,198 DEBUG keystoneauth.session: GET call to https://192.168.24.2:13000/ used request id req-8e7f0454-f4ea-4666-a556-e95e0bd63074 2022-06-15 16:50:45,199 DEBUG keystoneauth.identity.v3.base: Making authentication request to https://192.168.24.2:13000/v3/auth/tokens 2022-06-15 16:50:45,598 DEBUG keystoneauth.identity.v3.base: {"token": {"methods": ["password"], "user": {"domain": {"id": "default", "name": "Default"}, "id": "791ae6de856b413a97e943fb86942ac5", "name": "admin", "password_expires_at": null}, "audit_ids": ["5yZsqlhUQTyvEwEmHof5Sg"], "expires_at": "2022-06-15T20:50:45.000000Z", "issued_at": "2022-06-15T16:50:45.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "216558ff141544f18f91340c9b144c8b", "name": "admin"}, "is_domain": false, "roles": [{"id": "3a9fd0a06c8a475c9494b86b95996b86", "name": "admin"}, {"id": "03ed47ac8abc465293524982e0beed91", "name": "_member_"}, {"id": "71074bb9513549878e9734d5b7a085ca", "name": "reader"}, {"id": "33aea27e2aa64acaa7f91fa91bc100d2", "name": "member"}], "catalog": [{"endpoints": [{"id": "656563e07c434d7bbc1a37b49973ee6c", "interface": "admin", "region_id": "regionOne", "url": "http://192.168.24.3:35357", "region": "regionOne"}, {"id": "92ace60c19b84fafb890bd82ee2aa07b", "interface": "internal", "region_id": "regionOne", "url": "http://192.168.24.3:5000", "region": "regionOne"}, {"id": "ebb5a909ed484c91ada485aa31876ad3", "interface": "public", "region_id": "regionOne", "url": "https://192.168.24.2:13000", "region": "regionOne"}], "id": "53dbd0acbbd040739ace729edfb2ae57", "type": "identity", "name": "keystone"}, {"endpoints": [{"id": "a6a170a88f474a1e93f7f19e816fd3b9", "interface": "public", "region_id": "regionOne", "url": "https://192.168.24.2:13050", "region": "regionOne"}, {"id": "b0dc7fe59a2d4ed7a2a3a2a809abb0fd", "interface": "admin", "region_id": "regionOne", "url": "http://192.168.24.3:5050", "region": "regionOne"}, {"id": "dfae05ced239403185402151b8b74752", "interface": "internal", "region_id": "regionOne", "url": "http://192.168.24.3:5050", "region": "regionOne"}], "id": "760ea145f6ed42a0b5fcce427da973a2", "type": "baremetal-introspection", "name": "ironic-inspector"}, {"endpoints": [{"id": "0a378cc6f4d84586b19bd86c153e2a8c", "interface": "admin", "region_id": "regionOne", "url": "http://192.168.24.3:9696", "region": "regionOne"}, {"id": "39cc485595ef47efac7421257ae265bc", "interface": "public", "region_id": "regionOne", "url": "https://192.168.24.2:13696", "region": "regionOne"}, {"id": "5636022482954794b11d56d907a33fbc", "interface": "internal", "region_id": "regionOne", "url": "http://192.168.24.3:9696", "region": "regionOne"}], "id": "a23d54a2342c4f0d9abd972591dbc716", "type": "network", "name": "neutron"}, {"endpoints": [{"id": "213378c181ae42f4807861641bec9735", "interface": "internal", "region_id": "regionOne", "url": "http://192.168.24.3:6385", "region": "regionOne"}, {"id": "3f0f323099d349e6ae12aff941c73238", "interface": "admin", "region_id": "regionOne", "url": "http://192.168.24.3:6385", "region": "regionOne"}, {"id": "a95f72d43a96481aa6dfe8f5fe6235b3", "interface": "public", "region_id": "regionOne", "url": "https://192.168.24.2:13385", "region": "regionOne"}], "id": "e61cb794489642fc9ba3b59c73dfc5d5", "type": "baremetal", "name": "ironic"}]}} 2022-06-15 16:50:45,599 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13385 -H "Accept: application/json" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" 2022-06-15 16:50:45,706 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:45 GMT openstack-request-id: req-9c4563a9-f21c-4c50-af7c-e7709abf7e30 server: Apache transfer-encoding: chunked vary: Accept-Encoding 2022-06-15 16:50:45,706 DEBUG keystoneauth.session: RESP BODY: {"name": "OpenStack Ironic API", "description": "Ironic is an OpenStack project which aims to provision baremetal machines.", "default_version": {"id": "v1", "links": [{"href": "https://192.168.24.2:13385/v1/", "rel": "self"}], "status": "CURRENT", "min_version": "1.1", "version": "1.72"}, "versions": [{"id": "v1", "links": [{"href": "https://192.168.24.2:13385/v1/", "rel": "self"}], "status": "CURRENT", "min_version": "1.1", "version": "1.72"}]} 2022-06-15 16:50:45,711 DEBUG keystoneauth.session: REQ: curl -g -i -X GET "https://192.168.24.2:13385/v1/nodes/detail?associated=True" -H "Accept: application/json" -H "OpenStack-API-Version: baremetal 1.61" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" -H "X-OpenStack-Ironic-API-Version: 1.61" 2022-06-15 16:50:45,820 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:45 GMT openstack-request-id: req-4b2beeb0-43bb-4e2d-bf16-f26db68e023f server: Apache transfer-encoding: chunked vary: Accept-Encoding x-openstack-ironic-api-maximum-version: 1.72 x-openstack-ironic-api-minimum-version: 1.1 x-openstack-ironic-api-version: 1.61 2022-06-15 16:50:45,820 DEBUG keystoneauth.session: RESP BODY: {"nodes": [{"uuid": "d9478cce-1172-42c9-b7d0-060701f9f553", "created_at": "2022-06-15T13:45:10+00:00", "updated_at": "2022-06-15T14:08:49+00:00", "automated_clean": null, "bios_interface": "no-bios", "boot_interface": "ipxe", "clean_step": {}, "conductor_group": "", "console_enabled": false, "console_interface": "ipmitool-socat", "deploy_interface": "direct", "deploy_step": {}, "description": null, "driver": "ipmi", "driver_info": {"deploy_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "rescue_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "deploy_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "rescue_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "ipmi_address": "172.16.0.27", "ipmi_username": "admin", "ipmi_password": "******", "ipmi_port": "6230"}, "driver_internal_info": {"last_power_state_change": "2022-06-15T14:08:37.204366", "is_whole_disk_image": true, "deploy_steps": null, "deploy_boot_mode": "uefi", "agent_version": "7.0.3.dev15", "agent_last_heartbeat": "2022-06-15T14:08:05.877526", "hardware_manager_version": {"generic_hardware_manager": "1.1"}, "agent_cached_deploy_steps_refreshed": "2022-06-15 14:07:26.179635", "root_uuid_or_disk_id": "0x00000000"}, "extra": {"metalsmith_attached_ports": ["7c48bcbc-701c-44bf-9ff6-99e853a42c30"], "metalsmith_created_ports": ["7c48bcbc-701c-44bf-9ff6-99e853a42c30"]}, "fault": null, "inspection_finished_at": null, "inspection_started_at": "2022-06-15T13:45:34+00:00", "inspect_interface": "inspector", "instance_info": {"traits": [], "capabilities": {"profile": "ceph-storage"}, "display_name": "ceph-0", "image_source": "file:///var/lib/ironic/images/overcloud-hardened-uefi-full.raw", "root_gb": 29, "configdrive": "******", "image_disk_format": "raw", "image_checksum": null, "image_os_hash_algo": "sha256", "image_os_hash_value": "7958da6dca08cdde1d49a71aac1eff98b3e17d062b866aa28f19af675d9e81e6", "image_url": "******", "image_type": "whole-disk-image"}, "instance_uuid": "0a5d075d-f20c-4771-83d3-0c8b885b32c7", "last_error": null, "maintenance": false, "maintenance_reason": null, "management_interface": "ipmitool", "name": "ceph-0", "network_interface": "flat", "owner": null, "power_interface": "ipmitool", "power_state": "power on", "properties": {"cpus": "2", "memory_mb": "4096", "local_gb": "30", "cpu_arch": "x86_64", "capabilities": "boot_option:local,profile:ceph-storage,cpu_vt:true,cpu_aes:true,cpu_hugepages:true,cpu_hugepages_1g:true", "vendor": "unknown", "root_device": {"name": "/dev/vda"}}, "protected": false, "protected_reason": null, "provision_state": "active", "provision_updated_at": "2022-06-15T14:08:49+00:00", "raid_config": {}, "raid_interface": "no-raid", "rescue_interface": "agent", "reservation": null, "resource_class": "baremetal", "retired": false, "retired_reason": null, "storage_interface": "noop", "target_power_state": null, "target_provision_state": null, "target_raid_config": {}, "traits": [], "vendor_interface": "ipmitool", "links": [{"href": "https://192.168.24.2:13385/v1/nodes/d9478cce-1172-42c9-b7d0-060701f9f553", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/d9478cce-1172-42c9-b7d0-060701f9f553", "rel": "bookmark"}], "conductor": "undercloud-0.redhat.local", "allocation_uuid": "0a5d075d-f20c-4771-83d3-0c8b885b32c7", "chassis_uuid": null, "ports": [{"href": "https://192.168.24.2:13385/v1/nodes/d9478cce-1172-42c9-b7d0-060701f9f553/ports", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/d9478cce-1172-42c9-b7d0-060701f9f553/ports", "rel": "bookmark"}], "states": [{"href": "https://192.168.24.2:13385/v1/nodes/d9478cce-1172-42c9-b7d0-060701f9f553/states", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/d9478cce-1172-42c9-b7d0-060701f9f553/states", "rel": "bookmark"}], "portgroups": [{"href": "https://192.168.24.2:13385/v1/nodes/d9478cce-1172-42c9-b7d0-060701f9f553/portgroups", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/d9478cce-1172-42c9-b7d0-060701f9f553/portgroups", "rel": "bookmark"}], "volume": [{"href": "https://192.168.24.2:13385/v1/nodes/d9478cce-1172-42c9-b7d0-060701f9f553/volume", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/d9478cce-1172-42c9-b7d0-060701f9f553/volume", "rel": "bookmark"}]}, {"uuid": "8819df63-e4c5-4ced-bfe7-fd5d1c978277", "created_at": "2022-06-15T13:45:11+00:00", "updated_at": "2022-06-15T14:09:00+00:00", "automated_clean": null, "bios_interface": "no-bios", "boot_interface": "ipxe", "clean_step": {}, "conductor_group": "", "console_enabled": false, "console_interface": "ipmitool-socat", "deploy_interface": "direct", "deploy_step": {}, "description": null, "driver": "ipmi", "driver_info": {"deploy_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "rescue_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "deploy_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "rescue_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "ipmi_address": "172.16.0.27", "ipmi_username": "admin", "ipmi_password": "******", "ipmi_port": "6231"}, "driver_internal_info": {"last_power_state_change": "2022-06-15T14:08:48.999524", "is_whole_disk_image": true, "deploy_steps": null, "deploy_boot_mode": "uefi", "agent_version": "7.0.3.dev15", "agent_last_heartbeat": "2022-06-15T14:08:16.895860", "hardware_manager_version": {"generic_hardware_manager": "1.1"}, "agent_cached_deploy_steps_refreshed": "2022-06-15 14:07:32.341355", "root_uuid_or_disk_id": "0x00000000"}, "extra": {"metalsmith_attached_ports": ["f27b5656-55d9-4b2c-92e0-af1ba9c23d73"], "metalsmith_created_ports": ["f27b5656-55d9-4b2c-92e0-af1ba9c23d73"]}, "fault": null, "inspection_finished_at": null, "inspection_started_at": "2022-06-15T13:45:34+00:00", "inspect_interface": "inspector", "instance_info": {"traits": [], "capabilities": {"profile": "compute"}, "display_name": "compute-1", "image_source": "file:///var/lib/ironic/images/overcloud-hardened-uefi-full.raw", "root_gb": 48, "configdrive": "******", "image_disk_format": "raw", "image_checksum": null, "image_os_hash_algo": "sha256", "image_os_hash_value": "7958da6dca08cdde1d49a71aac1eff98b3e17d062b866aa28f19af675d9e81e6", "image_url": "******", "image_type": "whole-disk-image"}, "instance_uuid": "3a0a30ed-ea7a-463b-ade5-afb2517fbaec", "last_error": null, "maintenance": false, "maintenance_reason": null, "management_interface": "ipmitool", "name": "compute-0", "network_interface": "flat", "owner": null, "power_interface": "ipmitool", "power_state": "power on", "properties": {"cpus": "4", "memory_mb": "8192", "local_gb": "49", "cpu_arch": "x86_64", "capabilities": "boot_option:local,profile:compute,cpu_vt:true,cpu_aes:true,cpu_hugepages:true,cpu_hugepages_1g:true", "vendor": "unknown"}, "protected": false, "protected_reason": null, "provision_state": "active", "provision_updated_at": "2022-06-15T14:09:00+00:00", "raid_config": {}, "raid_interface": "no-raid", "rescue_interface": "agent", "reservation": null, "resource_class": "baremetal", "retired": false, "retired_reason": null, "storage_interface": "noop", "target_power_state": null, "target_provision_state": null, "target_raid_config": {}, "traits": [], "vendor_interface": "ipmitool", "links": [{"href": "https://192.168.24.2:13385/v1/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277", "rel": "bookmark"}], "conductor": "undercloud-0.redhat.local", "allocation_uuid": "3a0a30ed-ea7a-463b-ade5-afb2517fbaec", "chassis_uuid": null, "ports": [{"href": "https://192.168.24.2:13385/v1/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277/ports", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277/ports", "rel": "bookmark"}], "states": [{"href": "https://192.168.24.2:13385/v1/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277/states", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277/states", "rel": "bookmark"}], "portgroups": [{"href": "https://192.168.24.2:13385/v1/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277/portgroups", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277/portgroups", "rel": "bookmark"}], "volume": [{"href": "https://192.168.24.2:13385/v1/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277/volume", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277/volume", "rel": "bookmark"}]}, {"uuid": "45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa", "created_at": "2022-06-15T13:45:12+00:00", "updated_at": "2022-06-15T14:08:16+00:00", "automated_clean": null, "bios_interface": "no-bios", "boot_interface": "ipxe", "clean_step": {}, "conductor_group": "", "console_enabled": false, "console_interface": "ipmitool-socat", "deploy_interface": "direct", "deploy_step": {}, "description": null, "driver": "ipmi", "driver_info": {"deploy_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "rescue_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "deploy_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "rescue_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "ipmi_address": "172.16.0.27", "ipmi_username": "admin", "ipmi_password": "******", "ipmi_port": "6233"}, "driver_internal_info": {"last_power_state_change": "2022-06-15T14:08:04.902328", "is_whole_disk_image": true, "deploy_steps": null, "deploy_boot_mode": "uefi", "agent_version": "7.0.3.dev15", "agent_last_heartbeat": "2022-06-15T14:07:41.364002", "hardware_manager_version": {"generic_hardware_manager": "1.1"}, "agent_cached_deploy_steps_refreshed": "2022-06-15 14:07:01.596007", "root_uuid_or_disk_id": "0x00000000"}, "extra": {"metalsmith_attached_ports": ["dc5dbc80-0b8c-441c-a6c5-f3a1a8557a04"], "metalsmith_created_ports": ["dc5dbc80-0b8c-441c-a6c5-f3a1a8557a04"]}, "fault": null, "inspection_finished_at": null, "inspection_started_at": "2022-06-15T13:45:34+00:00", "inspect_interface": "inspector", "instance_info": {"traits": [], "capabilities": {"profile": "compute"}, "display_name": "compute-2", "image_source": "file:///var/lib/ironic/images/overcloud-hardened-uefi-full.raw", "root_gb": 48, "configdrive": "******", "image_disk_format": "raw", "image_checksum": null, "image_os_hash_algo": "sha256", "image_os_hash_value": "7958da6dca08cdde1d49a71aac1eff98b3e17d062b866aa28f19af675d9e81e6", "image_url": "******", "image_type": "whole-disk-image"}, "instance_uuid": "67089ba3-e1a0-4a34-9b80-766a570a0080", "last_error": null, "maintenance": false, "maintenance_reason": null, "management_interface": "ipmitool", "name": "compute-2", "network_interface": "flat", "owner": null, "power_interface": "ipmitool", "power_state": "power on", "properties": {"cpus": "4", "memory_mb": "8192", "local_gb": "49", "cpu_arch": "x86_64", "capabilities": "boot_option:local,profile:compute,cpu_vt:true,cpu_aes:true,cpu_hugepages:true,cpu_hugepages_1g:true", "vendor": "unknown"}, "protected": false, "protected_reason": null, "provision_state": "active", "provision_updated_at": "2022-06-15T14:08:16+00:00", "raid_config": {}, "raid_interface": "no-raid", "rescue_interface": "agent", "reservation": null, "resource_class": "baremetal", "retired": false, "retired_reason": null, "storage_interface": "noop", "target_power_state": null, "target_provision_state": null, "target_raid_config": {}, "traits": [], "vendor_interface": "ipmitool", "links": [{"href": "https://192.168.24.2:13385/v1/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa", "rel": "bookmark"}], "conductor": "undercloud-0.redhat.local", "allocation_uuid": "67089ba3-e1a0-4a34-9b80-766a570a0080", "chassis_uuid": null, "ports": [{"href": "https://192.168.24.2:13385/v1/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa/ports", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa/ports", "rel": "bookmark"}], "states": [{"href": "https://192.168.24.2:13385/v1/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa/states", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa/states", "rel": "bookmark"}], "portgroups": [{"href": "https://192.168.24.2:13385/v1/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa/portgroups", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa/portgroups", "rel": "bookmark"}], "volume": [{"href": "https://192.168.24.2:13385/v1/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa/volume", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa/volume", "rel": "bookmark"}]}, {"uuid": "69ded144-f212-4d40-9069-a6e28d16039c", "created_at": "2022-06-15T13:45:13+00:00", "updated_at": "2022-06-15T14:08:54+00:00", "automated_clean": null, "bios_interface": "no-bios", "boot_interface": "ipxe", "clean_step": {}, "conductor_group": "", "console_enabled": false, "console_interface": "ipmitool-socat", "deploy_interface": "direct", "deploy_step": {}, "description": null, "driver": "ipmi", "driver_info": {"deploy_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "rescue_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "deploy_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "rescue_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "ipmi_address": "172.16.0.27", "ipmi_username": "admin", "ipmi_password": "******", "ipmi_port": "6234"}, "driver_internal_info": {"last_power_state_change": "2022-06-15T14:08:42.823168", "is_whole_disk_image": true, "deploy_steps": null, "deploy_boot_mode": "uefi", "agent_version": "7.0.3.dev15", "agent_last_heartbeat": "2022-06-15T14:08:16.135820", "hardware_manager_version": {"generic_hardware_manager": "1.1"}, "agent_cached_deploy_steps_refreshed": "2022-06-15 14:07:31.475544", "root_uuid_or_disk_id": "0x00000000"}, "extra": {"metalsmith_attached_ports": ["4335ef34-0b27-4f34-820f-9666a2e34238"], "metalsmith_created_ports": ["4335ef34-0b27-4f34-820f-9666a2e34238"]}, "fault": null, "inspection_finished_at": null, "inspection_started_at": "2022-06-15T13:45:34+00:00", "inspect_interface": "inspector", "instance_info": {"traits": [], "capabilities": {"profile": "control"}, "display_name": "controller-2", "image_source": "file:///var/lib/ironic/images/overcloud-hardened-uefi-full.raw", "root_gb": 38, "configdrive": "******", "image_disk_format": "raw", "image_checksum": null, "image_os_hash_algo": "sha256", "image_os_hash_value": "7958da6dca08cdde1d49a71aac1eff98b3e17d062b866aa28f19af675d9e81e6", "image_url": "******", "image_type": "whole-disk-image"}, "instance_uuid": "2dfa7c45-b35d-427e-8e72-4e1d61f87145", "last_error": null, "maintenance": false, "maintenance_reason": null, "management_interface": "ipmitool", "name": "controller-0", "network_interface": "flat", "owner": null, "power_interface": "ipmitool", "power_state": "power on", "properties": {"cpus": "8", "memory_mb": "32768", "local_gb": "39", "cpu_arch": "x86_64", "capabilities": "boot_option:local,profile:control,cpu_vt:true,cpu_aes:true,cpu_hugepages:true,cpu_hugepages_1g:true", "vendor": "unknown"}, "protected": false, "protected_reason": null, "provision_state": "active", "provision_updated_at": "2022-06-15T14:08:54+00:00", "raid_config": {}, "raid_interface": "no-raid", "rescue_interface": "agent", "reservation": null, "resource_class": "baremetal", "retired": false, "retired_reason": null, "storage_interface": "noop", "target_power_state": null, "target_provision_state": null, "target_raid_config": {}, "traits": [], "vendor_interface": "ipmitool", "links": [{"href": "https://192.168.24.2:13385/v1/nodes/69ded144-f212-4d40-9069-a6e28d16039c", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/69ded144-f212-4d40-9069-a6e28d16039c", "rel": "bookmark"}], "conductor": "undercloud-0.redhat.local", "allocation_uuid": "2dfa7c45-b35d-427e-8e72-4e1d61f87145", "chassis_uuid": null, "ports": [{"href": "https://192.168.24.2:13385/v1/nodes/69ded144-f212-4d40-9069-a6e28d16039c/ports", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/69ded144-f212-4d40-9069-a6e28d16039c/ports", "rel": "bookmark"}], "states": [{"href": "https://192.168.24.2:13385/v1/nodes/69ded144-f212-4d40-9069-a6e28d16039c/states", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/69ded144-f212-4d40-9069-a6e28d16039c/states", "rel": "bookmark"}], "portgroups": [{"href": "https://192.168.24.2:13385/v1/nodes/69ded144-f212-4d40-9069-a6e28d16039c/portgroups", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/69ded144-f212-4d40-9069-a6e28d16039c/portgroups", "rel": "bookmark"}], "volume": [{"href": "https://192.168.24.2:13385/v1/nodes/69ded144-f212-4d40-9069-a6e28d16039c/volume", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/69ded144-f212-4d40-9069-a6e28d16039c/volume", "rel": "bookmark"}]}, {"uuid": "06581073-1f30-4715-ae53-df539f2e954f", "created_at": "2022-06-15T13:45:14+00:00", "updated_at": "2022-06-15T14:08:49+00:00", "automated_clean": null, "bios_interface": "no-bios", "boot_interface": "ipxe", "clean_step": {}, "conductor_group": "", "console_enabled": false, "console_interface": "ipmitool-socat", "deploy_interface": "direct", "deploy_step": {}, "description": null, "driver": "ipmi", "driver_info": {"deploy_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "rescue_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "deploy_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "rescue_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "ipmi_address": "172.16.0.27", "ipmi_username": "admin", "ipmi_password": "******", "ipmi_port": "6235"}, "driver_internal_info": {"last_power_state_change": "2022-06-15T14:08:37.475593", "is_whole_disk_image": true, "deploy_steps": null, "deploy_boot_mode": "uefi", "agent_version": "7.0.3.dev15", "agent_last_heartbeat": "2022-06-15T14:08:09.556365", "hardware_manager_version": {"generic_hardware_manager": "1.1"}, "agent_cached_deploy_steps_refreshed": "2022-06-15 14:07:24.818093", "root_uuid_or_disk_id": "0x00000000"}, "extra": {"metalsmith_attached_ports": ["cbc7e670-e258-47fa-8a84-c76ae68a719b"], "metalsmith_created_ports": ["cbc7e670-e258-47fa-8a84-c76ae68a719b"]}, "fault": null, "inspection_finished_at": null, "inspection_started_at": "2022-06-15T13:45:34+00:00", "inspect_interface": "inspector", "instance_info": {"traits": [], "capabilities": {"profile": "control"}, "display_name": "controller-0", "image_source": "file:///var/lib/ironic/images/overcloud-hardened-uefi-full.raw", "root_gb": 38, "configdrive": "******", "image_disk_format": "raw", "image_checksum": null, "image_os_hash_algo": "sha256", "image_os_hash_value": "7958da6dca08cdde1d49a71aac1eff98b3e17d062b866aa28f19af675d9e81e6", "image_url": "******", "image_type": "whole-disk-image"}, "instance_uuid": "f9aab9d2-0b26-4f0d-9c69-2e875c7ab00c", "last_error": null, "maintenance": false, "maintenance_reason": null, "management_interface": "ipmitool", "name": "controller-1", "network_interface": "flat", "owner": null, "power_interface": "ipmitool", "power_state": "power on", "properties": {"cpus": "8", "memory_mb": "32768", "local_gb": "39", "cpu_arch": "x86_64", "capabilities": "boot_option:local,profile:control,cpu_vt:true,cpu_aes:true,cpu_hugepages:true,cpu_hugepages_1g:true", "vendor": "unknown"}, "protected": false, "protected_reason": null, "provision_state": "active", "provision_updated_at": "2022-06-15T14:08:49+00:00", "raid_config": {}, "raid_interface": "no-raid", "rescue_interface": "agent", "reservation": null, "resource_class": "baremetal", "retired": false, "retired_reason": null, "storage_interface": "noop", "target_power_state": null, "target_provision_state": null, "target_raid_config": {}, "traits": [], "vendor_interface": "ipmitool", "links": [{"href": "https://192.168.24.2:13385/v1/nodes/06581073-1f30-4715-ae53-df539f2e954f", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/06581073-1f30-4715-ae53-df539f2e954f", "rel": "bookmark"}], "conductor": "undercloud-0.redhat.local", "allocation_uuid": "f9aab9d2-0b26-4f0d-9c69-2e875c7ab00c", "chassis_uuid": null, "ports": [{"href": "https://192.168.24.2:13385/v1/nodes/06581073-1f30-4715-ae53-df539f2e954f/ports", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/06581073-1f30-4715-ae53-df539f2e954f/ports", "rel": "bookmark"}], "states": [{"href": "https://192.168.24.2:13385/v1/nodes/06581073-1f30-4715-ae53-df539f2e954f/states", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/06581073-1f30-4715-ae53-df539f2e954f/states", "rel": "bookmark"}], "portgroups": [{"href": "https://192.168.24.2:13385/v1/nodes/06581073-1f30-4715-ae53-df539f2e954f/portgroups", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/06581073-1f30-4715-ae53-df539f2e954f/portgroups", "rel": "bookmark"}], "volume": [{"href": "https://192.168.24.2:13385/v1/nodes/06581073-1f30-4715-ae53-df539f2e954f/volume", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/06581073-1f30-4715-ae53-df539f2e954f/volume", "rel": "bookmark"}]}, {"uuid": "6cfdc765-220f-4116-9ddf-3ddfc73d40ac", "created_at": "2022-06-15T13:45:14+00:00", "updated_at": "2022-06-15T14:08:54+00:00", "automated_clean": null, "bios_interface": "no-bios", "boot_interface": "ipxe", "clean_step": {}, "conductor_group": "", "console_enabled": false, "console_interface": "ipmitool-socat", "deploy_interface": "direct", "deploy_step": {}, "description": null, "driver": "ipmi", "driver_info": {"deploy_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "rescue_kernel": "file:///var/lib/ironic/httpboot/agent.kernel", "deploy_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "rescue_ramdisk": "file:///var/lib/ironic/httpboot/agent.ramdisk", "ipmi_address": "172.16.0.27", "ipmi_username": "admin", "ipmi_password": "******", "ipmi_port": "6236"}, "driver_internal_info": {"last_power_state_change": "2022-06-15T14:08:42.878729", "is_whole_disk_image": true, "deploy_steps": null, "deploy_boot_mode": "uefi", "agent_version": "7.0.3.dev15", "agent_last_heartbeat": "2022-06-15T14:08:11.889449", "hardware_manager_version": {"generic_hardware_manager": "1.1"}, "agent_cached_deploy_steps_refreshed": "2022-06-15 14:07:32.279346", "root_uuid_or_disk_id": "0x00000000"}, "extra": {"metalsmith_attached_ports": ["2b4bdd24-5931-4a94-80e9-c6821ad7695d"], "metalsmith_created_ports": ["2b4bdd24-5931-4a94-80e9-c6821ad7695d"]}, "fault": null, "inspection_finished_at": null, "inspection_started_at": "2022-06-15T13:45:34+00:00", "inspect_interface": "inspector", "instance_info": {"traits": [], "capabilities": {"profile": "control"}, "display_name": "controller-1", "image_source": "file:///var/lib/ironic/images/overcloud-hardened-uefi-full.raw", "root_gb": 38, "configdrive": "******", "image_disk_format": "raw", "image_checksum": null, "image_os_hash_algo": "sha256", "image_os_hash_value": "7958da6dca08cdde1d49a71aac1eff98b3e17d062b866aa28f19af675d9e81e6", "image_url": "******", "image_type": "whole-disk-image"}, "instance_uuid": "1cc482c3-9d20-4de7-ad9b-5c1eefb6c0c8", "last_error": null, "maintenance": false, "maintenance_reason": null, "management_interface": "ipmitool", "name": "controller-2", "network_interface": "flat", "owner": null, "power_interface": "ipmitool", "power_state": "power on", "properties": {"cpus": "8", "memory_mb": "32768", "local_gb": "39", "cpu_arch": "x86_64", "capabilities": "boot_option:local,profile:control,cpu_vt:true,cpu_aes:true,cpu_hugepages:true,cpu_hugepages_1g:true", "vendor": "unknown"}, "protected": false, "protected_reason": null, "provision_state": "active", "provision_updated_at": "2022-06-15T14:08:54+00:00", "raid_config": {}, "raid_interface": "no-raid", "rescue_interface": "agent", "reservation": null, "resource_class": "baremetal", "retired": false, "retired_reason": null, "storage_interface": "noop", "target_power_state": null, "target_provision_state": null, "target_raid_config": {}, "traits": [], "vendor_interface": "ipmitool", "links": [{"href": "https://192.168.24.2:13385/v1/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac", "rel": "bookmark"}], "conductor": "undercloud-0.redhat.local", "allocation_uuid": "1cc482c3-9d20-4de7-ad9b-5c1eefb6c0c8", "chassis_uuid": null, "ports": [{"href": "https://192.168.24.2:13385/v1/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac/ports", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac/ports", "rel": "bookmark"}], "states": [{"href": "https://192.168.24.2:13385/v1/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac/states", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac/states", "rel": "bookmark"}], "portgroups": [{"href": "https://192.168.24.2:13385/v1/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac/portgroups", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac/portgroups", "rel": "bookmark"}], "volume": [{"href": "https://192.168.24.2:13385/v1/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac/volume", "rel": "self"}, {"href": "https://192.168.24.2:13385/nodes/6cfdc765-220f-4116-9ddf-3ddfc73d40ac/volume", "rel": "bookmark"}]}]} 2022-06-15 16:50:45,826 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13385/v1/allocations/0a5d075d-f20c-4771-83d3-0c8b885b32c7 -H "OpenStack-API-Version: baremetal 1.58" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" -H "X-OpenStack-Ironic-API-Version: 1.58" 2022-06-15 16:50:45,851 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:45 GMT openstack-request-id: req-bdf03865-1e5e-4f65-88be-2b85e959bfbb server: Apache transfer-encoding: chunked vary: Accept-Encoding x-openstack-ironic-api-maximum-version: 1.72 x-openstack-ironic-api-minimum-version: 1.1 x-openstack-ironic-api-version: 1.58 2022-06-15 16:50:45,851 DEBUG keystoneauth.session: RESP BODY: {"uuid": "0a5d075d-f20c-4771-83d3-0c8b885b32c7", "created_at": "2022-06-15T14:03:20+00:00", "updated_at": "2022-06-15T14:03:25+00:00", "candidate_nodes": ["d9478cce-1172-42c9-b7d0-060701f9f553"], "extra": {}, "last_error": null, "name": "ceph-0", "resource_class": "baremetal", "state": "active", "traits": [], "links": [{"href": "https://192.168.24.2:13385/v1/allocations/0a5d075d-f20c-4771-83d3-0c8b885b32c7", "rel": "self"}, {"href": "https://192.168.24.2:13385/allocations/0a5d075d-f20c-4771-83d3-0c8b885b32c7", "rel": "bookmark"}], "node_uuid": "d9478cce-1172-42c9-b7d0-060701f9f553"} 2022-06-15 16:50:45,856 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13385/v1/allocations/3a0a30ed-ea7a-463b-ade5-afb2517fbaec -H "OpenStack-API-Version: baremetal 1.58" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" -H "X-OpenStack-Ironic-API-Version: 1.58" 2022-06-15 16:50:45,882 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:45 GMT openstack-request-id: req-ea5c6f11-9e08-409c-ba11-8788aba033cf server: Apache transfer-encoding: chunked vary: Accept-Encoding x-openstack-ironic-api-maximum-version: 1.72 x-openstack-ironic-api-minimum-version: 1.1 x-openstack-ironic-api-version: 1.58 2022-06-15 16:50:45,883 DEBUG keystoneauth.session: RESP BODY: {"uuid": "3a0a30ed-ea7a-463b-ade5-afb2517fbaec", "created_at": "2022-06-15T14:03:16+00:00", "updated_at": "2022-06-15T14:03:25+00:00", "candidate_nodes": ["8819df63-e4c5-4ced-bfe7-fd5d1c978277", "45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa"], "extra": {}, "last_error": null, "name": "compute-1", "resource_class": "baremetal", "state": "active", "traits": [], "links": [{"href": "https://192.168.24.2:13385/v1/allocations/3a0a30ed-ea7a-463b-ade5-afb2517fbaec", "rel": "self"}, {"href": "https://192.168.24.2:13385/allocations/3a0a30ed-ea7a-463b-ade5-afb2517fbaec", "rel": "bookmark"}], "node_uuid": "8819df63-e4c5-4ced-bfe7-fd5d1c978277"} 2022-06-15 16:50:45,888 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13385/v1/allocations/67089ba3-e1a0-4a34-9b80-766a570a0080 -H "OpenStack-API-Version: baremetal 1.58" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" -H "X-OpenStack-Ironic-API-Version: 1.58" 2022-06-15 16:50:45,914 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:45 GMT openstack-request-id: req-adcf0222-687b-4aaa-9076-c250bec68f81 server: Apache transfer-encoding: chunked vary: Accept-Encoding x-openstack-ironic-api-maximum-version: 1.72 x-openstack-ironic-api-minimum-version: 1.1 x-openstack-ironic-api-version: 1.58 2022-06-15 16:50:45,915 DEBUG keystoneauth.session: RESP BODY: {"uuid": "67089ba3-e1a0-4a34-9b80-766a570a0080", "created_at": "2022-06-15T14:03:18+00:00", "updated_at": "2022-06-15T14:03:25+00:00", "candidate_nodes": ["45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa"], "extra": {}, "last_error": null, "name": "compute-2", "resource_class": "baremetal", "state": "active", "traits": [], "links": [{"href": "https://192.168.24.2:13385/v1/allocations/67089ba3-e1a0-4a34-9b80-766a570a0080", "rel": "self"}, {"href": "https://192.168.24.2:13385/allocations/67089ba3-e1a0-4a34-9b80-766a570a0080", "rel": "bookmark"}], "node_uuid": "45ab66ae-4ef6-4863-b8f1-6a1a8adc7dfa"} 2022-06-15 16:50:45,919 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13385/v1/allocations/2dfa7c45-b35d-427e-8e72-4e1d61f87145 -H "OpenStack-API-Version: baremetal 1.58" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" -H "X-OpenStack-Ironic-API-Version: 1.58" 2022-06-15 16:50:45,951 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:45 GMT openstack-request-id: req-7d680145-8f7d-4771-8bf0-ed3619e3998e server: Apache transfer-encoding: chunked vary: Accept-Encoding x-openstack-ironic-api-maximum-version: 1.72 x-openstack-ironic-api-minimum-version: 1.1 x-openstack-ironic-api-version: 1.58 2022-06-15 16:50:45,951 DEBUG keystoneauth.session: RESP BODY: {"uuid": "2dfa7c45-b35d-427e-8e72-4e1d61f87145", "created_at": "2022-06-15T14:03:11+00:00", "updated_at": "2022-06-15T14:03:25+00:00", "candidate_nodes": ["69ded144-f212-4d40-9069-a6e28d16039c"], "extra": {}, "last_error": null, "name": "controller-2", "resource_class": "baremetal", "state": "active", "traits": [], "links": [{"href": "https://192.168.24.2:13385/v1/allocations/2dfa7c45-b35d-427e-8e72-4e1d61f87145", "rel": "self"}, {"href": "https://192.168.24.2:13385/allocations/2dfa7c45-b35d-427e-8e72-4e1d61f87145", "rel": "bookmark"}], "node_uuid": "69ded144-f212-4d40-9069-a6e28d16039c"} 2022-06-15 16:50:45,958 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13385/v1/allocations/f9aab9d2-0b26-4f0d-9c69-2e875c7ab00c -H "OpenStack-API-Version: baremetal 1.58" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" -H "X-OpenStack-Ironic-API-Version: 1.58" 2022-06-15 16:50:45,998 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:45 GMT openstack-request-id: req-5b63fa24-5cbf-4a65-8ed7-8304eb1fb7a2 server: Apache transfer-encoding: chunked vary: Accept-Encoding x-openstack-ironic-api-maximum-version: 1.72 x-openstack-ironic-api-minimum-version: 1.1 x-openstack-ironic-api-version: 1.58 2022-06-15 16:50:45,998 DEBUG keystoneauth.session: RESP BODY: {"uuid": "f9aab9d2-0b26-4f0d-9c69-2e875c7ab00c", "created_at": "2022-06-15T14:03:07+00:00", "updated_at": "2022-06-15T14:03:25+00:00", "candidate_nodes": ["69ded144-f212-4d40-9069-a6e28d16039c", "06581073-1f30-4715-ae53-df539f2e954f", "6cfdc765-220f-4116-9ddf-3ddfc73d40ac"], "extra": {}, "last_error": null, "name": "controller-0", "resource_class": "baremetal", "state": "active", "traits": [], "links": [{"href": "https://192.168.24.2:13385/v1/allocations/f9aab9d2-0b26-4f0d-9c69-2e875c7ab00c", "rel": "self"}, {"href": "https://192.168.24.2:13385/allocations/f9aab9d2-0b26-4f0d-9c69-2e875c7ab00c", "rel": "bookmark"}], "node_uuid": "06581073-1f30-4715-ae53-df539f2e954f"} 2022-06-15 16:50:46,003 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13385/v1/allocations/1cc482c3-9d20-4de7-ad9b-5c1eefb6c0c8 -H "OpenStack-API-Version: baremetal 1.58" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" -H "X-OpenStack-Ironic-API-Version: 1.58" 2022-06-15 16:50:46,030 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:46 GMT openstack-request-id: req-76c6f2dd-3505-4087-a4ea-60a261961110 server: Apache transfer-encoding: chunked vary: Accept-Encoding x-openstack-ironic-api-maximum-version: 1.72 x-openstack-ironic-api-minimum-version: 1.1 x-openstack-ironic-api-version: 1.58 2022-06-15 16:50:46,030 DEBUG keystoneauth.session: RESP BODY: {"uuid": "1cc482c3-9d20-4de7-ad9b-5c1eefb6c0c8", "created_at": "2022-06-15T14:03:09+00:00", "updated_at": "2022-06-15T14:03:25+00:00", "candidate_nodes": ["69ded144-f212-4d40-9069-a6e28d16039c", "6cfdc765-220f-4116-9ddf-3ddfc73d40ac"], "extra": {}, "last_error": null, "name": "controller-1", "resource_class": "baremetal", "state": "active", "traits": [], "links": [{"href": "https://192.168.24.2:13385/v1/allocations/1cc482c3-9d20-4de7-ad9b-5c1eefb6c0c8", "rel": "self"}, {"href": "https://192.168.24.2:13385/allocations/1cc482c3-9d20-4de7-ad9b-5c1eefb6c0c8", "rel": "bookmark"}], "node_uuid": "6cfdc765-220f-4116-9ddf-3ddfc73d40ac"} 2022-06-15 16:50:46,035 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13385/v1/nodes/d9478cce-1172-42c9-b7d0-060701f9f553/vifs -H "OpenStack-API-Version: baremetal 1.61" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" -H "X-OpenStack-Ironic-API-Version: 1.61" 2022-06-15 16:50:46,719 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:46 GMT openstack-request-id: req-3fe90977-944d-4371-8c4e-4f96c4f16ba3 server: Apache transfer-encoding: chunked vary: Accept-Encoding x-openstack-ironic-api-maximum-version: 1.72 x-openstack-ironic-api-minimum-version: 1.1 x-openstack-ironic-api-version: 1.61 2022-06-15 16:50:46,719 DEBUG keystoneauth.session: RESP BODY: {"vifs": [{"id": "7c48bcbc-701c-44bf-9ff6-99e853a42c30"}]} 2022-06-15 16:50:46,727 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13696/v2.0/ports/7c48bcbc-701c-44bf-9ff6-99e853a42c30 -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" 2022-06-15 16:50:46,878 DEBUG keystoneauth.session: RESP: [200] content-length: 1565 content-type: application/json date: Wed, 15 Jun 2022 16:50:46 GMT x-openstack-request-id: req-3271ea13-694b-4efd-ab38-eadf06e59927 2022-06-15 16:50:46,878 DEBUG keystoneauth.session: RESP BODY: {"port":{"id":"7c48bcbc-701c-44bf-9ff6-99e853a42c30","name":"ceph-0-ctlplane","network_id":"5d544069-306d-4c11-9f4a-c8601e39beb3","tenant_id":"216558ff141544f18f91340c9b144c8b","mac_address":"52:54:00:f0:b9:29","admin_state_up":true,"status":"ACTIVE","device_id":"","device_owner":"","fixed_ips":[{"subnet_id":"ac4231a6-2f13-43a1-a12c-b4743eba3d73","ip_address":"192.168.24.33"}],"allowed_address_pairs":[],"extra_dhcp_opts":[{"opt_name":"150","opt_value":"192.168.24.1","ip_version":4},{"opt_name":"66","opt_value":"192.168.24.1","ip_version":4},{"opt_name":"server-ip-address","opt_value":"192.168.24.1","ip_version":4},{"opt_name":"tag:!ipxe,67","opt_value":"snponly.efi","ip_version":4},{"opt_name":"tag:ipxe,67","opt_value":"http://192.168.24.1:8088/boot.ipxe","ip_version":4}],"security_groups":["567f84d4-61f1-4e05-afbb-9a2429098fff"],"description":"","binding:vnic_type":"baremetal","binding:profile":{},"binding:host_id":"d9478cce-1172-42c9-b7d0-060701f9f553","binding:vif_type":"other","binding:vif_details":{"connectivity":"legacy"},"port_security_enabled":true,"dns_name":"ceph-0","dns_assignment":[{"ip_address":"192.168.24.33","hostname":"ceph-0","fqdn":"ceph-0.redhat.local."}],"dns_domain":"","ip_allocation":"immediate","tags":["tripleo_default_route=true","tripleo_ironic_uuid=d9478cce-1172-42c9-b7d0-060701f9f553","tripleo_ironic_vif_port=true","tripleo_role=CephStorage","tripleo_stack_name=overcloud"],"created_at":"2022-06-15T14:03:26Z","updated_at":"2022-06-15T14:09:09Z","revision_number":17,"project_id":"216558ff141544f18f91340c9b144c8b"}} 2022-06-15 16:50:46,878 DEBUG keystoneauth.session: GET call to network for https://192.168.24.2:13696/v2.0/ports/7c48bcbc-701c-44bf-9ff6-99e853a42c30 used request id req-3271ea13-694b-4efd-ab38-eadf06e59927 2022-06-15 16:50:46,880 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13696/v2.0/networks/5d544069-306d-4c11-9f4a-c8601e39beb3 -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" 2022-06-15 16:50:46,975 DEBUG keystoneauth.session: RESP: [200] content-length: 747 content-type: application/json date: Wed, 15 Jun 2022 16:50:46 GMT x-openstack-request-id: req-158c6021-85cc-4b25-b5dd-d85dd5370fca 2022-06-15 16:50:46,975 DEBUG keystoneauth.session: RESP BODY: {"network":{"id":"5d544069-306d-4c11-9f4a-c8601e39beb3","name":"ctlplane","tenant_id":"216558ff141544f18f91340c9b144c8b","admin_state_up":true,"mtu":1500,"status":"ACTIVE","subnets":["ac4231a6-2f13-43a1-a12c-b4743eba3d73"],"shared":false,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"ipv6_address_scope":null,"router:external":false,"description":"","port_security_enabled":true,"dns_domain":"ctlplane.redhat.local.","l2_adjacency":true,"tags":["192.168.24.0/24"],"created_at":"2022-06-15T13:38:49Z","updated_at":"2022-06-15T13:38:50Z","revision_number":3,"project_id":"216558ff141544f18f91340c9b144c8b","provider:network_type":"flat","provider:physical_network":"ctlplane","provider:segmentation_id":null}} 2022-06-15 16:50:46,975 DEBUG keystoneauth.session: GET call to network for https://192.168.24.2:13696/v2.0/networks/5d544069-306d-4c11-9f4a-c8601e39beb3 used request id req-158c6021-85cc-4b25-b5dd-d85dd5370fca 2022-06-15 16:50:46,978 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13385/v1/nodes/8819df63-e4c5-4ced-bfe7-fd5d1c978277/vifs -H "OpenStack-API-Version: baremetal 1.61" -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" -H "X-OpenStack-Ironic-API-Version: 1.61" 2022-06-15 16:50:47,609 DEBUG keystoneauth.session: RESP: [200] content-encoding: gzip content-type: application/json date: Wed, 15 Jun 2022 16:50:46 GMT openstack-request-id: req-5046543b-f4a6-4b19-ba22-f1bf6c20372b server: Apache transfer-encoding: chunked vary: Accept-Encoding x-openstack-ironic-api-maximum-version: 1.72 x-openstack-ironic-api-minimum-version: 1.1 x-openstack-ironic-api-version: 1.61 2022-06-15 16:50:47,609 DEBUG keystoneauth.session: RESP BODY: {"vifs": [{"id": "f27b5656-55d9-4b2c-92e0-af1ba9c23d73"}]} 2022-06-15 16:50:47,610 DEBUG keystoneauth.session: REQ: curl -g -i -X GET https://192.168.24.2:13696/v2.0/ports/f27b5656-55d9-4b2c-92e0-af1ba9c23d73 -H "User-Agent: openstacksdk/0.55.1 keystoneauth1/4.3.1 python-requests/2.25.1 CPython/3.9.10" -H "X-Auth-Token: {SHA256}756378142f6f32652946f719ccdf1be09526edbd27d0bf4979ddd0fba1d60356" 2022-06-15 16:50:47,644 DEBUG keystoneauth.session: RESP: [404] content-length: 132 content-type: application/json date: Wed, 15 Jun 2022 16:50:47 GMT x-openstack-request-id: req-60609cb1-99be-4fef-b3b7-5e8bdf4a15b7 2022-06-15 16:50:47,644 DEBUG keystoneauth.session: RESP BODY: {"NeutronError": {"type": "PortNotFound", "message": "Port f27b5656-55d9-4b2c-92e0-af1ba9c23d73 could not be found.", "detail": ""}} 2022-06-15 16:50:47,644 DEBUG keystoneauth.session: GET call to network for https://192.168.24.2:13696/v2.0/ports/f27b5656-55d9-4b2c-92e0-af1ba9c23d73 used request id req-60609cb1-99be-4fef-b3b7-5e8bdf4a15b7 2022-06-15 16:50:47,644 CRITICAL metalsmith._cmd: No Port found for f27b5656-55d9-4b2c-92e0-af1ba9c23d73: Client Error for url: https://192.168.24.2:13696/v2.0/ports/f27b5656-55d9-4b2c-92e0-af1ba9c23d73, Port f27b5656-55d9-4b2c-92e0-af1ba9c23d73 could not be found. Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/metalsmith/_cmd.py", line 261, in main args.func(api, args, formatter) File "/usr/lib/python3.9/site-packages/metalsmith/_cmd.py", line 108, in _do_list formatter.show(instances) File "/usr/lib/python3.9/site-packages/metalsmith/_format.py", line 104, in show for row in self._iter_rows(instances): File "/usr/lib/python3.9/site-packages/metalsmith/_format.py", line 71, in _iter_rows instance.ip_addresses().items()) File "/usr/lib/python3.9/site-packages/metalsmith/_instance.py", line 93, in ip_addresses for nic in self.nics(): File "/usr/lib/python3.9/site-packages/metalsmith/_instance.py", line 120, in nics port = self._connection.network.get_port(vif) File "/usr/lib/python3.9/site-packages/openstack/network/v2/_proxy.py", line 1890, in get_port return self._get(_port.Port, port) File "/usr/lib/python3.9/site-packages/openstack/proxy.py", line 47, in check return method(self, expected, actual, *args, **kwargs) File "/usr/lib/python3.9/site-packages/openstack/proxy.py", line 506, in _get return res.fetch( File "/usr/lib/python3.9/site-packages/openstack/resource.py", line 1461, in fetch self._translate_response(response, **kwargs) File "/usr/lib/python3.9/site-packages/openstack/resource.py", line 1158, in _translate_response exceptions.raise_from_response(response, error_message=error_message) File "/usr/lib/python3.9/site-packages/openstack/exceptions.py", line 236, in raise_from_response raise cls( openstack.exceptions.ResourceNotFound: No Port found for f27b5656-55d9-4b2c-92e0-af1ba9c23d73: Client Error for url: https://192.168.24.2:13696/v2.0/ports/f27b5656-55d9-4b2c-92e0-af1ba9c23d73, Port f27b5656-55d9-4b2c-92e0-af1ba9c23d73 could not be found.
OK, I've attached a fix for missing ports in the metalsmith list call. I'm still concerned that the scale-down process is deleting the wrong port, maybe related to the node-name/hostname swap. Having access to the environment or attaching the ironic-conductor logs would help.
These are Jenkins logs. Maybe ironic-conductor logs were archived: https://rhos-ci-staging-jenkins.lab.eng.tlv2.redhat.com/view/DFG/view/df/view/rfe/job/DFG-df-rfe-17.0-virsh-3cont_3comp_1ceph-blacklist-1compute-scaledown/39/
I'm making progress on diagnosing the root cause, according to the logs on the failing job[1] name:compute-0 hostname:compute-1 should be scaled down, but the vif_detach call is for the vif of node name:compute-1. This will be why the job is occasionally green, when name/hostname match. I'll continue next week. [1] http://rhos-ci-logs.lab.eng.tlv2.redhat.com/logs/staging/DFG-df-rfe-17.0-virsh-3cont_3comp_1ceph-blacklist-1compute-scaledown/39/undercloud-0/
I believe I've found the root cause, unprovision was being referenced by node name, but the metalsmith node lookup first attempts the allocation name. The fix is attached.
Downstream backports are now proposed
*** Bug 2104675 has been marked as a duplicate of this bug. ***
Moving back to on_dev. See https://bugzilla.redhat.com/show_bug.cgi?id=2104675 for a description of the problems still being seen with scale up/scale down.
Fix proposed
Follow-up fix from Rabi has been proposed to rhos-17.0-trunk-patches: https://code.engineering.redhat.com/gerrit/c/tripleo-ansible/+/421639
Latest patch[1] still open, so it's not yet in. Since it's not a blocker, it will probably be for potential z1. Moving back to POST.
The compute replacement job that was failing when this BZ was written has been passing for a long time now.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2023:4577