← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1444129] [NEW] Attempting to delete image member that does not exist returns 404 response, but with an incorrect message

 

Public bug reported:

Overview:
When attempting to 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) 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'

** Affects: glance
     Importance: Undecided
         Status: New

-- 
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 delete image member that does not exist returns 404
  response, but with an incorrect message

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

Bug description:
  Overview:
  When attempting to 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) 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


Follow ups

References