← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1483353] Re: v1: Updates using x-image-meta-id header provoke E500 or 200

 

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

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

Title:
  v1:  Updates using x-image-meta-id header provoke E500 or 200

Status in Glance:
  Fix Released
Status in Glance liberty series:
  Fix Committed

Bug description:
  $ curl -v -X PUT http://127.0.0.1:9292/v1/images/8aa1f62d-73f2-4ed7-8d4c-b66407abd439  -H 'X-Auth-Token: 7535a1be77e3459e8e4928aae02a8042'  -H 'x-image-meta-id: fd6db2fa-9c9d-4105-aa3b-657914593de8'
  * Hostname was NOT found in DNS cache
  *   Trying 127.0.0.1...
  * Connected to 127.0.0.1 (127.0.0.1) port 9292 (#0)
  > PUT /v1/images/8aa1f62d-73f2-4ed7-8d4c-b66407abd439 HTTP/1.1
  > User-Agent: curl/7.35.0
  > Host: 127.0.0.1:9292
  > Accept: */*
  > X-Auth-Token: 7535a1be77e3459e8e4928aae02a8042
  > x-image-meta-id: fd6db2fa-9c9d-4105-aa3b-657914593de8
  >
  < HTTP/1.1 500 Internal Server Error
  < Content-Type: text/plain
  < Content-Length: 0
  < Date: Mon, 10 Aug 2015 17:00:00 GMT
  < Connection: close
  <
  * Closing connection 0

  and

  
  $ curl -v -X PUT http://127.0.0.1:9292/v1/images/8aa1f62d-73f2-4ed7-8d4c-b66407abd439 -H 'X-Auth-Token: 7535a1be77e3459e8e4928aae02a8042' -H 'x-image-meta-id: fd6db2fa-9c9d-4105-aa3b-657914593de8'
  * Hostname was NOT found in DNS cache
  * Trying 127.0.0.1...
  * Connected to 127.0.0.1 (127.0.0.1) port 9292 (#0)
  > PUT /v1/images/8aa1f62d-73f2-4ed7-8d4c-b66407abd439 HTTP/1.1
  > User-Agent: curl/7.35.0
  > Host: 127.0.0.1:9292
  > Accept: */*
  > X-Auth-Token: 7535a1be77e3459e8e4928aae02a8042
  > x-image-meta-id: fd6db2fa-9c9d-4105-aa3b-657914593de8
  >
  < HTTP/1.1 500 Internal Server Error
  < Content-Type: text/plain
  < Content-Length: 0
  < Date: Mon, 10 Aug 2015 17:00:00 GMT
  < Connection: close
  <
  * Closing connection 0

  Should return 403

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


References