StarlingX System Configuration Management
Go to file
Shuicheng Lin 1c3ba77065 Audit local registry secret info when there is user update in keystone
local registry uses admin's username&password for authentication.
And admin's password could be changed by openstack client cmd. It will
cause auth info in secrets obsolete, and lead to invalid authentication
in keystone.
To keep secrets info updated, keystone event notification is enabled.
And event notification listener is added in sysinv. So when there is
user password change, a user update event will be sent out by keystone.
And sysinv will call function audit_local_registry_secrets to check
whether kubernetes secret info need be updated or not.

A periodic task is added also to ensure secrets are always synced, in
case notification is missed or there is failure in handle notification.

oslo_messaging is added to tox's requirements.txt to avoid tox failure.
The version is based on global-requirements.txt from Openstack Train.

Test:
Pass deployment and secrets could be updated automatically with new auth
info.
Pass host-swact in duplex mode.

Closes-Bug: 1853017
Depends-On: https://review.opendev.org/707154
Depends-On: https://review.opendev.org/707155
Change-Id: I959b65288e0834b989aa87e40506e41d0bba0d59
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
(cherry picked from commit 8ab1e2d7c6)
2020-02-12 01:23:24 +00:00
api-ref/source Support for NTP/PTP coexistence 2019-09-17 14:45:18 -04:00
config-gate Update opensuse RPM spec-file version to 1.0.0 2019-10-16 14:54:29 -07:00
controllerconfig Merge "Traffic control fixes and refresh" 2019-10-30 18:04:37 +00: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
playbooks/tox-puppet-lint Fixing puppet-lint failures in zuul 2019-06-26 11:30:59 -05:00
releasenotes Update config for release notes to include project name 2019-02-05 14:03:49 -08:00
storageconfig Update opensuse RPM spec-file version to 1.0.0 2019-10-16 14:54:29 -07:00
sysinv Audit local registry secret info when there is user update in keystone 2020-02-12 01:23:24 +00:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
tools/docker/images Enable kubernetes SCTPSupport feature 2019-09-03 19:23:05 +00:00
tsconfig Security: Allow disabling of spectre v1 swapgs mitigation 2020-01-31 16:25:47 -05:00
workerconfig Merge "Removing unused flag disable_worker_services" 2019-11-04 13:52:11 +00:00
.gitignore Minor zuul and tox file cleanup after manifest re-org 2019-09-06 15:40:37 -05:00
.gitreview Update .gitreview for r/stx.3.0 2019-11-28 08:21:17 -05:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml Add build rpms zuul job template 2019-10-17 13:49:22 +00: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_build_layer.cfg Build layering, add layer build config file 2019-10-15 12:29:05 +08:00
centos_dev_wheels.inc Config file changes to add 'tsconfig' after relocation from 'update' 2019-09-05 11:51:05 -04:00
centos_helm.inc Infrastructure and Cluster Monitoring 2019-08-21 17:19:54 -04:00
centos_iso_image.inc Config file changes for packages relocated to repo 'platform-armada-app' 2019-09-05 11:52:28 -04:00
centos_pkg_dirs Config file changes for packages relocated to repo 'platform-armada-app' 2019-09-05 11:52:28 -04:00
centos_pkg_dirs_containers Config file changes for packages relocated to repo 'openstack-armada-app' 2019-09-05 10:42:00 -04:00
centos_stable_wheels.inc Config file changes to add 'tsconfig' after relocation from 'update' 2019-09-05 11:51:05 -04:00
test-requirements.txt Properly enable hacking checks for flake8 2018-12-18 11:28:56 -06:00
tox.ini Relocated some packages to repo 'platform-armada-app' 2019-09-05 16:18:14 -04:00

README.rst

stx-config

StarlingX Configuration Management