StarlingX Distributed Cloud
64febc50fb
The `update_subcloud_endpoint_status_sync` call, when setting the deploy status of a subcloud to 'secondary' or 'rehome-pending,' is missing the `subcloud_region` parameter. This omission causes the endpoints of ALL subclouds to be set to 'unknown.' The `subcloud_name` parameter alone is insufficient, as it is only used internally in a log message. This commit addresses the issue by adding the missing `subcloud_region` parameter. Test Plan: 1. PASS - On a system with 2 or more subclouds, update the subcloud deploy status to 'secondary' or 'rehome-pending' and verify that only the targeted subcloud has its endpoint statuses set to 'unknown.' All other subclouds must remain unaffected. Related commits: https://review.opendev.org/c/starlingx/distcloud/+/890176 https://review.opendev.org/c/starlingx/distcloud/+/900288 Story: 2010852 Task: 49059 Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com> Change-Id: I262bbb70934adb40c9fe9243950bca55039a3ec9 |
||
---|---|---|
api-ref/source | ||
distributedcloud | ||
doc | ||
releasenotes | ||
tools/gate | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.zuul.yaml | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_dev_docker_images.inc | ||
centos_dev_wheels.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_stable_docker_images.inc | ||
centos_stable_wheels.inc | ||
CONTRIBUTING.rst | ||
CONTRIBUTORS.wrs | ||
debian_build_layer.cfg | ||
debian_dev_docker_images.inc | ||
debian_dev_wheels.inc | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_docker_images.inc | ||
debian_stable_wheels.inc | ||
HACKING.rst | ||
README_DC | ||
tox.ini |