Comment 19 for bug 1965772

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

Reviewed: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/844260
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/1a9196b38b5d8527b76b9c85b1e6736b8156e2b1
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 1a9196b38b5d8527b76b9c85b1e6736b8156e2b1
Author: Fernando Royo <email address hidden>
Date: Wed May 25 14:21:20 2022 +0200

    Fix way of calculate LB status after HM event

    Function _get_new_operating_statuses was calculating the
    LB status based on the received event together with
    current operating_status of the members, those values
    were not being stored and therefore were not available
    for the calculation.

    Now those member status are stored in the external_ids
    field related to the LB under the neutron:member_status tag,
    where the uuid of the member and its current status are
    stored.

    This way we can calculate the real-time status of the whole
    LB hierarchy by looking at the values stored there, which
    are updated when HM events are received.

    Partial-Bug: #1965772

    Depends-On: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/844012

    Change-Id: I5f5225a94a9a8401d350d2fda987bf68869def22
    (cherry picked from commit c478567b4efb669dfb429fb4f3e3bbdb41c622f7)