summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-02-01 07:12:48 +0000
committerGerrit Code Review <review@openstack.org>2023-02-01 07:12:48 +0000
commite9d716f555f4340615226a4ae62449f79620ab91 (patch)
tree461a84039d63f2cc349d4e978027e6d28e309528 /releasenotes
parentc993d8d311474e8ba8a768e4db02e7898011cda8 (diff)
parente258164f5a6c9ce378fc9828b137d68e9adf5bfd (diff)
downloadnova-e9d716f555f4340615226a4ae62449f79620ab91.tar.gz
Merge "Detect host renames and abort startup"
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.