ovn qos extension: update router does not remove no longer present qos rules

Bug #2011800 reported by Frode Nordahl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
High
Rodolfo Alonso

Bug Description

Let's say you set up both ingress and egress QoS rules for a project and then create a router. If you then subsequently remove one or both of the rules and update a router, these rules will not be removed from the OVN database.

If you update QoS rules for a project and update the router, those rules are also updated, so that part works as expected.

The expected outcome is that if one or both of the rules are removed, a call to update router should remove those rules from the OVN database.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/877603

Changed in neutron:
status: New → Confirmed
importance: Undecided → High
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello Frode:

Please check [1]. There was a little mistake in the test. I've tested manually with this code and is working fine. I've also manually tested adding, updating and removing QoS policies and rules from a router and I see how the QoS registers, related to the GW port, are correctly updated.

Regards.

[1]https://review.opendev.org/c/openstack/neutron/+/877603/7..8/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/ovsdb/extensions/test_qos.py

Changed in neutron:
status: Confirmed → Invalid
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.