
1. Refactor dcorch's generic_sync_manager.py and initial_sync_manager into a main process manager and a worker manager. The main manager will handle the allocation of eligible subclouds to each worker. 2. Rename the current EngineService to EngineWorkerService and introduce a new EngineService for the main process, similar to DCManagerAuditService and DCManagerAuditWorkerService. 3. Rename the current RPC EngineClient to EngineWorkerClient and introduce a new EngineClient. Adapt the RPC methods to accommodate the modifications in these main process managers and worker managers. 4. Move master resources data retrieval from each sync_thread to engine workers. 5. Implement 2 new db APIs for subcloud batch sync and state updates. 6. Remove code related to sync_lock and its associated db table schema. 7. Add ocf script for managing the start and stop of the dcorch engine-worker service, and make changes in packaging accordingly. 8. Bug fixes for the issues related to the usage of base64.urlsafe_b64encode and base64.urlsafe_b64decode in python3. 9. Update unit tests for the main process and worker managers. Test Plan: PASS: Verify that the dcorch audit runs properly every 5 minutes. PASS: Verify that the initial sync runs properly every 10 seconds. PASS: Verify that the sync subclouds operation runs properly every 5 seconds. PASS: Successfully start and stop the dcorch-engine and dcorch-engine-worker services using the sm commands. PASS: Change the admin password on the system controller using the command "openstack --os-region-name SystemController user password set". Verify that the admin password is synchronized to the subcloud and the dcorch receives the corresponding sync request, followed by successful execution of sync resources for the subcloud. PASS: Unmanage and then manage a subcloud, and verify that the initial sync is executed successfully for that subcloud. PASS: Verify the removal of the sync_lock table from the dcorch db. Story: 2011106 Task: 50013 Change-Id: I329847bd1107ec43e67ec59bdd1e3111b7b37cd3 Signed-off-by: lzhu1 <li.zhu@windriver.com>
16 lines
524 B
Plaintext
16 lines
524 B
Plaintext
etc/dcorch/dcorch.conf
|
|
usr/bin/clean-dcorch
|
|
usr/bin/dcorch-api
|
|
usr/bin/dcorch-api-proxy
|
|
usr/bin/dcorch-engine
|
|
usr/bin/dcorch-engine-worker
|
|
usr/bin/dcorch-manage
|
|
usr/lib/ocf/resource.d/openstack/dcorch-*
|
|
usr/lib/python3/dist-packages/dcorch/*
|
|
usr/lib/systemd/system/dcorch-api.service
|
|
usr/lib/systemd/system/dcorch-engine.service
|
|
usr/lib/systemd/system/dcorch-engine-worker.service
|
|
usr/lib/systemd/system/dcorch-sysinv-api-proxy.service
|
|
usr/lib/systemd/system/dcorch-identity-api-proxy.service
|
|
usr/lib/tmpfiles.d/dcorch.conf
|