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
Change-Id: I068cb90f5db62443115157a027fbdefec9bd4a00
(cherry picked from commit 675a39a74faad5f7fe4eb94e1dcf7f4359ed2285)
Reviewed: https:/ /review. openstack. org/132969 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=22b1992dc40 b6c3755434b6a7e e5861688674c2f
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 22b1992dc40b6c3 755434b6a7ee586 1688674c2f
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 7fe4eb94e1dcf7f 4359ed2285)
Change-Id: I068cb90f5db624
(cherry picked from commit 675a39a74faad5f