338ceaca81
This commit deprecates the dcmanager subcloud reinstall and reconfig in favor of the new 'dcmanager subcloud redeploy' and 'dcmanager subcloud deploy config' commands, respectively. This commit also removes unused constants, add missing deploy states to the subcloud audit function and to the subcloud restore invalid state list, and fixes the api-ref method for the deploy install and resume commands. Test Plan: 1. PASS - Call the reinstall API endpoint and verify that it returns the 410 status code with the deprecation notice instructing the use of the /v1.0/subclouds/{subcloud}/redeploy URL; 2. PASS - Call the reconfigure API endpoint and verify that it returns the 410 status code with the deprecation notice instructing the use of the /v1.0/phased-subcloud-deploy/{subcloud}/configure URL. 3. PASS - Change the subcloud deploy state to the new states added to the INVALID_DEPLOY_STATES_FOR_RESTORE, call the subcloud backup restore and verify that the operation is not allowed; 4. PASS - Change the subcloud deploy state to the new states added to the audit function and verify that the audit is not skipped. Story: 2010756 Task: 48572 Change-Id: I9a502a89ec1c6eb23f286a80c7bf39fcbed0b2c4 Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com> |
||
---|---|---|
.. | ||
README.rst | ||
__init__.py | ||
service.py | ||
subcloud_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.