Bug 1917648

Summary: QoS policy with minimum bandwidth rules can be assigned to a vxlan network if the network doesn't have any ports
Product: Red Hat OpenStack Reporter: Takashi Kajinami <tkajinam>
Component: openstack-neutronAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: low Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: amuller, chrisw, ralonsoh, scohen
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-15.2.1-1.20201114025050.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-26 13:50:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Takashi Kajinami 2021-01-19 03:28:30 UTC
Description of problem:

Minimum bandwidth QoS rule is only applicable for the network which is backed by physical networks,
thus it should be rejected for vxlan networks, which is not associated with specific physical networks.

This is enforced in api level when a network has any port, but is NOT enforced properly if a network has no ports.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Deploy overcloud with ml2+ovs
2. Create a QoS policy and add minimum baidwidth QoS rules to it
3. Create a vxlan network
4. Set the qos policy (2) on the netwokr (3)

Actual results:
Updating network policy is not rejected

Expected results:
Updating network policy is rejected

Additional info:

Comment 14 errata-xmlrpc 2021-05-26 13:50:38 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