aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPierre Riteau <pierre@stackhpc.com>2024-11-29 23:34:41 +0100
committerMaksim Malchuk <maksim.malchuk@gmail.com>2026-07-14 23:35:20 +0300
commitcafb8d5e1af143c83ca3dfe239e50d8bbc5f6ac5 (patch)
tree8a33fae48cfdf0c4b24fd07b5e7ba6c95884e1e2 /tests
parentbe320a0368bd0fa93031195179aa79af0c623cef (diff)
downloadkolla-ansible-cafb8d5e1af143c83ca3dfe239e50d8bbc5f6ac5.tar.gz
kolla-ansible-cafb8d5e1af143c83ca3dfe239e50d8bbc5f6ac5.zip
Fix nova-compute startup after reprovisioning
We need to restore the /var/lib/nova/compute_id file to avoid nova-compute failing to start with the following error: nova.exception.InvalidConfiguration: No local node identity found, but this is not our first startup on this host. Refusing to start after potentially having lost that state! K-A now query IDs of hypervisors by their hostname and create necessary compute_id file under node config directory for nova-compute before starting nova-compute containers. The compute_id file gets copied under /var/lib/nova/ on container start up. Co-Authored-By: bjorn lofdahl <bjorn.lofdahl@gmail.com> Co-Authored-By: Seunghun Lee <seunghun@stackhpc.com> Co-Authored-By: Owen Jones <owen@stackhpc.com> Change-Id: If635577fa240f0953ad02d2c28473480d9ad011d Closes-Bug: #2051011 Signed-off-by: Owen Jones <owen@stackhpc.com> Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com> (cherry picked from commit 3e4cfd49da38c7db2ac3ad47a75dc89b14cbb513)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions