Bug 1311927 - Attaching qos policies to networks without policy fails
Attaching qos policies to networks without policy fails
Status: CLOSED NOTABUG
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron (Show other bugs)
8.0 (Liberty)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 8.0 (Liberty)
Assigned To: Assaf Muller
Toni Freger
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-25 05:53 EST by Matthias Runge
Modified: 2016-04-26 14:52 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-02-25 09:44:42 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1549738 None None None 2016-02-25 05:53 EST

  None (edit)
Description Matthias Runge 2016-02-25 05:53:54 EST
Description of problem:

[root@rhos-8 ~(keystone_admin)]# neutron qos-policy-list
+--------------------------------------+------------+
| id                                   | name       |
+--------------------------------------+------------+
| 5c86a65e-b062-4016-bbc2-4ce76cac42f9 | foo        |
| b03ee37f-ca45-4c7e-861d-a004ce362ad0 | limit_rule |
+--------------------------------------+------------+


neutron net-update --qos-policy 5c86a65e-b062-4016-bbc2-4ce76cac42f9 foo


2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource Traceback (most recent call last):
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 83, in resource
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource     result = method(request=request, **args)
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 146, in wrapper
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource     ectxt.value = e.inner_exc
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 204, in __exit__
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 136, in wrapper
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource     return f(*args, **kwargs)
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 613, in update
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource     obj = obj_updater(request.context, id, **kwargs)
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/plugin.py", line 668, in update_network
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource     original_network[qos_consts.QOS_POLICY_ID] !=
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource KeyError: 'qos_policy_id'
2016-02-25 05:34:01.107 3877 ERROR neutron.api.v2.resource 
Version-Release number of selected component (if applicable):



I have openstack-neutron-7.0.1-10.el7ost.noarch
Comment 1 Matthias Runge 2016-02-25 09:44:42 EST
missing qos config in ml2 on my side.

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