yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10581
[Bug 1265448] Re: exception.NotFound is parsed wrong at the API level
** Changed in: glance
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1265448
Title:
exception.NotFound is parsed wrong at the API level
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
When user updates an image with location but introduced a typo, it's
expected to run into location not found exception. However, because we
don't distinguish the image not found and location not found, so
Glance will say the image is not found based on current design.
Failed to find image 41a997ac-e647-4b5f-b158-8e6e13875f88 to update
See
https://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L124
and
https://github.com/openstack/glance/blob/master/glance/store/filesystem.py#L156
Though I think the issue is also existed in other backends.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1265448/+subscriptions
References