Comment 13 for bug 1915512

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-octavia (stable/21.10)

Reviewed: https://review.opendev.org/c/openstack/charm-octavia/+/819246
Committed: https://opendev.org/openstack/charm-octavia/commit/d2143cefc774ef22c7058746cacc99adb94c2b13
Submitter: "Zuul (22348)"
Branch: stable/21.10

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

    Closes-Bug: 1915512
    Change-Id: I88c61b8d2d0b573df7df071ed7978e83b6803c5c
    (cherry picked from commit cc292d72e2cb47366e093490c5319503f86d93ec)
    Signed-off-by: Zhang Hua <email address hidden>