improper formatting in some NVP plugin exceptions

Bug #1148839 reported by dan wendlandt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
dan wendlandt

Bug Description

in some cases, the keyword arg passed to NVP plugin exceptions is incorrect, meaning the error message is not properly printed in logs. This is particular problematic when quantum is running from packages, which often default to non-verbose/non-debug, which does not show tracebacks. As a result, sometimes errors will look like:

2013-03-05 21:18:02.637 24350 CRITICAL quantum [-] An unexpected error occurred in the NVP Plugin:%(err_msg)s

where %(err_msg)s is supposed to be expanded to text explaining the error.

dan wendlandt (danwent)
Changed in quantum:
importance: Undecided → Medium
assignee: nobody → dan wendlandt (danwent)
milestone: none → grizzly-rc1
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/23668

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/23668
Committed: http://github.com/openstack/quantum/commit/5584835f886302e434f9959f0f82f9694d09b5d3
Submitter: Jenkins
Branch: master

commit 5584835f886302e434f9959f0f82f9694d09b5d3
Author: Dan Wendlandt <email address hidden>
Date: Wed Mar 6 00:59:54 2013 -0800

    fix mis-matched kwargs for a few calls to NvpPluginException

    bug 1148839

    Change-Id: I7d08719c0ac9a7445f4863c91854e4dcd8c81be6

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-rc1 → 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.