StarlingX System Configuration Management
Go to file
Kyle MacLeod ee8333af35 Add subcloud audit parallelization
The subcloud audit for distributed cloud is reworked to audit subclouds
in parallel, using greenthreads.

Parallelization is introduced by organizing the subclouds under audit in
a PriorityQueue, where the queue 'priority' is a timestamp identifying
when the audit should run. To support this, items are inserted into the
queue by the tuple (next-audit-timestamp, SubcloudAuditData)

The existing periodic task infrastructure is maintained but repurposed
as follows: The audit_sc_cert_task now performs the role of scheduler:
pulling any subclouds due for audit off the queue and scheduling them
for execution via a GreenPool.

A new file, subcloud_audit_queue.py, is added to the module to assist
in organizing data associated with the subcloud audits:
- Subcloud audit data is captured in class SubcloudAuditData
- SubcloudAuditPriorityQueue subclasses PriorityQueue to
  provide a specific API for this use case

Story: 2008960
Task: 43242

Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com>
Change-Id: I42ffcde16de2a89856b2220eee034175707aa59a
2021-09-09 16:12:10 -04:00
api-ref/source API reference for kube-rootca-update procedure 2021-09-08 13:31:06 -04:00
config-gate Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
controllerconfig New upgrade script for service parameters 2021-09-02 14:33:08 -03:00
devstack Followup opendev cleanup and test jobs 2019-04-20 21:04:15 -05:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
storageconfig Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
sysinv Add subcloud audit parallelization 2021-09-09 16:12:10 -04: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 tsconfig: Fix py3 compatibility 2021-08-10 10:32:54 -04:00
workerconfig Single puppet manifest for AIO controllers 2021-04-14 22:05:55 -04:00
.gitignore Minor zuul and tox file cleanup after manifest re-org 2019-09-06 15:40:37 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:42 +00:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml py3: Add py39 gate for sysinv 2021-08-27 08:39:06 -04: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
bindep.txt py3: Add py39 gate for sysinv 2021-08-27 08:39:06 -04: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 Add cert-alarm service 2021-07-22 08:29:23 -04:00
centos_pkg_dirs Add cert-alarm service 2021-07-22 08:29:23 -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 Calling an additional shell lint command from zuul 2021-06-03 17:35:50 -05:00
tox.ini Calling an additional shell lint command from zuul 2021-06-03 17:35:50 -05:00

README.rst

stx-config

StarlingX Configuration Management