update_store_acls references unimported exception

Bug #1080991 reported by Brian Waldon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Critical
Iccha Sethi
Grizzly
Fix Released
Critical
Iccha Sethi

Bug Description

The method update_store_acls in glance/api/v1/controller.py references HTTPBadRequest. That exception has not been imported in the scope of that module. In the case that the store for an image location is not recognized (or known but not loaded), a NameError will be raised.

Changed in glance:
assignee: nobody → Iccha Sethi (iccha-sethi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

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

Reviewed: https://review.openstack.org/18690
Committed: http://github.com/openstack/glance/commit/73c7982c9c2085cb6b24ddcf937b1193e98d5c72
Submitter: Jenkins
Branch: master

commit 73c7982c9c2085cb6b24ddcf937b1193e98d5c72
Author: isethi <email address hidden>
Date: Thu Dec 27 17:41:21 2012 +0000

    Use imported exception for update_store_acls

    update_store_acls uses unimported exception HTTPBadRequest. This patch
    changes it to use in the right scope.

    Fixes bug 1080991

    Change-Id: I82b6488a9b67a27f46f492d0d08a41cd4b7f40c3

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