StarlingX System Configuration Management
efa5f521c3
Configmap is the default helmv2 storage backend to store release information but its 1MB resource limit prevents scaling up stx openstack worker nodes, so we want to use SQL as helm storage backend. To configure SQL backend, generate helm database hieradata that will be used in puppet to create helm database. The helm database password is stored in keyring which can be retrieved in ansible playbook to configure database connection address. System upgrade support: The helm DB is new in the release stx5.0, so a password is generated for helm user. Helm user and password are written into the hieradata of release stx5.0. For AIO-SX upgrade, helm DB is created when applying bootstrap puppet manifest during ansible upgrade playbook. For two controllers upgrade, helm DB is created when applying upgrade puppet manifest during controller-1 upgrade. A migration script is created to migrate helm releases from configmap to postgresql. Partial-Bug: 1887677 Depends-On: https://review.opendev.org/#/c/761642/ Change-Id: I2f4f414068af297b5f4a3792c061443b7d3bdb32 Signed-off-by: Angie Wang <angie.wang@windriver.com> |
||
---|---|---|
api-ref/source | ||
config-gate | ||
controllerconfig | ||
devstack | ||
doc | ||
releasenotes | ||
storageconfig | ||
sysinv | ||
tmp/patch-scripts/EXAMPLE_SYSINV/scripts | ||
tools/docker/images | ||
tsconfig | ||
workerconfig | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
centos_build_layer.cfg | ||
centos_dev_wheels.inc | ||
centos_helm.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_pkg_dirs_containers | ||
centos_stable_wheels.inc | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
test-requirements.txt | ||
tox.ini |
stx-config
StarlingX Configuration Management