← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1172719] Re: 500 server error when admin tries to access private image uuid

 

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

** Changed in: glance
    Milestone: None => havana-2

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

Title:
  500 server error when admin tries to access private image uuid

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

Bug description:
  This shows up in a couple different ways:

  
  $ curl -v -k -H 'x-auth-token: XXX' -X PUT -H 'x-glance-registry-purge-props: false' -H 'x-image-meta-property-foo: bar' https://localhost:9191/images/719bb85c-c8df-4fae-ba2a-f2bd5271c4f3
  * 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/719bb85c-c8df-4fae-ba2a-f2bd5271c4f3 HTTP/1.1
  > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
  > Host: localhost:9191
  > Accept: */*
  > x-auth-token: XXX
  > x-glance-registry-purge-props: false
  > x-image-meta-property-foo: bar
  >
  < 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://localhost:9292/v1/images?marker=932c5833-b7a4-4a90-847b-914ce611099b
  * 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?marker=932c5833-b7a4-4a90-847b-914ce611099b HTTP/1.1
  > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
  > 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):

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