Fix bootstrap_address parameter name during PGA sync
This commit changes the bootstrap address parameter from
"bootstrap-address" to "bootstrap_address" during the subcloud update
call made during the PGA sync operation. This fixes the issue where
the bootstrap_address was not being updated on the peer site, as the
subcloud update API expects the "bootstrap_address" parameter, with
an underscore.
Test Plan:
1. PASS - Create a peer group association and let it do the initial
sync. Modify the bootstrap-address of the subcloud using
the subcloud update command and then run the PGA sync command. Verify that the rehome_data of the secondary subcloud was updated with the new address.
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/913271 /opendev. org/starlingx/ distcloud/ commit/ 165dd39c642769c a2378e2c4ff813b 962690723c
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 165dd39c642769c a2378e2c4ff813b 962690723c
Author: Gustavo Herzmann <email address hidden>
Date: Thu Mar 14 18:37:29 2024 -0300
Fix bootstrap_address parameter name during PGA sync
This commit changes the bootstrap address parameter from address" to "bootstrap_address" during the subcloud update
"bootstrap-
call made during the PGA sync operation. This fixes the issue where
the bootstrap_address was not being updated on the peer site, as the
subcloud update API expects the "bootstrap_address" parameter, with
an underscore.
Test Plan:
command. Verify that the rehome_data of the secondary
subcloud was updated with the new address.
1. PASS - Create a peer group association and let it do the initial
sync. Modify the bootstrap-address of the subcloud using
the subcloud update command and then run the PGA sync
Closes-Bug: 2057973
Change-Id: Ib5786a56c90f77 1b940e740bc095e bc8168d2830
Signed-off-by: Gustavo Herzmann <email address hidden>