a7ca6368cd
In this commit, the trigger of the audits were removed from the manage action and moved to trigger only when the identity endpoint is updated from unknown to other statuses. This was done to avoid a race condition between dcdbsync and the subcloud audit where the subcloud audit would fail to role not found. The first_identity_sync_complete field was add to not allow the audit of any endpoint to be done before the first identity sync is complete, in order to avoid keystone errors. Test Plan: PASS: Add 250 subclouds and manage them all at the same time and verify that all subclouds went in-sync without errors from any endpoint audit. PASS: Unmanage a subcloud and manage it back and verify that the subcloud is in-sync PASS: Create a role to update the identity status from in-sync -> out-of-sync -> in-sync and verify that no extra subcloud audits were triggered. PASS: Re-install a subcloud that was managed and then manage that subcloud and verify that the others endpoints audit were only triggered after the identity sync was complete Closes-Bug: 2019857 Signed-off-by: Christopher Souza <Christopher.DeOliveiraSouza@windriver.com> Change-Id: Ied7a3ed99112daeb7af9dd39ad7780c60f451e0e |
||
---|---|---|
.. | ||
__init__.py | ||
barbican.py | ||
fm.py | ||
keystone_v3.py | ||
patching_v1.py | ||
sdk_platform.py | ||
sysinv_v1.py | ||
vim.py |