Redeploying an existing hypervisor with the same hostname results in nova-compute startup error
Bug #2051011 reported by
Pierre Riteau
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
kolla-ansible | Status tracked in Epoxy | |||||
Antelope |
New
|
Undecided
|
Unassigned | |||
Bobcat |
New
|
Undecided
|
Unassigned | |||
Caracal |
New
|
Undecided
|
Unassigned | |||
Dalmatian |
Confirmed
|
Undecided
|
Unassigned | |||
Epoxy |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Starting with 2023.1, there were changes to the Nova compute node identification process: https:/
If a hypervisor is redeployed after wiping its nova_compute Docker volume and the hostname is kept the same, the nova_compute container will fail to start with the following error:
nova.
Kolla Ansible needs support for injecting the compute node UUID into the /var/lib/
Changed in kolla-ansible: | |
status: | New → Confirmed |
no longer affects: | kolla-ansible/dalmatian |
To post a comment you must log in.
Workaround for now:
Find the id from the database:
``select uuid from compute_nodes where hypervisor_ hostname= '<hostname> ';``
Add this to a file under ``/mnt/ nova/compute_ id`` where ``/mnt/nova/`` is mounted as ``/var/lib/nova`` in the nova-compute container.