← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1469817] Re: Glance doesn't handle exceptions from glance_store

 

** Changed in: glance
   Importance: Undecided => High

** Changed in: glance
       Status: New => Confirmed

** Also affects: glance/kilo
   Importance: Undecided
       Status: New

** Also affects: glance/juno
   Importance: Undecided
       Status: New

** Also affects: glance/liberty
   Importance: High
       Status: Confirmed

** Changed in: glance/kilo
   Importance: Undecided => High

** Changed in: glance/juno
   Importance: Undecided => High

** Changed in: glance/kilo
       Status: New => Confirmed

** Changed in: glance/juno
       Status: New => Confirmed

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

Title:
  Glance doesn't handle exceptions from glance_store

Status in OpenStack Image Registry and Delivery Service (Glance):
  Confirmed
Status in Glance juno series:
  Confirmed
Status in Glance kilo series:
  Confirmed
Status in Glance liberty series:
  Confirmed

Bug description:
  Server API expects to catch exception declared at
  glance/common/exception.py, but actually risen exceptions have the
  same names but are declared at different module,
  glance_store/exceptions.py and thus are never caught.

  For example, If exception is raised here:
  https://github.com/openstack/glance_store/blob/stable/kilo/glance_store/_drivers/rbd.py#L316
  , it will never be caught here
  https://github.com/openstack/glance/blob/stable/kilo/glance/api/v1/images.py#L1107
  , because first one is instance of
  https://github.com/openstack/glance_store/blob/stable/kilo/glance_store/exceptions.py#L198
  , but Glance waits for
  https://github.com/openstack/glance/blob/stable/kilo/glance/common/exception.py#L293

  There are many cases of that issue. The investigation continues.

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


References