Can't deploy baremetal instances through overcloud ironic in RHOSP14
Issue
-
We deployed and configured a RHOSP 14 overcloud for baremetal provisioning only.
-
Booting a baremetal instance fails with "No valid host found".
-
nova hypervisor-list
returns no baremetal nodes:
+----+---------------------+-------+--------+
| ID | Hypervisor hostname | State | Status |
+----+---------------------+-------+--------+
+----+---------------------+-------+--------+
- The following messages can be seen in
/var/log/containers/nova/nova-compute.log
:
2019-05-23 05:35:21.521 1 ERROR nova.compute.manager [req-a7625b79-6d71-4d1f-87c1-e6e7a0bcbac7 - - - - -] No compute node record for host overcloud-controller-0.localdomain: ComputeHostNotFound_Remote: Compute host overcloud-controller-0.localdomain could not be found.
2019-05-23 05:35:21.576 1 DEBUG nova.virt.ironic.driver [req-a7625b79-6d71-4d1f-87c1-e6e7a0bcbac7 - - - - -] Returning 0 available node(s) get_available_nodes /usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py:768
- The nova-compute service is running on the controller:
(overcloud) [stack@undercloud ~]$ nova service-list
+--------------------------------------+------------------+--------------------+----------+---------+-------+----------------------------+-----------------+-------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason | Forced down |
+--------------------------------------+------------------+--------------------+----------+---------+-------+----------------------------+-----------------+-------------+
| 07a4f2fc-ee15-4616-b2f6-1e8b3a5e8c7d | nova-conductor | overcloud-controller-0.localdomain | internal | enabled | up | 2019-05-23T05:51:26.000000 | - | False |
| 50506d8c-cdfa-434a-9ca7-af19f6141fe7 | nova-consoleauth | overcloud-controller-0.localdomain | internal | enabled | up | 2019-05-23T05:51:26.000000 | - | False |
| 04aeae5f-2426-41f1-bb0f-2ebe3325febd | nova-scheduler | overcloud-controller-0.localdomain | internal | enabled | up | 2019-05-23T05:51:28.000000 | - | False |
| b7ce26be-1bd0-4ddf-b7e6-3aa257d5256b | nova-compute | overcloud-controller-0.localdomain | nova | enabled | up | 2019-05-23T05:51:28.000000 | - | False |
+--------------------------------------+------------------+--------------------+----------+---------+-------+----------------------------+-----------------+-------------+
Environment
- Red Hat OpenStack Platform 14.0 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.