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.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/841468 /opendev. org/starlingx/ config/ commit/ 712a33718392ac5 73c89aec189eb8a e473f4b080
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 712a33718392ac5 73c89aec189eb8a e473f4b080
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 b13923d2a8840e9 7b82d39da2a
Change-Id: I457b4c2ceea7ba
Signed-off-by: Heitor Matsui <email address hidden>