← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1187395] Re: GET to non-existent member can return 500

 

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

Title:
  GET to non-existent member can return 500

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

Bug description:
  $ curl -v -k -H 'x-auth-token:  XXX' https://localhost:9191/images/ff01e505-97fc-4bd9-98ae-63f5b7181a86/members/123
  * 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
  * Server certificate:
  *        subject: C=US; ST=Nevada; L=Las Vegas; O=Hewlett Packard; OU=Cloud Services; CN=glance.rnda.aw1.hpcloud.net; emailAddress=csbu.galway@xxxxxx
  *        start date: 2013-02-19 16:47:42 GMT
  *        expire date: 2015-02-19 16:57:42 GMT
  *        common name: glance.rnda.aw1.hpcloud.net (does not match 'localhost')
  *        issuer: DC=ms; DC=hpcloud; CN=aw1cloudica01
  *        SSL certificate verify ok.
  > GET /images/ff01e505-97fc-4bd9-98ae-63f5b7181a86/members/123 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: HPAuth10_39a73cd66f63a22532e69eddf807444bbcc89c33a7303330e188415f33e321c4
  >
  < HTTP/1.1 500 Internal Server Error
  < Content-Type: text/plain
  < Content-Length: 0
  < Date: Tue, 04 Jun 2013 13:49:55 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/1187395/+subscriptions