← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1444129] Re: Attempting to get/delete image member that does not exist returns 404 response with incorrect message

 

** 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/1444129

Title:
  Attempting to get/delete image member that does not exist returns 404
  response with incorrect message

Status in Glance:
  Fix Released

Bug description:
  Overview:
  When attempting to get/delete image member that does not exist, a 404 response is returned, but with an incorrect message.

  Steps to reproduce:
  1) Create an image
  2) Try to get or delete image member, passing 'dne' as member id via:
  DELETE /images/<image_id>/members/dne
  3) Notice that a 404 response is returned and that the message reads 'Image <image_id> not found'

  Expected:
  A 404 response containing a message that reads 'Image member not found'

  Actual:
  A 404 response with a message that reads 'Image <image_id> not found'

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


References