← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1441776] [NEW] Get image file passing image id without an image file returns a 204 response

 

Public bug reported:

Overview:
Attempting a GET /images/<image_id>/file returns a 204 response. At one point this returned a 404, but that does not appear to be the case anymore.

Steps to reproduce:
1)Register a blank image via POST /images
2)Attempt a GET /images/<image_id>/file
3)Notice the response is a 204

Expected:
A 404 response should be returned

Actual:
A 204 response is returned

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

Title:
  Get image file passing image id without an image file returns a 204
  response

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

Bug description:
  Overview:
  Attempting a GET /images/<image_id>/file returns a 204 response. At one point this returned a 404, but that does not appear to be the case anymore.

  Steps to reproduce:
  1)Register a blank image via POST /images
  2)Attempt a GET /images/<image_id>/file
  3)Notice the response is a 204

  Expected:
  A 404 response should be returned

  Actual:
  A 204 response is returned

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


Follow ups

References