NvpPluginException mixes err_msg and err_desc

Bug #1098351 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Aaron Rosen

Bug Description

2013-01-10 13:30:39 22804 ERROR quantum.api.v2.resource [-] index failed
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource Traceback (most recent call last):
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/resource.py", line 96, in resource
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource result = method(request=request, **args)
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/base.py", line 211, in index
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource return self._items(request, True, parent_id)
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/base.py", line 177, in _items
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource obj_list = obj_getter(request.context, **kwargs)
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource File "jjj/QuantumPlugin.py", line 481, in get_networks
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource raise nvp_exc.NvpPluginException(err_msg=err_msg)
2013-01-10 13:30:39 22804 TRACE quantum.api.v2.resource NvpPluginException: An unexpected error occurred in the NVP Plugin:%(err_desc)s <--

Tags: nicira
Aaron Rosen (arosen)
Changed in quantum:
assignee: nobody → Aaron Rosen (arosen)
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/19432

Changed in quantum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/19432
Committed: http://github.com/openstack/quantum/commit/3575190ca17eb83b504401fb15dfb73679cdba55
Submitter: Jenkins
Branch: master

commit 3575190ca17eb83b504401fb15dfb73679cdba55
Author: Aaron Rosen <email address hidden>
Date: Thu Jan 10 14:40:33 2013 -0800

    NvpPluginException mixes err_msg and err_desc

    In a few places err_msg was passed to NvpPluginException though that
    expected err_desc. This patch makes NvpPluginException take err_msg
    instead and updates err_desc to err_msg when calling NvpPluginException

    Fixes bug 1098351
    Change-Id: I10eca5f2b98ce8faa81ad7c7687902b6f08752c1

Changed in quantum:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in quantum:
milestone: none → grizzly-3
tags: added: nicira
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.