28aa599715
This update enhanced dcmanager to be able to manage containerized openstack services of subclouds that have openstack application deployed. dcmanager audit query subcloud periodically to check whether stx-openstack application is installed or not. If it's installed from previous uninstalled, the subcloud's "openstack_installed" field will be updated from "False" to "True", openstack sync endpoint types will be added into subcloud sync endpoint type list, and notify dcorch to update its sync threads. If it's uninstalled from previous installed, the subcloud's "openstack_installed" field will be updated from "True" back to "False", openstack sync endpoint types will be removed from subcloud sync endpoint type list, and notify dcorch to update its sync threads. The endpoint type sync status of openstack services will be available to dcmanager commands such as "dcmanager subcloud list". Change-Id: I651bebbef0f0a4dd39ec2371a7397c066c747622 Story: 2004766 Task: 36261 Signed-off-by: Andy Ning <andy.ning@windriver.com> |
||
---|---|---|
.. | ||
README.rst | ||
__init__.py | ||
patch_audit_manager.py | ||
scheduler.py | ||
service.py | ||
subcloud_audit_manager.py | ||
subcloud_manager.py | ||
sw_update_manager.py |
README.rst
Service
- DC Manager Service has responsibility for:
-
Main subcloud state machine as well as all operations on subclouds including creation, deletion and update.
- service.py:
-
run DC Manager service in multi-worker mode, and establish RPC server
- subcloud_manager.py:
-
Manages all subcloud related activities such as creation, deletion, availability status, management state
- audit_manager.py:
-
A Periodic audit to contact each subcloud and ensure that at least one of each service group is up and active, which is a pre-requisite for declaring a subcloud as online.
- scheduler.py:
-
Thread group manager, also responsible for periodic timer tasks - ie. audit.