Bug 1825599 - [OVN][QOS] NBDB QoS entry not added on port update
Summary: [OVN][QOS] NBDB QoS entry not added on port update
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: beta
: 16.1 (Train on RHEL 8.2)
Assignee: Maciej Józefczyk
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-19 09:10 UTC by Roman Safronov
Modified: 2020-07-29 07:52 UTC (History)
5 users (show)

Fixed In Version: python-networking-ovn-7.1.1-0.20200526183423.43df406.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-29 07:51:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 711317 0 None MERGED Refactor OVN client QoS extension 2020-07-14 09:56:46 UTC
Red Hat Product Errata RHBA-2020:3148 0 None None None 2020-07-29 07:52:02 UTC

Description Roman Safronov 2020-04-19 09:10:18 UTC
Description of problem:
When setting a qos policy to an existing port a new qos entry in not created in NBDB qos table. 

Version-Release number of selected component (if applicable):
16.0-RHEL-8/RHOS_TRUNK-16.0-RHEL-8-20200406.n.1
python3-networking-ovn-7.1.1-0.20200403214619.4114bc5.el8ost.noarch

How reproducible:
100%

Steps to Reproduce:
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 create internal_A
openstack port create vm1-port --network internal_A
openstack port set --qos-policy bw-limiter <PORT ID>
On a node with OVN controller run 'ovn-nbctl qos-list <logical switch uuid of internal_A network>'


Actual results:
qos entry was not added to NBDB

Expected results:
qos entry added to NBDB

Additional info:
Note, in case I create one more port with qos policy the entry is created along with the new ove (of the second port)

Comment 1 Roman Safronov 2020-04-19 09:11:15 UTC
Probably need to be retested after https://review.opendev.org/#/c/711317/ is applied

Comment 2 Roman Safronov 2020-04-19 10:30:09 UTC
One more related patch https://review.opendev.org/#/c/707352/

Comment 7 Roman Safronov 2020-07-01 08:37:13 UTC
Verified that the issue does not happen on  RHOS-16.1-RHEL-8-20200625.n.0    with python3-networking-ovn-7.2.1-0.20200611111150.18fabca.el8ost.noarch

Comment 9 errata-xmlrpc 2020-07-29 07:51:40 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, 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-2020:3148


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