aboutsummaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorMichal Arbet <michal.arbet@ultimum.io>2025-06-12 13:29:43 +0200
committerMichal Arbet <michal.arbet@ultimum.io>2025-06-19 14:23:35 +0200
commitcf3c65fef7c51b8f54c32bfa58574f58ad4071c8 (patch)
treede5a59ac86eeab0b42f232c665ba08def689ab67 /releasenotes
parent2319d121451167c2519938c234de2c65e7d3a797 (diff)
downloadkolla-cf3c65fef7c51b8f54c32bfa58574f58ad4071c8.tar.gz
kolla-cf3c65fef7c51b8f54c32bfa58574f58ad4071c8.zip
Fix kolla-set-configs --check to detect state mismatch
If a configuration file is tracked in the state file but no longer appears in config.json, it should either be restored or removed. This patch introduces a new exception StateMismatch and updates execute_config_check() to detect such cases. If any destination path is present in the defaults state but missing from config.json, we now raise StateMismatch. A dedicated unit test has been added to verify this behavior. Closes-Bug: #2114173 Signed-off-by: Michal Arbet <michal.arbet@ultimum.io> Change-Id: I6e0b4aaa5722990e3ac647578023f474db3d4381
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/bug-2114173-70d0b815a42ae239.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/bug-2114173-70d0b815a42ae239.yaml b/releasenotes/notes/bug-2114173-70d0b815a42ae239.yaml
new file mode 100644
index 000000000..29349be97
--- /dev/null
+++ b/releasenotes/notes/bug-2114173-70d0b815a42ae239.yaml
@@ -0,0 +1,6 @@
+---
+fixes:
+ - |
+ Fixes set_configs.py not detecting removed config files
+ during --check, which prevented container restart when
+ needed. `LP#2114173 <https://launchpad.net/bugs/2114173>`__