The store module is removed from glance project and new glance_store
module is created, but the glance project code was not updated
properly for the required changes.
_get_from_store and _get_size methods raises store.NotFound exception
from glance_store but not caught in the glance api.
Updated exception.NotFound to store.NotFound which returns 404 NotFound
response to the user.
Reviewed: https:/ /review. openstack. org/127990 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=675a39a74fa ad5f7fe4eb94e1d cf7f4359ed2285
Committed: https:/
Submitter: Jenkins
Branch: master
commit 675a39a74faad5f 7fe4eb94e1dcf7f 4359ed2285
Author: ankitagrawal <email address hidden>
Date: Mon Oct 13 07:56:53 2014 -0700
Fix for adopt glance.store library in Glance
The store module is removed from glance project and new glance_store
module is created, but the glance project code was not updated
properly for the required changes.
_get_from_store and _get_size methods raises store.NotFound exception
from glance_store but not caught in the glance api.
Updated exception.NotFound to store.NotFound which returns 404 NotFound
response to the user.
Closes-Bug: #1380552 43115157a027fbd efec9bd4a00
Change-Id: I068cb90f5db624