commit d2143cefc774ef22c7058746cacc99adb94c2b13
Author: Zhang Hua <email address hidden>
Date: Sat May 1 08:32:21 2021 +0800
Delete hm port on unit removal
JUJU_DEPARTING_UNIT will be set in leader unit as well when removing one
unit, so update_controller_ip_port_list can use it to delete hm port and
update neutron ip list. Besides, cluster.{connected,available} will be
set by interface-openstack-ha when relation-{broken,departed} is changed,
so update_controller_ip_port_list will also have a change to run.
In other words, as long as update_controller_ip_port_list is triggered
for various reasons, the cleanup will be completed.
NOTE: also resolve cherry-pick conflict with the commit f235f68f,
remove pinning pyparsing package as it is already updated in
sec/build.lock and remove Func-Test-Pr
Reviewed: https:/ /review. opendev. org/c/openstack /charm- octavia/ +/819246 /opendev. org/openstack/ charm-octavia/ commit/ d2143cefc774ef2 2c7058746cacc99 adb94c2b13
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/21.10
commit d2143cefc774ef2 2c7058746cacc99 adb94c2b13
Author: Zhang Hua <email address hidden>
Date: Sat May 1 08:32:21 2021 +0800
Delete hm port on unit removal
JUJU_ DEPARTING_ UNIT will be set in leader unit as well when removing one controller_ ip_port_ list can use it to delete hm port and {connected, available} will be openstack- ha when relation- {broken, departed} is changed, controller_ ip_port_ list will also have a change to run. controller_ ip_port_ list is triggered
unit, so update_
update neutron ip list. Besides, cluster.
set by interface-
so update_
In other words, as long as update_
for various reasons, the cleanup will be completed.
NOTE: also resolve cherry-pick conflict with the commit f235f68f,
remove pinning pyparsing package as it is already updated in
sec/build.lock and remove Func-Test-Pr
Closes-Bug: 1915512 3df7df071ed7978 e83b6803c5c 66e093490c53195 03f86d93ec)
Change-Id: I88c61b8d2d0b57
(cherry picked from commit cc292d72e2cb473
Signed-off-by: Zhang Hua <email address hidden>