Comment 2 for bug 1965170

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to distcloud (master)

Reviewed: https://review.opendev.org/c/starlingx/distcloud/+/834067
Committed: https://opendev.org/starlingx/distcloud/commit/651fabec40c806eb07ecc7e9e24ac7116ba4ef97
Submitter: "Zuul (22348)"
Branch: master

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

    [1] Previous change for completing state
    https://opendev.org/starlingx/distcloud/commit/7c88723d0624f9fcea0e47aa626f335731c79ffc

    Closes-bug: 1965170
    Signed-off-by: Gabriel Silva Trevisan <email address hidden>
    Change-Id: If413525ffd0eae3edc5aabc70b75054aa1383a4e