← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1247633] Re: generic NotFound exception is often raised when image is not found

 

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

** Changed in: glance
    Milestone: None => liberty-2

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

Title:
  generic NotFound exception is often raised when image is not found

Status in Glance:
  Fix Released

Bug description:
  Numerous places such as glance/db/__init__.py, glance/store/swift.py,
  and glance/store/__init__py raise and catch a NotFound exception when
  an image can not be found. It would be better to have something like
  an ImageNotFound exception raised and caught to be sure that it was an
  Image that could not be found and to have image specific information
  in the exception.

  For example, tasks use a TaskNotFound exception that allows for a
  task_id kwarg to be passed in.

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