Comment 0 for bug 1757207

Revision history for this message
Hanif Kukkalli (kukkalli) wrote :

Description
===========
When I execute the command `nova-status upgrade check`,
output:

nova-status upgrade check
+----------------------------------------------------------------------+
| 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 4 compute resource providers and 15 compute nodes |
| in the deployment. Ideally the number of compute resource |
| providers should equal the number of enabled compute nodes |
| otherwise the cloud may be underutilized. See |
| http://docs.openstack.org/developer/nova/placement.html |
| for more details. |
+----------------------------------------------------------------------+

How to replicate this?
Remove the hosts from the openstack controller:
nova hypervisor-list
nova service-delete {id}

Then run:
su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova
The deleted compute node will be added again as a new node.
run:
nova-status upgrade check

You can find this warning.
This causes issue with placement of new VM's.
The deleted compute host will not be considered during VM scheduling and placement.