500 server error when admin tries to access private image uuid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Stuart McLaren |
Bug Description
This shows up in a couple different ways:
$ curl -v -k -H 'x-auth-token: XXX' -X PUT -H 'x-glance-
* About to connect() to localhost port 9191 (#0)
* Trying 127.0.0.1... connected
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
> PUT /images/
> User-Agent: curl/7.22.0 (x86_64-
> Host: localhost:9191
> Accept: */*
> x-auth-token: XXX
> x-glance-
> x-image-
>
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain
< Content-Length: 0
< Date: Thu, 25 Apr 2013 10:05:27 GMT
< Connection: close
<
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
curl -v -H 'X-Auth-Token: XXX' -k https:/
* About to connect() to localhost port 9292 (#0)
* Trying 15.184.9.33... connected
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
* Server certificate:
> GET /v1/images?
> User-Agent: curl/7.22.0 (x86_64-
> Host: localhost:9292
> Accept: */*
> X-Auth-Token: XXX
>
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain
< Content-Length: 0
< Date: Thu, 25 Apr 2013 11:07:15 GMT
< Connection: close
<
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
Changed in glance: | |
milestone: | none → havana-2 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | havana-2 → 2013.2 |
Working on a patch...