So interesting! I have been spending hours (days soon) trying to resolve this.
I deployed the rocky release using packstack on centos 7.5.1804 and an allinone deployment. packstack succeeds but I cannot spawn an instance. Tried to redeploy after setting selinux in permissive mode. same result.
[root@openstack nova(keystone_admin)]# /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting computes from cell 'default': d26a5f4e-b59f-4e1b-808f-7caa29f9f5b2
Found 0 unmapped computes in cell: d26a5f4e-b59f-4e1b-808f-7caa29f9f5b2
Multiple ways of finding out the same thing...
[root@openstack nova(keystone_admin)]# nova-status upgrade check
+--------------------------------------------------------------------+
| Upgrade Check Results |
+--------------------------------------------------------------------+
| Check: Cells v2 |
| Result: Success |
| Details: No host mappings or compute nodes were found. Remember to |
| run command 'nova-manage cell_v2 discover_hosts' when new |
| compute hosts are deployed. |
+--------------------------------------------------------------------+
| Check: Placement API |
| Result: Success |
| Details: None |
+--------------------------------------------------------------------+
| Check: Resource Providers |
| Result: Success |
| Details: There are no compute resource providers in the Placement |
| service nor are there compute nodes in the database. |
| Remember to configure new compute nodes to report into the |
| Placement service. See |
| https://docs.openstack.org/nova/latest/user/placement.html |
| for more details. |
+--------------------------------------------------------------------+
From nova-placement-api.log:
2018-11-22 16:25:02.813 28109 INFO nova.scheduler.host_manager [req-624b4df5-30e7-4eb5-bbff-f7d14f50fb13 - - - - -] Host mapping not found for host openstack.frippe.com. Not tracking instance info for this host.
2018-11-22 16:25:02.813 28109 INFO nova.scheduler.host_manager [req-624b4df5-30e7-4eb5-bbff-f7d14f50fb13 - - - - -] Received a sync request from an unknown host 'openstack.xxx.com'. Re-created its InstanceList.
2018-11-22 17:52:12.870 28109 INFO nova.scheduler.manager [req-d7b6724d-7406-4cf6-a747-f428c49aa302 e763008d9b3e49e2803d39ad1d43696e d365b3a65ba6428f86119b6f84fac7e8 - default default] Got no allocation candidates from the Placement API. This could be due to insufficient resources or a temporary occurrence as compute nodes start up.
2018-11-23 04:59:54.091 28108 INFO nova.scheduler.manager [req-1c63094b-0c63-4b26-ad1f-865777293c8e e763008d9b3e49e2803d39ad1d43696e d365b3a65ba6428f86119b6f84fac7e8 - default default] Got no allocation candidates from the Placement API. This could be due to insufficient resources or a temporary occurrence as compute nodes start up.
I do get something from service list:
[root@openstack nova(keystone_admin)]# openstack compute service list --service nova-compute
+----+--------------+----------------------+------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+----+--------------+----------------------+------+---------+-------+----------------------------+
| 10 | nova-compute | openstack.xxx.com | nova | enabled | up | 2018-11-23T04:14:33.000000 |
+----+--------------+----------------------+------+---------+-------+----------------------------+
https://ask.openstack.org/en/question...