Bug 1768834

Summary: [QoS] ports do not inherit it's associated network's policy
Product: Red Hat OpenStack Reporter: Noy Fridman <nfridman>
Component: openstack-neutronAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED ERRATA QA Contact: Eran Kuris <ekuris>
Severity: low Docs Contact:
Priority: low    
Version: 17.0 (Wallaby)CC: chrisw, froyo, njohnston, ralonsoh, scohen
Target Milestone: Upstream M1Keywords: Triaged
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-16.0.0-0.20200331211942.8b7d0dc.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 12:07:58 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 Noy Fridman 2019-11-05 10:58:39 UTC
Description of problem:
Once attaching a port to a network that has QoS policy,
the policy is not inherited to the port.

Network policy should be used for all ports which don't have own policy
associated.

Version-Release number of selected component (if applicable):
python2-neutron-lib-1.18.0-0.20180816094046.67865c7.el7ost.noarch
python-neutron-fwaas-13.0.2-0.20190420041121.55a5a41.el7ost.noarch
openstack-neutron-ml2-13.0.4-0.20190508213452.de95bc6.el7ost.noarch
puppet-neutron-13.3.2-0.20190420052313.594ebd3.el7ost.noarch
python-neutron-13.0.4-0.20190508213452.de95bc6.el7ost.noarch
openstack-neutron-13.0.4-0.20190508213452.de95bc6.el7ost.noarch
python-neutron-lbaas-13.0.1-0.20190510224355.74dddcb.el7ost.noarch
openstack-neutron-fwaas-13.0.2-0.20190420041121.55a5a41.el7ost.noarch
python2-neutronclient-6.9.1-0.20180925041810.7eba94e.el7ost.noarch
openstack-neutron-common-13.0.4-0.20190508213452.de95bc6.el7ost.noarch
openstack-neutron-lbaas-13.0.1-0.20190510224355.74dddcb.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. openstack network create internal_network_test
2. openstack subnet create subnet_A --network internal_network_test --subnet-range 192.168.1.0/24
3. openstack network qos policy create qos_test
4. openstack network set --qos-policy qos_test internal_network_test
5. openstack port create --network  internal_network_test --fixed-ip subnet=subnet_A test_port


Actual results:
The port has no policy associated
qos_policy_id is: None

Expected results:
The post should has the network associated QoS policy

Additional info:

Comment 16 errata-xmlrpc 2022-09-21 12:07:58 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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-2022:6543