Bug 1936527 - [OVN] BW limit QoS rules assigned to SRIOV ports are created on NBDB
Summary: [OVN] BW limit QoS rules assigned to SRIOV ports are created on NBDB
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z6
: 16.1 (Train on RHEL 8.2)
Assignee: Rodolfo Alonso
QA Contact: Eduardo Olivares
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-08 17:05 UTC by Eduardo Olivares
Modified: 2022-10-03 16:39 UTC (History)
6 users (show)

Fixed In Version: python-networking-ovn-7.3.1-1.20210406084623.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-26 13:51:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1918702 0 None None None 2021-03-11 16:48:43 UTC
OpenStack gerrit 780054 0 None NEW [OVN] External ports (SR-IOV) QoS is handled by SR-IOV agent 2021-03-31 15:03:19 UTC
Red Hat Issue Tracker OSP-488 0 None None None 2022-10-03 16:39:11 UTC
Red Hat Product Errata RHBA-2021:2097 0 None None None 2021-05-26 13:52:24 UTC

Description Eduardo Olivares 2021-03-08 17:05:05 UTC
Description of problem:
When a QoS policy with an egress BW limit rule is assigned to an SRIOV port (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.



Version-Release number of selected component (if applicable):
RHOS-16.1-RHEL-8-20210303.n.0

How reproducible:
100%

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 --max-burst-kbits 40000000
openstack port set --qos-policy p0 0917ed75-6362-4522-a468-c3a8c89712fd
2) check qos ovn nbdb table
podman exec ovn_controller ovn-nbctl --db=tcp:10.20.1.73:6641 list qos | grep -C5 0917ed75-6362-4522-a468-c3a8c89712fd
_uuid               : c2758e23-195e-4efa-8f9f-c057955ba6c3
action              : {}
bandwidth           : {burst=40000000, rate=540000}
direction           : from-lport
external_ids        : {}
match               : "inport == \"0917ed75-6362-4522-a468-c3a8c89712fd\""
priority            : 2002

Comment 14 errata-xmlrpc 2021-05-26 13:51:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.1.6 bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:2097


Note You need to log in before you can comment on or make changes to this bug.