Bug 1967085 - [OVN][QoS] Port inherited network QoS policy not honored
Summary: [OVN][QoS] Port inherited network QoS policy not honored
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: Rodolfo Alonso
QA Contact: Roman Safronov
URL:
Whiteboard:
Depends On: 1934096
Blocks: 1546996
TreeView+ depends on / blocked
 
Reported: 2021-06-02 12:23 UTC by Roman Safronov
Modified: 2021-09-15 07:16 UTC (History)
12 users (show)

Fixed In Version: python-networking-ovn-7.4.2-2.20210601204819.el8ost.6
Doc Type: No Doc Update
Doc Text:
Clone Of: 1934096
Environment:
Last Closed: 2021-09-15 07:15:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:16:07 UTC

Description Roman Safronov 2021-06-02 12:23:31 UTC
+++ This bug was initially created as a clone of Bug #1934096 +++

Description of problem:
When policy is created and attached to the network before VM is up (before port is active), it is not applied (no qos object in ovn nb db)

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

How reproducible:
100%

Steps to Reproduce:
1. Make sure you are using an environment with qos enabled
2. Create a network, create a qos policy and apply to the network, example commands
openstack network qos policy create bw-limiter
openstack network qos rule create --type bandwidth-limit --max-kbps 3000 --max-burst-kbits 2400 --egress bw-limiter
openstack network set --qos-policy bw-limiter

3. Launch 2 VMs on that network, wait until ports are ACTIVE then login to controller node and run 'ovn-nbctl list qos'


Actual results:
no qos objects in 'ovn-nbctl list qos' output - BUG
qos rule does not work

Expected results:
qos objects listed in 'ovn-nbctl list qos' output.
qos rules work

Additional info:
Note: I tried to launch RHEL VMs and ran iperf3 between the VMs (there was also security group allowing iperf traffic). The qos rule was not applied.
After I re-applied the rule after VMs are up, all worked as expected.

Comment 4 shreshtha joshi 2021-06-30 07:39:52 UTC
Since the fix has missed the promotion, please propose a patch on -patches branch to get this bug into compose. More info https://docs.engineering.redhat.com/display/PRODCHAIN/Blocker+Policy+and+Procedures

Comment 8 Roman Safronov 2021-07-08 08:45:56 UTC
Verified on  RHOS-16.2-RHEL-8-20210707.n.0 that the issue does not occur.

Comment 11 errata-xmlrpc 2021-09-15 07:15:41 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 (RHOSP) 16.2 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/RHEA-2021:3483


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