← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1204145] Re: Wrong return status and message while creating qos queue with nvp plugin

 

Rejected in favor of fix proposed by:

https://review.openstack.org/#/c/38388/

The (user specified) DSCP value is ignored when queues are marked as
trusted.

** Changed in: neutron
       Status: In Progress => Invalid

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

Title:
  Wrong return status and message while creating qos queue with nvp
  plugin

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  Specified dscp=32 while creating a trusted qos_queue. This is a BAD REQUEST and the API gives an error. 
  However, the error message is " An unknown exception occurred"

  Checked server.log; it does show the actual server error message.
  seems like its not getting propagated all the way.

  
  2013-07-23 08:34:27.546 31298 ERROR NVPApiHelper [-] Received error code: 400
  2013-07-23 08:34:27.546 31298 ERROR NVPApiHelper [-] Server Error Message: No DSCP field needed when QoS workload marked 'trusted'.
  2013-07-23 08:34:27.546 31298 ERROR neutron.plugins.nicira.nvplib [-] Failed to create logical queue
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib Traceback (most recent call last):
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib   File "/opt/stack/neutron/neutron/plugins/nicira/nvplib.py", line 1242, in create_lqueue
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib     cluster=cluster)['uuid']
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib   File "/opt/stack/neutron/neutron/plugins/nicira/nvplib.py", line 946, in do_request
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib     res = cluster.api_client.request(*args)
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib   File "/opt/stack/neutron/neutron/plugins/nicira/NvpApiClient.py", line 150, in request
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib     self.error_codes[status](self)
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib   File "/opt/stack/neutron/neutron/plugins/nicira/NvpApiClient.py", line 190, in zero
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib     raise NvpApiException()
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib NvpApiException: An unknown exception occurred.
  2013-07-23 08:34:27.546 31298 TRACE neutron.plugins.nicira.nvplib
  2013-07-23 08:34:27.548 31298 ERROR neutron.api.v2.resource [-] create failed
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 82, in resource
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 403, in create
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource     obj = obj_creator(request.context, **kwargs)
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/nicira/NeutronPlugin.py", line 2167, in create_qos_queue
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource     self._nvp_lqueue(q))
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/plugins/nicira/nvplib.py", line 1246, in create_lqueue
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource     raise exception.NeutronException()
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource NeutronException: An unknown exception occurred.
  2013-07-23 08:34:27.548 31298 TRACE neutron.api.v2.resource

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