[OVN][QOS] NBDB qos table entries still exist even after corresponding neutron ports are deleted

Bug #1886962 reported by Maciej Jozefczyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Maciej Jozefczyk

Bug Description

When removing neutron ports with qos policy applied, corresponding entries are not removed from NBDB qos table.

Steps to reproduce:

openstack network qos policy create bw-limiter
openstack network qos rule create --type bandwidth-limit --max-kbps 3000 --max-burst-kbits 2400 --egress bw-limiter
openstack network create internal_A
openstack port create vm1-port --network internal_A
openstack port set --qos-policy bw-limiter <PORT ID>
On this stage 'ovn-nbctl list qos' displays corresponding qos rule of the port
openstack port delete <PORT ID>
Result: port removed from neutron DB - this is OK. But OVN NBDB qos table still displays qos entry for this port:

Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
Changed in neutron:
assignee: nobody → Maciej Jozefczyk (maciej.jozefczyk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/740967

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/741915

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/740967
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ccbebfeaccf657caf8bcf8d635e3032e4c51c658
Submitter: Zuul
Branch: master

commit ccbebfeaccf657caf8bcf8d635e3032e4c51c658
Author: Maciej Józefczyk <email address hidden>
Date: Tue Jul 14 11:59:58 2020 +0000

    [OVN] Fix logic issue while deleting port with QoS

    While port has QoS policy configured the policy wasn't deleted
    because of logic issue.

    Change-Id: I3d7e70a4a110c68a89d6c575abf121cd9b97e439
    Closes-Bug: #1886962

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/ussuri)

Reviewed: https://review.opendev.org/741915
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=5554d620d14175b9bade595226bdc797ba498cf3
Submitter: Zuul
Branch: stable/ussuri

commit 5554d620d14175b9bade595226bdc797ba498cf3
Author: Maciej Józefczyk <email address hidden>
Date: Tue Jul 14 11:59:58 2020 +0000

    [OVN] Fix logic issue while deleting port with QoS

    While port has QoS policy configured the policy wasn't deleted
    because of logic issue.

    Change-Id: I3d7e70a4a110c68a89d6c575abf121cd9b97e439
    Closes-Bug: #1886962
    (cherry picked from commit 0e53673c5d4f49846bb439b2e1ab8e984c20d6f8)

tags: added: in-stable-ussuri
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.