diff options
| author | Pierre Riteau <pierre@stackhpc.com> | 2024-11-29 23:34:41 +0100 |
|---|---|---|
| committer | Maksim Malchuk <maksim.malchuk@gmail.com> | 2026-07-14 23:35:20 +0300 |
| commit | cafb8d5e1af143c83ca3dfe239e50d8bbc5f6ac5 (patch) | |
| tree | 8a33fae48cfdf0c4b24fd07b5e7ba6c95884e1e2 /releasenotes/notes | |
| parent | be320a0368bd0fa93031195179aa79af0c623cef (diff) | |
| download | kolla-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 'releasenotes/notes')
| -rw-r--r-- | releasenotes/notes/bug-2051011-e78146d498a5875a.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/bug-2051011-e78146d498a5875a.yaml b/releasenotes/notes/bug-2051011-e78146d498a5875a.yaml new file mode 100644 index 000000000..1195b2d6e --- /dev/null +++ b/releasenotes/notes/bug-2051011-e78146d498a5875a.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes ``nova-compute`` failing to start after ``/var/lib/nova`` content has + been wiped, for example following a reprovisioning. + `LP#2051011 <https://launchpad.net/bugs/2051011>`__ |
