summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorDan Smith <dansmith@redhat.com>2022-11-02 10:54:11 -0700
committerDan Smith <dansmith@redhat.com>2023-01-30 12:46:36 -0800
commite258164f5a6c9ce378fc9828b137d68e9adf5bfd (patch)
tree34f1c7b3c3b4dae7f3e42acfba87547823b78910 /releasenotes
parentf41ee33e0113a569f03941e95f8effc6a784b49a (diff)
downloadnova-e258164f5a6c9ce378fc9828b137d68e9adf5bfd.tar.gz
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
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/stable-compute-uuid-08663a0955616728.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/releasenotes/notes/stable-compute-uuid-08663a0955616728.yaml b/releasenotes/notes/stable-compute-uuid-08663a0955616728.yaml
new file mode 100644
index 0000000000..fdeb593bd2
--- /dev/null
+++ b/releasenotes/notes/stable-compute-uuid-08663a0955616728.yaml
@@ -0,0 +1,19 @@
+---
+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.