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
Closes-Bug: 1915512
Change-Id: I88c61b8d2d0b573df7df071ed7978e83b6803c5c
(cherry picked from commit cc292d72e2)
Signed-off-by: Zhang Hua <joshua.zhang@canonical.com>