[OVN] BW limit QoS rules assigned to SR-IOV ports are created on NBDB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Rodolfo Alonso |
Bug Description
Description of problem:
When a QoS policy with an egress BW limit rule is assigned to a SR-IOV port (type direct or macvtap), the corresponding rule should be managed by the SR-IOV agent and should not be added to the OVN NBDB's QoS table.
However, the entry on the QoS table is created for that port, which is wrong.
The rule is also applied to the dataplane traffic shaper, which is correct.
Steps to Reproduce:
1) Create qos policy with an egress bw limit rule and assing it to an SRIOV port:
# openstack network qos policy create p0
# openstack network qos rule create p0 --type bandwidth-limit --max-kbps 500000000 \
--
# openstack port set --qos-policy p0 0917ed75-
2) Check qos ovn nbdb table
# ovn-nbctl --db=tcp:
_uuid : c2758e23-
action : {}
bandwidth : {burst=40000000, rate=540000}
direction : from-lport
external_ids : {}
match : "inport == \"0917ed75-
priority : 2002
This kind of testing is not available in the Opendev CI because there are not SR-IOV environments.
Bugzilla: https:/
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
description: | updated |
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: ovn |
Changed in neutron: | |
status: | Confirmed → Fix Released |
Patch: https:/ /review. opendev. org/c/openstack /neutron/ +/780054