Overcloud deployed with nova enabled.
(undercloud) [centos@undercloud ~]$ openstack server list
+--------------------------------------+-------------------------+--------+------------------------+----------------+---------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+-------------------------+--------+------------------------+----------------+---------+
| ff458527-44f6-4d89-b88a-4e233d25d48e | overcloud-controller-2 | ACTIVE | ctlplane=192.168.25.19 | overcloud-full | control |
| 7ea12da4-d60d-4697-b110-e51a8554446f | overcloud-controller-1 | ACTIVE | ctlplane=192.168.25.11 | overcloud-full | control |
| a9078fb1-9cae-4ab7-950a-6c91e3a0d361 | overcloud-controller-0 | ACTIVE | ctlplane=192.168.25.22 | overcloud-full | control |
| b6baa118-18cb-4787-a94b-593447edb7c3 | overcloud-novacompute-0 | ACTIVE | ctlplane=192.168.26.21 | overcloud-full | compute |
+--------------------------------------+-------------------------+--------+------------------------+----------------+---------+
(undercloud) [centos@undercloud ~]$ openstack baremetal node list
+--------------------------------------+-------------------------+--------------------------------------+-------------+--------------------+-------------+
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-------------------------+--------------------------------------+-------------+--------------------+-------------+
| 7c7faadb-6ca0-407a-8473-edae5af9f885 | baremetal-26438-leaf1-0 | a9078fb1-9cae-4ab7-950a-6c91e3a0d361 | power on | active | False |
| 8bf203e1-1ec2-4fee-a403-6fc43bce6644 | baremetal-26438-leaf1-1 | ff458527-44f6-4d89-b88a-4e233d25d48e | power on | active | False |
| ebb1b522-ea9c-4b70-a9d0-85b491136fb2 | baremetal-26438-leaf1-2 | 7ea12da4-d60d-4697-b110-e51a8554446f | power on | active | False |
| b9da411f-2446-48ba-a112-ecfd4aa28abb | baremetal-26438-leaf2-0 | b6baa118-18cb-4787-a94b-593447edb7c3 | power on | active | False |
+--------------------------------------+-------------------------+--------------------------------------+-------------+--------------------+-------------+
## Extract provisioned nodes with command
openstack overcloud node extract provisioned --stack overcloud -o baremetal_deployment.yaml --roles-file homelab/labs/classic-ipv4-routed/overcloud/my_roles_data.yaml
## Attempt to provision nodes
(undercloud) [centos@undercloud ~]$ openstack overcloud node provision --stack overcloud --network-config --output overcloud-baremetal-deployed.yaml baremetal_deployment.yaml [35/1925]
PLAY [Overcloud Node Provision] ************************************************
2021-05-14 16:04:35.246750 | fa163eee-cfb0-e8f6-98ee-000000000008 | SKIPPED | fail | localhost
2021-05-14 16:04:35.250981 | fa163eee-cfb0-e8f6-98ee-000000000008 | TIMING | fail | localhost | 0:00:00.417545 | 0.13s
2021-05-14 16:04:35.416156 | fa163eee-cfb0-e8f6-98ee-000000000009 | SKIPPED | fail | localhost
2021-05-14 16:04:35.418698 | fa163eee-cfb0-e8f6-98ee-000000000009 | TIMING | fail | localhost | 0:00:00.585261 | 0.14s
2021-05-14 16:04:35.510232 | fa163eee-cfb0-e8f6-98ee-00000000000a | SKIPPED | fail | localhost
2021-05-14 16:04:35.513988 | fa163eee-cfb0-e8f6-98ee-00000000000a | TIMING | fail | localhost | 0:00:00.680537 | 0.08s
2021-05-14 16:04:35.532762 | fa163eee-cfb0-e8f6-98ee-00000000000c | TASK | stat overcloud-full.raw
2021-05-14 16:04:36.553375 | fa163eee-cfb0-e8f6-98ee-00000000000c | OK | stat overcloud-full.raw | localhost
2021-05-14 16:04:36.556698 | fa163eee-cfb0-e8f6-98ee-00000000000c | TIMING | stat overcloud-full.raw | localhost | 0:00:01.723192 | 1.02s
2021-05-14 16:04:36.574115 | fa163eee-cfb0-e8f6-98ee-00000000000d | TASK | stat overcloud-full.initrd
2021-05-14 16:04:37.080402 | fa163eee-cfb0-e8f6-98ee-00000000000d | OK | stat overcloud-full.initrd | localhost
2021-05-14 16:04:37.083400 | fa163eee-cfb0-e8f6-98ee-00000000000d | TIMING | stat overcloud-full.initrd | localhost | 0:00:02.249967 | 0.51s
2021-05-14 16:04:37.097522 | fa163eee-cfb0-e8f6-98ee-00000000000e | TASK | Set file based default image
2021-05-14 16:04:37.195306 | fa163eee-cfb0-e8f6-98ee-00000000000e | SKIPPED | Set file based default image | localhost
2021-05-14 16:04:37.199270 | fa163eee-cfb0-e8f6-98ee-00000000000e | TIMING | Set file based default image | localhost | 0:00:02.365807 | 0.10s
2021-05-14 16:04:37.212839 | fa163eee-cfb0-e8f6-98ee-00000000000f | TASK | Set whole-disk file based default image
2021-05-14 16:04:37.283816 | fa163eee-cfb0-e8f6-98ee-00000000000f | SKIPPED | Set whole-disk file based default image | localhost
2021-05-14 16:04:37.286477 | fa163eee-cfb0-e8f6-98ee-00000000000f | TIMING | Set whole-disk file based default image | localhost | 0:00:02.453015 | 0.07s
2021-05-14 16:04:37.299007 | fa163eee-cfb0-e8f6-98ee-000000000010 | TASK | Set glance based default image
2021-05-14 16:04:37.386309 | fa163eee-cfb0-e8f6-98ee-000000000010 | OK | Set glance based default image | localhost
2021-05-14 16:04:37.389163 | fa163eee-cfb0-e8f6-98ee-000000000010 | TIMING | Set glance based default image | localhost | 0:00:02.555726 | 0.09s
2021-05-14 16:04:37.401391 | fa163eee-cfb0-e8f6-98ee-000000000012 | TASK | Expand roles
2021-05-14 16:04:40.870907 | fa163eee-cfb0-e8f6-98ee-000000000012 | CHANGED | Expand roles | localhost
2021-05-14 16:04:40.881323 | fa163eee-cfb0-e8f6-98ee-000000000012 | TIMING | Expand roles | localhost | 0:00:06.047883 | 3.48s
2021-05-14 16:04:40.910892 | fa163eee-cfb0-e8f6-98ee-000000000013 | TASK | Find existing instances
2021-05-14 16:04:45.780886 | fa163eee-cfb0-e8f6-98ee-000000000013 | FATAL | Find existing instances | localhost | error={"changed": false, "msg": "Requested hostname overcloud-controller-0
was not found, but the deployed node 7c7faadb-6ca0-407a-8473-edae5af9f885 has a matching name. Refusing to proceed to avoid confusing results. Please either rename the node or use a different
hostname"}
2021-05-14 16:04:45.792168 | fa163eee-cfb0-e8f6-98ee-000000000013 | TIMING | Find existing instances | localhost | 0:00:10.958628 | 4.88s
(undercloud) [centos@undercloud ~]$ openstack baremetal allocation list
<EMPTY>
## No allocations
(undercloud) [centos@undercloud ~]$ metalsmith list
+--------------------------------------+-------------------------+-----------------+-------------------------+--------+------------------------+
| UUID | Node Name | Allocation UUID | Hostname | State | IP Addresses |
+--------------------------------------+-------------------------+-----------------+-------------------------+--------+------------------------+
| 7c7faadb-6ca0-407a-8473-edae5af9f885 | baremetal-26438-leaf1-0 | | baremetal-26438-leaf1-0 | ACTIVE | ctlplane=192.168.25.22 |
| 8bf203e1-1ec2-4fee-a403-6fc43bce6644 | baremetal-26438-leaf1-1 | | baremetal-26438-leaf1-1 | ACTIVE | ctlplane=192.168.25.19 |
| ebb1b522-ea9c-4b70-a9d0-85b491136fb2 | baremetal-26438-leaf1-2 | | baremetal-26438-leaf1-2 | ACTIVE | ctlplane=192.168.25.11 |
| b9da411f-2446-48ba-a112-ecfd4aa28abb | baremetal-26438-leaf2-0 | | baremetal-26438-leaf2-0 | ACTIVE | ctlplane=192.168.26.21 |
+--------------------------------------+-------------------------+-----------------+-------------------------+--------+------------------------+
https://opendev.org/openstack/tripleo-ansible/src/branch/master/tripleo_ansible/ansible_plugins/module_utils/baremetal_deploy.py#L454-L461
Workaround is to manually create allocations in ironic.
(undercloud) [centos@undercloud ~]$ openstack baremetal allocation create --node 7c7faadb- 6ca0-407a- 8473-edae5af9f8 85 --name overcloud- controller- 0 ------- ----+-- ------- ------- ------- ------- ------- -+ ------- ----+-- ------- ------- ------- ------- ------- -+ 14T16:35: 47+00:00 | controller- 0 | 6ca0-407a- 8473-edae5af9f8 85 | 14T16:35: 47+00:00 | 9cae-4ab7- 950a-6c91e3a0d3 61 | ------- ----+-- ------- ------- ------- ------- ------- -+ ea9c-4b70- a9d0-85b491136f b2 --name overcloud- controller- 1 ------- ----+-- ------- ------- ------- ------- ------- -+ ------- ----+-- ------- ------- ------- ------- ------- -+ 14T16:36: 20+00:00 | controller- 1 | ea9c-4b70- a9d0-85b491136f b2 | 14T16:36: 20+00:00 | d60d-4697- b110-e51a855444 6f | ------- ----+-- ------- ------- ------- ------- ------- -+ 1ec2-4fee- a403-6fc43bce66 44 --name overcloud- controller- 2 ------- ----+-- ------- ------- ------- ------- ------- -+ ------- ----+-- ------- ------- ------- ------- ------- -+ 14T16:36: 51+00:00 | controller- 2 | 1ec2-4fee- a403-6fc43bce66 44 | 14T16:36: 51+00:. ..
+------
| Field | Value |
+------
| candidate_nodes | [] |
| created_at | 2021-05-
| extra | {} |
| last_error | None |
| name | overcloud-
| node_uuid | 7c7faadb-
| owner | None |
| resource_class | baremetal |
| state | active |
| traits | [] |
| updated_at | 2021-05-
| uuid | a9078fb1-
+------
(undercloud) [centos@undercloud ~]$ openstack baremetal allocation create --node ebb1b522-
+------
| Field | Value |
+------
| candidate_nodes | [] |
| created_at | 2021-05-
| extra | {} |
| last_error | None |
| name | overcloud-
| node_uuid | ebb1b522-
| owner | None |
| resource_class | baremetal |
| state | active |
| traits | [] |
| updated_at | 2021-05-
| uuid | 7ea12da4-
+------
(undercloud) [centos@undercloud ~]$ openstack baremetal allocation create --node 8bf203e1-
+------
| Field | Value |
+------
| candidate_nodes | [] |
| created_at | 2021-05-
| extra | {} |
| last_error | None |
| name | overcloud-
| node_uuid | 8bf203e1-
| owner | None |
| resource_class | baremetal |
| state | active |
| traits | [] |
| updated_at | 2021-05-