← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1297358] [NEW] Glance v1: HTTP HEAD on /images/detail returns 500

 

Public bug reported:

Attempting a HEAD request on the /images/detail resource results in a
500 response. This should ideally be an HTTP 405 response.

This issue does not occur when doing a HEAD on /images for some reason

curl -i -X HEAD -H "X-Auth-Token: $AUTH_TOKEN" -H 'Content-Type: application/json' -H 'User-Agent: python-glanceclient' http://localhost:9292/v1/images/detail
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Content-Length: 0
Date: Tue, 25 Mar 2014 15:18:34 GMT
Connection: close

The traceback for the error can be found here:
http://paste.openstack.org/show/74261/

** Affects: glance
     Importance: Medium
         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/1297358

Title:
  Glance v1: HTTP HEAD on /images/detail returns 500

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

Bug description:
  Attempting a HEAD request on the /images/detail resource results in a
  500 response. This should ideally be an HTTP 405 response.

  This issue does not occur when doing a HEAD on /images for some reason

  curl -i -X HEAD -H "X-Auth-Token: $AUTH_TOKEN" -H 'Content-Type: application/json' -H 'User-Agent: python-glanceclient' http://localhost:9292/v1/images/detail
  HTTP/1.1 500 Internal Server Error
  Content-Type: text/plain
  Content-Length: 0
  Date: Tue, 25 Mar 2014 15:18:34 GMT
  Connection: close

  The traceback for the error can be found here:
  http://paste.openstack.org/show/74261/

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


Follow ups

References