[OVN] BW limit QoS rules assigned to networks with SR-IOV ports are created on NBDB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Rodolfo Alonso |
Bug Description
This bug is similar to https:/
When a QoS policy with an egress BW limit rule is assigned to a network, if an SRIOV port has been created for that network (type direct or macvtap), the corresponding rule should be managed by the sriov 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 bw limit rule is also assigned by the sriov agent, which is correct. The bw limit is correctly applied to the traffic.
Steps to Reproduce:
1) create qos policy with an egress bw limit rule and assing it to an network:
openstack network qos policy create p0
openstack network qos rule create p0 --type bandwidth-limit --max-kbps 500000000 --max-burst-kbits 40000000
openstack network set --qos-policy p0 public
2) check qos ovn nbdb table
podman exec ovn_controller ovn-nbctl --db=tcp:
_uuid : c2758e23-
action : {}
bandwidth : {burst=40000000, rate=540000}
direction : from-lport
external_ids : {}
match : "inport == \"0917ed75-
priority : 2002
Bugzilla: https:/
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
Changed in neutron: | |
importance: | Undecided → Low |
Fix proposed to branch: master /review. opendev. org/c/openstack /neutron/ +/787351
Review: https:/