f69b131294
The stx-openstack application is no longer automatically reapplied
on node unlock. The new behaviour is handled with a reapply flag:
- When a node is unlocked, or a runtime manifest is applied,
overrides are regenerated and compared to
their old values. If there is a difference a reapply flag is raised
along with a warning alarm
- A check was added to the kubernetes audit in the sysinv conductor
to check if the reapply flag has been raised and to trigger a reapply
if the system is in a stable state (no hosts currently
locking/unlocking/booting)
- This check is also done when a runtime manifest reports success
Test cases:
AIO-SX, AIO-DX, and Standard:
- When a lock/unlock is done with no changes the application is
not reapplied
- When a lock/unlock is done after a config change is made the
application waits until after the unlock and then triggers a reapply
STANDARD
- Enabled ceph-rgw chart and ensured that the application was reapplied upon
config success (likewise for chart disable)
- If there is a pending reapply, and the user triggers it before the
system is stable the reapply flag and alarm are removed
- Provisioning a new compute node and unlocking it for the
first time triggers an application reapply after it comes online
- App is reapplied when a node is deleted
- Compute added without node labels and unlocked results in no reapply
- Compute locked, labels applied, then unlocked results in a reapply
pods launch on compute only when labels present (likewise for label removal)
- Pending reapply flag and alarm persist over a controller swact
Change-Id: I1ae9fdc2afcdf831cf0e7d96f8af14fcb5f6b579
Closes-Bug: 1837750
Depends-On: https://review.opendev.org/#/c/678232
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
(cherry picked from commit
|
||
---|---|---|
api-ref/source | ||
config-gate | ||
controllerconfig | ||
devstack | ||
doc | ||
kubernetes | ||
playbooks/tox-puppet-lint | ||
pm-qos-mgr | ||
puppet-manifests | ||
puppet-modules-wrs | ||
releasenotes | ||
storageconfig | ||
sysinv | ||
tmp/patch-scripts/EXAMPLE_SYSINV/scripts | ||
worker-utils | ||
workerconfig | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
centos_helm.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_pkg_dirs_containers | ||
centos_stable_wheels.inc | ||
test-requirements.txt | ||
tox.ini |
README.rst
stx-config
StarlingX Configuration Management