← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1483649] [NEW] v1: sending bad format to created_at/deleted_at returns 500

 

Public bug reported:

> POST /v1/images HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:9292
> Accept: */*
> x-auth-token: 730b8eabc2e34a1299fcafa888131dc5
> x-image-meta-disk-format: raw
> x-image-meta-container-format: bare
> Content-type: application/octet-stream
> x-image-meta-updated_at: foo
> Content-Length: 2
> 
* upload completely sent off: 2 out of 2 bytes
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain
< Content-Length: 0
< Date: Tue, 11 Aug 2015 10:50:59 GMT
< Connection: close


* Closing connection 0
* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 9292 (#0)
> POST /v1/images HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:9292
> Accept: */*
> x-auth-token: 730b8eabc2e34a1299fcafa888131dc5
> x-image-meta-disk-format: raw
> x-image-meta-container-format: bare
> Content-type: application/octet-stream
> x-image-meta-deleted_at: foo
> Content-Length: 2
> 
* upload completely sent off: 2 out of 2 bytes
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain
< Content-Length: 0
< Date: Tue, 11 Aug 2015 10:53:38 GMT
< Connection: close

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

Title:
  v1: sending bad format to created_at/deleted_at returns 500

Status in Glance:
  New

Bug description:
  > POST /v1/images HTTP/1.1
  > User-Agent: curl/7.35.0
  > Host: localhost:9292
  > Accept: */*
  > x-auth-token: 730b8eabc2e34a1299fcafa888131dc5
  > x-image-meta-disk-format: raw
  > x-image-meta-container-format: bare
  > Content-type: application/octet-stream
  > x-image-meta-updated_at: foo
  > Content-Length: 2
  > 
  * upload completely sent off: 2 out of 2 bytes
  < HTTP/1.1 500 Internal Server Error
  < Content-Type: text/plain
  < Content-Length: 0
  < Date: Tue, 11 Aug 2015 10:50:59 GMT
  < Connection: close


  * Closing connection 0
  * Hostname was NOT found in DNS cache
  *   Trying 127.0.0.1...
  * Connected to localhost (127.0.0.1) port 9292 (#0)
  > POST /v1/images HTTP/1.1
  > User-Agent: curl/7.35.0
  > Host: localhost:9292
  > Accept: */*
  > x-auth-token: 730b8eabc2e34a1299fcafa888131dc5
  > x-image-meta-disk-format: raw
  > x-image-meta-container-format: bare
  > Content-type: application/octet-stream
  > x-image-meta-deleted_at: foo
  > Content-Length: 2
  > 
  * upload completely sent off: 2 out of 2 bytes
  < HTTP/1.1 500 Internal Server Error
  < Content-Type: text/plain
  < Content-Length: 0
  < Date: Tue, 11 Aug 2015 10:53:38 GMT
  < Connection: close

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


Follow ups