osism / issues

This repository is used for bug reports that are cross-project or not bound to a specific repository (or to an unknown repository).
https://www.osism.tech
1 stars 1 forks source link

[bug] Redeploying an existing hypervisor with the same hostname results in nova-compute startup error #1077

Open berendt opened 2 months ago

berendt commented 2 months ago

OSISM release version

7.1.0

What's the problem?

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!

References to existing reports

Severity

low

Urgency

low

berendt commented 2 months ago
  1. Get the ID of the hypervisor
$ openstack --os-cloud admin hypervisor show -f value -c id testbed-node-0
a78b460d-2a38-4d50-b904-7eddbe6cfccb
  1. Add this ID to /var/lib/nova/compute_id (in the case you use local storage)

# echo -n "a78b460d-2a38-4d50-b904-7eddbe6cfccb" > /var/lib/nova/compute_id