StarlingX System Configuration Management
Go to file
Tyler Smith f69b131294 Changes to stx-openstack application automatic re-apply behaviour
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 b1895200a4)
2019-08-23 13:54:52 +00:00
api-ref/source New host_fs APIs documentation 2019-07-09 10:34:41 -04:00
config-gate Add notices on Intel authored files. 2019-03-20 10:03:44 -06:00
controllerconfig Create host state for determining initial inventory complete 2019-07-30 11:13:56 -04:00
devstack Followup opendev cleanup and test jobs 2019-04-20 21:04:15 -05:00
doc Fix the error links for config docs 2019-07-03 12:49:04 +00:00
kubernetes Increase rabbitmq pod probe period from 10 to 30s 2019-08-22 16:17:08 +00:00
playbooks/tox-puppet-lint Fixing puppet-lint failures in zuul 2019-06-26 11:30:59 -05:00
pm-qos-mgr Fix invalid syntax in pm_qos_mgr.py 2019-07-09 12:00:59 +00:00
puppet-manifests Restart Docker After Changing Proxy Settings 2019-08-12 19:12:52 +00:00
puppet-modules-wrs Merge "ANSIBLE Bootstrap changes for System Controller" 2019-07-11 17:29:48 +00:00
releasenotes Update config for release notes to include project name 2019-02-05 14:03:49 -08:00
storageconfig Add notices on Intel authored files. 2019-03-20 10:03:44 -06:00
sysinv Changes to stx-openstack application automatic re-apply behaviour 2019-08-23 13:54:52 +00:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
worker-utils add get_platform_cpus 2019-08-01 11:23:22 +08:00
workerconfig Add to worker_config and worker_services keywords to be LSB compliant 2019-06-12 12:46:42 -05:00
.gitignore Update tox.ini files to use stein constraints 2019-06-25 14:45:54 -04:00
.gitreview Update .gitreview for r/stx.2.0 2019-08-06 10:09:32 -05:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml Provide env settings to allow zuul and developers to both run tox 2019-04-30 09:18:46 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
centos_helm.inc Add stx-openstack-helm to the containers build 2018-11-14 11:55:29 -05:00
centos_iso_image.inc Remove playbookconfig from StarlingX config repo 2019-06-14 13:38:50 -04:00
centos_pkg_dirs Remove playbookconfig from StarlingX config repo 2019-06-14 13:38:50 -04:00
centos_pkg_dirs_containers Add stx-openstack-helm to the containers build 2018-11-14 11:55:29 -05:00
centos_stable_wheels.inc Remove wrs-configutilities SDK Module 2019-04-02 11:50:23 -04:00
test-requirements.txt Properly enable hacking checks for flake8 2018-12-18 11:28:56 -06:00
tox.ini Update tox.ini files to use stein constraints 2019-06-25 14:45:54 -04:00

README.rst

stx-config

StarlingX Configuration Management