[ovn-octavia-provider] HealthMonitor event received on port deleted

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

Bug Description

When the port associated to a VM is deleted, no event is received by the driver agent, so basically the LB reflects a wrong ONLINE operating_status of the member associated to the affected VM.

As the port associated to the VM can be deleted, that case need to be covered.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ovn-octavia-provider (master)
Changed in neutron:
status: New → In Progress
Changed in neutron:
assignee: nobody → Fernando Royo (froyoredhat)
Miguel Lavalle (minsel)
Changed in neutron:
importance: Undecided → Medium
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/+/857365
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/30db5c88cefd153983c0193cdf250161fd10640c
Submitter: "Zuul (22348)"
Branch: master

commit 30db5c88cefd153983c0193cdf250161fd10640c
Author: Fernando Royo <email address hidden>
Date: Tue Sep 13 14:09:14 2022 +0200

    Capture port deleted event associated to HM ServiceMonitor

    When the port associated to a VM is deleted, if a ServiceMonitor
    row is associated to that port an OVN SB event is triggered
    in order to communicate that the ServiceMonitor entry is been
    deleted. That event would allow us to update the status of
    member/pool/LB according to the event.

    This patch suscribes the driver agent to the DELETE events
    for table ServiceMonitor on the OVN SB DB in order to
    update the operating_status when the VM port is deleted.

    Closes-Bug: #1989460
    Change-Id: I9f8c5668c260a896f5c5848734854551c842db1e

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ovn-octavia-provider 3.0.0.0rc1

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

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/+/859065

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/+/859063
Committed: https://opendev.org/openstack/ovn-octavia-provider/commit/293357bcf487b89343d0e9a868a8f7a69fc40b56
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 293357bcf487b89343d0e9a868a8f7a69fc40b56
Author: Fernando Royo <email address hidden>
Date: Tue Sep 13 14:09:14 2022 +0200

    Capture port deleted event associated to HM ServiceMonitor

    When the port associated to a VM is deleted, if a ServiceMonitor
    row is associated to that port an OVN SB event is triggered
    in order to communicate that the ServiceMonitor entry is been
    deleted. That event would allow us to update the status of
    member/pool/LB according to the event.

    This patch suscribes the driver agent to the DELETE events
    for table ServiceMonitor on the OVN SB DB in order to
    update the operating_status when the VM port is deleted.

    Closes-Bug: #1989460
    Change-Id: I9f8c5668c260a896f5c5848734854551c842db1e
    (cherry picked from commit 30db5c88cefd153983c0193cdf250161fd10640c)

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

commit 429f6c6e1ab5a8af0765308149429a8c4924ff7b
Author: Fernando Royo <email address hidden>
Date: Tue Sep 13 14:09:14 2022 +0200

    Capture port deleted event associated to HM ServiceMonitor

    When the port associated to a VM is deleted, if a ServiceMonitor
    row is associated to that port an OVN SB event is triggered
    in order to communicate that the ServiceMonitor entry is been
    deleted. That event would allow us to update the status of
    member/pool/LB according to the event.

    This patch suscribes the driver agent to the DELETE events
    for table ServiceMonitor on the OVN SB DB in order to
    update the operating_status when the VM port is deleted.

    Closes-Bug: #1989460
    Change-Id: I9f8c5668c260a896f5c5848734854551c842db1e
    (cherry picked from commit 30db5c88cefd153983c0193cdf250161fd10640c)

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

commit e6a03885c1d6df7e458720c316589ec81517dab5
Author: Fernando Royo <email address hidden>
Date: Tue Sep 13 14:09:14 2022 +0200

    Capture port deleted event associated to HM ServiceMonitor

    When the port associated to a VM is deleted, if a ServiceMonitor
    row is associated to that port an OVN SB event is triggered
    in order to communicate that the ServiceMonitor entry is been
    deleted. That event would allow us to update the status of
    member/pool/LB according to the event.

    This patch suscribes the driver agent to the DELETE events
    for table ServiceMonitor on the OVN SB DB in order to
    update the operating_status when the VM port is deleted.

    Closes-Bug: #1989460
    Change-Id: I9f8c5668c260a896f5c5848734854551c842db1e
    (cherry picked from commit 30db5c88cefd153983c0193cdf250161fd10640c)

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

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

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

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

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

This issue was fixed in the openstack/ovn-octavia-provider 2.1.0 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.