Fix: DC orch re-enters completed/failed state sometimes
Sometimes DC orchestration can re-enter the same state
after it has either failed or completed. This issue can
only be observed when a large number of subcloud
orchestration is performed. As the problematic code
appears to be in orch_thread.py, it affects all types
of DC orchestration.
This commit fixes the issue described above.
Test:
Successfuly completed load import (as a part of duplex
subcloud orchestration) with large number of subclouds
without re-entering the same state.
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/820903 /opendev. org/starlingx/ distcloud/ commit/ 6e204a8e055e52a 583152f8c70f355 19468c395a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 6e204a8e055e52a 583152f8c70f355 19468c395a
Author: Jessica Castelino <email address hidden>
Date: Tue Dec 7 05:23:32 2021 -0500
Fix: DC orch re-enters completed/failed state sometimes
Sometimes DC orchestration can re-enter the same state
after it has either failed or completed. This issue can
only be observed when a large number of subcloud
orchestration is performed. As the problematic code
appears to be in orch_thread.py, it affects all types
of DC orchestration.
This commit fixes the issue described above.
Test:
Successfuly completed load import (as a part of duplex
subcloud orchestration) with large number of subclouds
without re-entering the same state.
Change-Id: I57802a07009ff5 0d300146869efa3 ceb4c9a2749
Signed-off-by: Jessica Castelino <email address hidden>
Closes-Bug: 1953519