Remove any LB HM references from the external_ids upon deleting an HM

Bug #2008695 reported by Fernando Royo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Fernando Royo

Bug Description

HM's uuid is included in the external_ids of the associated LB, like this: "octavia:healthmonitors"="["483e8e50-3d0a-4f03-9c4b-42ab315f5a11"]". The expected behavior is that this entry would be removed from the external_ids of the LB when the HM is deleted. But currently, this entry is not removed or cleaned up.

Changed in neutron:
assignee: nobody → Fernando Royo (froyoredhat)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ovn-octavia-provider (master)
Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ovn-octavia-provider (master)

Reviewed: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/875400
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/cc30eae60c57a5b46e3e564875b67d7bb5edfff5
Submitter: "Zuul (22348)"
Branch: master

commit cc30eae60c57a5b46e3e564875b67d7bb5edfff5
Author: Fernando Royo <email address hidden>
Date: Mon Feb 27 12:10:25 2023 +0100

    Remove HM uuiid from LB external_ids when the HM's pool is deleted

    The expected behavior when a HM is deleted is that any reference to it
    in the LB's external_ids must be cleanup or removed. Until this patch,
    this reference was not removed when the pool associated to the HM
    is deleted.

    Closes-Bug: #2008695
    Change-Id: Ieeef917d9e293af27e5feed14335f25fd9a6fb48

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ovn-octavia-provider (stable/zed)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ovn-octavia-provider (stable/yoga)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ovn-octavia-provider (stable/xena)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ovn-octavia-provider (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/876510

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

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/876585

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

Reviewed: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/876585
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/2428bf88e63618063b8159af41d7ee663717a2a4
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 2428bf88e63618063b8159af41d7ee663717a2a4
Author: Fernando Royo <email address hidden>
Date: Mon Feb 27 12:10:25 2023 +0100

    Remove HM uuiid from LB external_ids when the HM's pool is deleted

    The expected behavior when a HM is deleted is that any reference to it
    in the LB's external_ids must be cleanup or removed. Until this patch,
    this reference was not removed when the pool associated to the HM
    is deleted.

    Closes-Bug: #2008695
    Change-Id: Ieeef917d9e293af27e5feed14335f25fd9a6fb48
    (cherry picked from commit cc30eae60c57a5b46e3e564875b67d7bb5edfff5)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ovn-octavia-provider 4.0.0.0rc2

This issue was fixed in the openstack/ovn-octavia-provider 4.0.0.0rc2 release candidate.

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

Reviewed: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/876507
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/565756a1feceeab5033e64113bbf513504889a69
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 565756a1feceeab5033e64113bbf513504889a69
Author: Fernando Royo <email address hidden>
Date: Mon Feb 27 12:10:25 2023 +0100

    Remove HM uuiid from LB external_ids when the HM's pool is deleted

    The expected behavior when a HM is deleted is that any reference to it
    in the LB's external_ids must be cleanup or removed. Until this patch,
    this reference was not removed when the pool associated to the HM
    is deleted.

    Closes-Bug: #2008695
    Change-Id: Ieeef917d9e293af27e5feed14335f25fd9a6fb48
    (cherry picked from commit cc30eae60c57a5b46e3e564875b67d7bb5edfff5)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ovn-octavia-provider (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/876510
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/24f3a502073366f0980cd15a7dccc04656b6db83
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 24f3a502073366f0980cd15a7dccc04656b6db83
Author: Fernando Royo <email address hidden>
Date: Mon Feb 27 12:10:25 2023 +0100

    Remove HM uuiid from LB external_ids when the HM's pool is deleted

    The expected behavior when a HM is deleted is that any reference to it
    in the LB's external_ids must be cleanup or removed. Until this patch,
    this reference was not removed when the pool associated to the HM
    is deleted.

    Closes-Bug: #2008695
    Change-Id: Ieeef917d9e293af27e5feed14335f25fd9a6fb48
    (cherry picked from commit cc30eae60c57a5b46e3e564875b67d7bb5edfff5)

tags: added: in-stable-wallaby
tags: added: in-stable-yoga
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/+/876502
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/0389cbec84c0abe9ce855e48b313894980f54c35
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 0389cbec84c0abe9ce855e48b313894980f54c35
Author: Fernando Royo <email address hidden>
Date: Mon Feb 27 12:10:25 2023 +0100

    Remove HM uuiid from LB external_ids when the HM's pool is deleted

    The expected behavior when a HM is deleted is that any reference to it
    in the LB's external_ids must be cleanup or removed. Until this patch,
    this reference was not removed when the pool associated to the HM
    is deleted.

    Closes-Bug: #2008695
    Change-Id: Ieeef917d9e293af27e5feed14335f25fd9a6fb48
    (cherry picked from commit cc30eae60c57a5b46e3e564875b67d7bb5edfff5)

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

Reviewed: https://review.opendev.org/c/openstack/ovn-octavia-provider/+/876499
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/aa2c9a360bb79ee4dd7e9f175b9d0ce89f50b467
Submitter: "Zuul (22348)"
Branch: stable/zed

commit aa2c9a360bb79ee4dd7e9f175b9d0ce89f50b467
Author: Fernando Royo <email address hidden>
Date: Mon Feb 27 12:10:25 2023 +0100

    Remove HM uuiid from LB external_ids when the HM's pool is deleted

    The expected behavior when a HM is deleted is that any reference to it
    in the LB's external_ids must be cleanup or removed. Until this patch,
    this reference was not removed when the pool associated to the HM
    is deleted.

    Closes-Bug: #2008695
    Change-Id: Ieeef917d9e293af27e5feed14335f25fd9a6fb48
    (cherry picked from commit cc30eae60c57a5b46e3e564875b67d7bb5edfff5)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ovn-octavia-provider 1.3.1

This issue was fixed in the openstack/ovn-octavia-provider 1.3.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ovn-octavia-provider 3.1.1

This issue was fixed in the openstack/ovn-octavia-provider 3.1.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ovn-octavia-provider 2.1.1

This issue was fixed in the openstack/ovn-octavia-provider 2.1.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ovn-octavia-provider 5.0.0.0rc1

This issue was fixed in the openstack/ovn-octavia-provider 5.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ovn-octavia-provider wallaby-eom

This issue was fixed in the openstack/ovn-octavia-provider wallaby-eom release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.