← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1549738] [NEW] error while adding a qos policy to a network

 

Public bug reported:

[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


The version is liberty

** Affects: neutron
     Importance: Undecided
     Assignee: Jakub Libosvar (libosvar)
         Status: Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1549738

Title:
  error while adding a qos policy to a network

Status in neutron:
  Confirmed

Bug description:
  [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

  
  The version is liberty

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1549738/+subscriptions


Follow ups