Files
nova/releasenotes/notes/stable-compute-uuid-08663a0955616728.yaml
Dan Smith e258164f5a Detect host renames and abort startup
Except on ironic, if we are able to determine that our locally-
configured node has a hostname other than what we expect, we should
abort startup. Since we currently depend on the loose name-based
association of nodes, services, and instances, we need to make sure
we do not startup in an inconsistent configuration.

Related to blueprint stable-compute-uuid
Change-Id: I595b27a57516cffe1f172cf2fb736e1b11373a1d
2023-01-30 12:46:36 -08:00

20 lines
1.1 KiB
YAML

---
features:
- |
The compute manager now uses a local file to provide node uuid persistence
to guard against problems with renamed services, among other things.
Deployers wishing to ensure that *new* compute services get a predicatble
uuid before initial startup may provision that file and nova will use it,
otherwise nova will generate and write one to a `compute_id` file in
`CONF.state_path` the first time it starts up. Accidental renames of a
compute node's hostname will be detected and the manager will exit to avoid
database corruption. Note that none of this applies to Ironic computes, as
they manage nodes and uuids differently.
upgrade:
- |
Existing compute nodes will, upon upgrade, perist the uuid of the compute
node assigned to their hostname at first startup. Since this must match
what is currently in the database, it is important to let nova provision
this file from its database. Nova will only persist to a `compute_id` file
in the `CONF.state_path` directory, which should already be writable.