Openstack queens: minimal install, placement(?) issue.
I followed the minimal deployment for queens from the docs: https://docs.openstack.org/nova/queens/install/ (https://docs.openstack.org/nova/queen...)
At the verify stage I get:
+-------------------------------------------------------------------+
| Upgrade Check Results |
+-------------------------------------------------------------------+
| Check: Cells v2 |
| Result: Success |
| Details: None |
+-------------------------------------------------------------------+
| Check: Placement API |
| Result: Success |
| Details: None |
+-------------------------------------------------------------------+
| Check: Resource Providers |
| Result: Warning |
| Details: There are no compute resource providers in the Placement |
| service but there are 3 compute nodes in the deployment. |
| This means no compute nodes are reporting into the |
| Placement service and need to be upgraded and/or fixed. |
| See |
| https://docs.openstack.org/nova/latest/user/placement.html |
| for more details. |
+-------------------------------------------------------------------+
| Check: Ironic Flavor Migration |
| Result: Success |
| Details: None |
+-------------------------------------------------------------------+
| Check: API Service Version |
| Result: Success |
| Details: None |
+-------------------------------------------------------------------+
The compute service list looks OK:
+----+------------------+-----------------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+----+------------------+-----------------+----------+---------+-------+----------------------------+
| 1 | nova-consoleauth | ostack1 | internal | enabled | up | 2019-02-25T22:00:51.000000 |
| 2 | nova-scheduler | ostack1 | internal | enabled | up | 2019-02-25T22:00:55.000000 |
| 3 | nova-conductor | ostack1 | internal | enabled | up | 2019-02-25T22:00:55.000000 |
| 15 | nova-compute | ostack2 | nova | enabled | up | 2019-02-25T22:00:49.000000 |
| 16 | nova-compute | ostack3 | nova | enabled | up | 2019-02-25T22:00:55.000000 |
| 17 | nova-compute | ostack4 | nova | enabled | up | 2019-02-25T22:00:57.000000 |
+----+------------------+-----------------+----------+---------+-------+----------------------------+
And nova-manage cell_v2 list_hosts looks ok to me, but this is my first time using cells:
+-----------+--------------------------------------+-----------------+
| Cell Name | Cell UUID | Hostname |
+-----------+--------------------------------------+-----------------+
| cell1 | e2502b9a-b0d5-4dbd-a7a9-5d550e722c3a | ostack2 |
| cell1 | e2502b9a-b0d5-4dbd-a7a9-5d550e722c3a | ostack3 |
| cell1 | e2502b9a-b0d5-4dbd-a7a9-5d550e722c3a | ostack4 |
+-----------+--------------------------------------+-----------------+
Attempts at starting a VM in that condition result in "No valid host was found...". What did I do wrong with this setup? Is there another step other than discover_hosts I missed?
Thanks --Kyle
You deployed nova-compute on three nodes. While they registered with Nova, they also need to register with the Placement service. And that obviously failed.
Look for clues in the nova-compute and the placement log files.
I think i have same problem like this, but i'm using Rocky running on 2 server with Centos. Where i can find placement.conf ?. Thanks.
@battossai it looks like there is no placement.conf in Rocky. It’s configured in nova.conf.
See https://docs.openstack.org/nova/rocky... for deployment documentation.
i belive i have follow this : https://docs.openstack.org/nova/rocky/install/controller-install-rdo.html (https://docs.openstack.org/nova/rocky...) with this : https://docs.openstack.org/nova/rocky/user/placement.html#deployment (https://docs.openstack.org/nova/rocky...), i just don't understand where to see, any clue ?
It is sufficient to follow the install guide (your first URL).