yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40257
[Bug 1469817] Re: Glance doesn't handle exceptions from glance_store
** Changed in: glance
Milestone: liberty-2 => 11.0.0
** No longer affects: glance/liberty
--
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 Glance:
Fix Released
Status in Glance juno series:
Confirmed
Status in Glance kilo 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