commit 651fabec40c806eb07ecc7e9e24ac7116ba4ef97
Author: Gabriel Silva Trevisan <email address hidden>
Date: Wed Mar 16 17:42:22 2022 -0300
Add retry for platform requests on host unlock
Similarly to completing state [1], subcloud platform services may become
temporarily unavailable during host unlock, following data migration.
Add retry wrapper to sysinv calls when retrieving host information
before unlock. No wrapping needed for the subsequent calls, since the
endpoint should already be stable by then.
Move retry constants to dcmanager constants module, to be reusable by
other states.
Test Plan:
PASS:
- Apply upgrade orchestration to a large number of simplex subclouds in
parallel
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/834067 /opendev. org/starlingx/ distcloud/ commit/ 651fabec40c806e b07ecc7e9e24ac7 116ba4ef97
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 651fabec40c806e b07ecc7e9e24ac7 116ba4ef97
Author: Gabriel Silva Trevisan <email address hidden>
Date: Wed Mar 16 17:42:22 2022 -0300
Add retry for platform requests on host unlock
Similarly to completing state [1], subcloud platform services may become
temporarily unavailable during host unlock, following data migration.
Add retry wrapper to sysinv calls when retrieving host information
before unlock. No wrapping needed for the subsequent calls, since the
endpoint should already be stable by then.
Move retry constants to dcmanager constants module, to be reusable by
other states.
Test Plan:
PASS:
- Apply upgrade orchestration to a large number of simplex subclouds in
parallel
[1] Previous change for completing state /opendev. org/starlingx/ distcloud/ commit/ 7c88723d0624f9f cea0e47aa626f33 5731c79ffc
https:/
Closes-bug: 1965170 3edc5aabc70b750 54aa1383a4e
Signed-off-by: Gabriel Silva Trevisan <email address hidden>
Change-Id: If413525ffd0eae