Comment 2 for bug 1973244

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

Reviewed: https://review.opendev.org/c/starlingx/config/+/841468
Committed: https://opendev.org/starlingx/config/commit/712a33718392ac573c89aec189eb8ae473f4b080
Submitter: "Zuul (22348)"
Branch: master

commit 712a33718392ac573c89aec189eb8ae473f4b080
Author: Heitor Matsui <email address hidden>
Date: Wed May 11 17:27:33 2022 -0300

    Fix upgrade failure on agent manager

    During the upgrade, at the stage where controller-1 is upgraded
    but controller-0 is not, the controller-1 agent fails while trying
    to make a RPC call that does not exist on load N, introduced in
    the change [1].

    The commit allows these RPC call failures to pass during the
    upgrades. Also, this commit will make the agent first try
    reading the system_dc_role and system_type parameters from
    the local platform.conf file, using the RPC call only when
    it doesn't find the system_dc_role on the file.

    [1] https://review.opendev.org/c/starlingx/config/+/835311

    Test Plan:
    PASS: Upgrade AIO DX successfully
    PASS: Upgrade Standard successfully

    Closes-bug: 1973244
    Change-Id: I457b4c2ceea7bab13923d2a8840e97b82d39da2a
    Signed-off-by: Heitor Matsui <email address hidden>