67215f30fe
This commit updates dcorch to use the newly introduced dbsync service
APIs to synchronize identity resources from central cloud to subclouds.
The following identity resources are synced:
- users (local users only)
- user passwords
- projects
- roles
- project role assignments
- token revocation events
Story: 2002842
Task: 22787
Signed-off-by: Andy Ning <andy.ning@windriver.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
sync_services | ||
__init__.py | ||
alarm_aggregate_manager.py | ||
dc_orch_lock.py | ||
fernet_key_manager.py | ||
generic_sync_manager.py | ||
quota_manager.py | ||
README.rst | ||
scheduler.py | ||
service.py | ||
subcloud.py | ||
sync_thread.py |
Service
Distributed Cloud Orchestration Engine Service has responsibility for:
Monitoring the subcloud status, and return the result if needed.
There is a single engine, with each subcloud having one persistent sync thread per endpoint-type. Sync audit threads will be created on demand as needed.
- service.py:
-
run orchengine service, and establish RPC server
- generic_sync_manager.py
-
Manages all the generic resource syncing.