d2143cefc7
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 |
||
---|---|---|
.. | ||
charm | ||
__init__.py |