[router qos]qos binding is not clear after remove gateway

Bug #1968269 reported by Liu Xie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Rodolfo Alonso

Bug Description

As the title describes, after remove gateway for a router, we could find the qos binding is remain.
And if we delete this qos policy, we could meet the error of QosPolicyInUse.

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Right, I've tested with OVN backend but I think that doesn't depend on the backend at all.

I'll take it.

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
importance: Undecided → Medium
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/c/openstack/neutron/+/837143

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/837143
Committed: https://opendev.org/openstack/neutron/commit/8ad6c3bf60081ebf19c1cadd9c46e1f5bf504892
Submitter: "Zuul (22348)"
Branch: master

commit 8ad6c3bf60081ebf19c1cadd9c46e1f5bf504892
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Mar 22 16:39:42 2022 +0000

    [L3][QoS] Remove router QoS binding when GW is removed

    Now when the external gateway of a router is removed, the QoS policy
    assigned to this router is removed too. A router can only have a QoS
    policy assigned if a gateway port is attached; if the port is removed,
    the QoS binding must be removed too.

    Closes-Bug: #1968269
    Change-Id: Iced254259170972a9699aa35ae8062776e11285d

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

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/neutron/+/839016

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/neutron/+/839017

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/neutron/+/839018

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/839016
Committed: https://opendev.org/openstack/neutron/commit/061a80deb420a74ed529e3f485a5eb8c8ffdd18f
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 061a80deb420a74ed529e3f485a5eb8c8ffdd18f
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Mar 22 16:39:42 2022 +0000

    [L3][QoS] Remove router QoS binding when GW is removed

    Now when the external gateway of a router is removed, the QoS policy
    assigned to this router is removed too. A router can only have a QoS
    policy assigned if a gateway port is attached; if the port is removed,
    the QoS binding must be removed too.

    Closes-Bug: #1968269
    Change-Id: Iced254259170972a9699aa35ae8062776e11285d
    (cherry picked from commit 8ad6c3bf60081ebf19c1cadd9c46e1f5bf504892)

tags: added: in-stable-yoga
tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/839017
Committed: https://opendev.org/openstack/neutron/commit/1ef5d4001f385128041e86396cedd3ffb2096967
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 1ef5d4001f385128041e86396cedd3ffb2096967
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Mar 22 16:39:42 2022 +0000

    [L3][QoS] Remove router QoS binding when GW is removed

    Now when the external gateway of a router is removed, the QoS policy
    assigned to this router is removed too. A router can only have a QoS
    policy assigned if a gateway port is attached; if the port is removed,
    the QoS binding must be removed too.

    Closes-Bug: #1968269
    Change-Id: Iced254259170972a9699aa35ae8062776e11285d
    (cherry picked from commit 8ad6c3bf60081ebf19c1cadd9c46e1f5bf504892)

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/839018
Committed: https://opendev.org/openstack/neutron/commit/ac7c002b617c02629938b31649934a48c42c2dbf
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit ac7c002b617c02629938b31649934a48c42c2dbf
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Mar 22 16:39:42 2022 +0000

    [L3][QoS] Remove router QoS binding when GW is removed

    Now when the external gateway of a router is removed, the QoS policy
    assigned to this router is removed too. A router can only have a QoS
    policy assigned if a gateway port is attached; if the port is removed,
    the QoS binding must be removed too.

    Closes-Bug: #1968269
    Change-Id: Iced254259170972a9699aa35ae8062776e11285d
    (cherry picked from commit 8ad6c3bf60081ebf19c1cadd9c46e1f5bf504892)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.4.0

This issue was fixed in the openstack/neutron 18.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 19.3.0

This issue was fixed in the openstack/neutron 19.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 20.1.0

This issue was fixed in the openstack/neutron 20.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 21.0.0.0rc1

This issue was fixed in the openstack/neutron 21.0.0.0rc1 release candidate.

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.