Exception messages are not formatted

Bug #1037881 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Akihiro Motoki

Bug Description

Some exception messages are not formatted properly due to missing conversion specifiers.

>>> from quantum.common import exceptions as exc
>>> raise exc.InvalidSharedSetting(network='5a528436-4a2e-477a-ab34-03661dab0720')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
quantum.common.exceptions.InvalidSharedSetting: Unable to reconfigure sharing settings for network%(network). Multiple tenants are using it

Akihiro Motoki (amotoki)
Changed in quantum:
assignee: nobody → Akihiro Motoki (amotoki)
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/11529

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/11529
Committed: http://github.com/openstack/quantum/commit/155108545fa3b2d534008e4d5bc4e160a37832f0
Submitter: Jenkins
Branch: master

commit 155108545fa3b2d534008e4d5bc4e160a37832f0
Author: Akihiro MOTOKI <email address hidden>
Date: Fri Aug 17 12:41:13 2012 +0900

    Add missing conversion specifiers in exception messages.

    Fixes bug 1037881

    Change-Id: I05760707f28545d9593d30b5c5fe69a21636ba90

Changed in quantum:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in quantum:
milestone: none → folsom-rc1
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: folsom-rc1 → 2012.2
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.