← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1242920] Re: v2: Image show of non-existent image contains non-descriptive error message

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => icehouse-1

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

Title:
  v2: Image show of non-existent image contains non-descriptive error
  message

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

Bug description:
  When doing a GET on /images/<uuid> in Glance v2 on an image that does
  not exist the message "An object with the specified identifier was not
  found." is returned. This could be more descriptive.

  The code also has:

   72         except (exception.NotFound, exception.Forbidden, AssertionError):
   73             raise exception.NotFound(image_id=image_id)

  in glance/db/__init__.py. However, exception.NotFound does not expect
  the image_id kwargs so this has no affect.

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