Unable to Create Virtual Machine on Compute Host – Host Not Mapped to Any Cell
PreviousUnable to Deploy Windows VM Using ISO With AMD-Based CPUNextVM Creation Failure Due to Glance Host and Stale OVN NetNS Issue
Last updated
Last updated
$ nova-manage cell_v2 list_hosts
+--------------+--------------+---------------------+
| Cell Name | Cell UUID | Hostname |
+--------------+--------------+---------------------+
| [CELL_NAME] | [CELL_UUID] | [HOST1.EXAMPLE.COM] |
| [CELL_NAME] | [CELL_UUID] | [HOST2.EXAMPLE.COM] |
+--------------+--------------+---------------------+$ openstack compute service list --host <HOST3.EXAMPLE.COM>
+------------------------+--------------+---------------------+-----------------+---------+-------+--------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+------------------------+--------------+---------------------+---------------------------+-------+--------------+
| [COMPUTE_SERVICE_UUID] | nova-compute | [HOST3.EXAMPLE.COM] | [CLUSTER_NAME] | enabled | up | [TIME_STAMP] |
+------------------------+--------------+--------------+------------------------+---------+-------+--------------+$ nova-manage cell_v2 discover_hosts --verbose --by-service
Found [CELL_MAPPINGS_COUNT] cell mappings.
Getting computes from cell '[CELL_NAME]': [CELL_UUID]
Creating host mapping for service [HOST3.EXAMPLE.COM]
Found [MISSING_COMPUTES_COUNT] unmapped computes in cell: [CELL_UUID]$ nova-manage cell_v2 list_hosts
+--------------+-------------+---------------------+
| Cell Name | Cell UUID | Hostname |
+--------------+-------------+---------------------+
| [CELL_NAME] | [CELL_UUID] | [HOST1.EXAMPLE.COM] |
| [CELL_NAME] | [CELL_UUID] | [HOST2.EXAMPLE.COM] |
| [CELL_NAME] | [CELL_UUID] | [HOST3.EXAMPLE.COM] |
+--------------+-------------+---------------------+$ openstack compute service list --host <HOST3.EXAMPLE.COM>
+------------------------+--------------+---------------------+-----------------+---------+-------+--------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+------------------------+--------------+---------------------+---------------------------+-------+--------------+
| [COMPUTE_SERVICE_UUID] | nova-compute | [HOST3.EXAMPLE.COM] | [CLUSTER_NAME] | enabled | up | [TIME_STAMP] |
+------------------------+--------------+--------------+------------------------+---------+-------+--------------+