← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1380552] [NEW] Fix for adopt glance.store library in Glance

 

Public bug reported:

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.

There are few cases in v1 api which needs to be addressed:

1. _get_from_store method raises store.NotFound exception from
glance_store but it is still trying to catch exception.NotFound
exception in glance and the actual exception has not been caught which
causes 500 HTTPInternalServerError.

2. _get_size method raises store.NotFound exception from glance_store
but it is still trying to catch exception.NotFound exception in glance
and the actual exception has not been caught which causes 500
HTTPInternalServerError.

** Affects: glance
     Importance: Undecided
     Assignee: Ankit Agrawal (ankitagrawal)
         Status: New


** Tags: ntt

** Changed in: glance
     Assignee: (unassigned) => Ankit Agrawal (ankitagrawal)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1380552

Title:
  Fix for adopt glance.store library in Glance

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  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.

  There are few cases in v1 api which needs to be addressed:

  1. _get_from_store method raises store.NotFound exception from
  glance_store but it is still trying to catch exception.NotFound
  exception in glance and the actual exception has not been caught which
  causes 500 HTTPInternalServerError.

  2. _get_size method raises store.NotFound exception from glance_store
  but it is still trying to catch exception.NotFound exception in glance
  and the actual exception has not been caught which causes 500
  HTTPInternalServerError.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1380552/+subscriptions


Follow ups

References