setting the qos policy of a bound port in a network with default qos policy does not update placement allocation

Bug #1915849 reported by Balazs Gibizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Przemyslaw Szczerbik

Bug Description

1) have a net with a qos policy set
2) create a port in that net without specific qos policy
3) boot a server with that port
4) set a specific qos policy on the port

Expected:
* The neutron port resource request is changed according to the new qos policy set on the port.
* The resource allocation in placement is changed according to the new qos policy set on the port.

Actual:
* The neutron port resource request is changed according to the new qos policy. So this is OK.
* But the allocation in placement still matches with the qos policy of the network not the qos policy of the port

See reproduction steps with printouts from a fairly fresh devstack from master: http://paste.openstack.org/show/802701/

Tags: qos
Changed in neutron:
assignee: nobody → Lajos Katona (lajos-katona)
Changed in neutron:
importance: Undecided → Medium
status: New → Confirmed
tags: added: qos
summary: - setting a bound port qos policy from empty to a policy with min bw rules
- does not update placement allocation
+ setting the qos policy of bound port in a network with default qos
+ policy does not update placement allocation
summary: - setting the qos policy of bound port in a network with default qos
+ setting the qos policy of a bound port in a network with default qos
policy does not update placement allocation
Changed in neutron:
assignee: Lajos Katona (lajos-katona) → Przemyslaw Szczerbik (pszczerbik)
Changed in neutron:
status: Confirmed → In Progress
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/+/815421

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/815421
Committed: https://opendev.org/openstack/neutron/commit/18ec0eb20921e41ba4cade555f9da823c9dbfa13
Submitter: "Zuul (22348)"
Branch: master

commit 18ec0eb20921e41ba4cade555f9da823c9dbfa13
Author: Przemyslaw Szczerbik <email address hidden>
Date: Mon Oct 25 13:24:07 2021 +0200

    Fix placement allocation update for port with network QoS policy

    If port has no QoS policy on its own, fallback to the network
    QoS policy and use it to check if Placement allocation needs
    to be updated.

    Closes-Bug: #1915849
    Change-Id: Iffc87e4021391bcb98375621739a59064540a6a7

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

This issue was fixed in the openstack/neutron 20.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.