← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470164] Re: Unexpected error in glance registry when param 'allow_anonymous_access' is True

 

I approved these Erno. Thanks for nominating them.

** Also affects: glance/juno
   Importance: Undecided
       Status: New

** Also affects: glance/liberty
   Importance: Undecided
     Assignee: jelly (coding1314)
       Status: In Progress

** Also affects: glance/kilo
   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/1470164

Title:
  Unexpected error in glance registry when param
  'allow_anonymous_access' is True

Status in OpenStack Image Registry and Delivery Service (Glance):
  In Progress
Status in Glance juno series:
  New
Status in Glance kilo series:
  New
Status in Glance liberty series:
  In Progress

Bug description:
  Steps to reproduce:

  1. Stop "glance-api" service.
  2. In "glance-api.conf"  set "allow_anonymous_access = True"
  3. Start "glance-api" service.
  4. Trying to get image-list with use v1 and without keystone "x-auth-token"

  GET /v1/images HTTP/1.1
  Host: 172.18.85.25:2081
  User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
  Accept-Encoding: gzip, deflate
  Connection: keep-alive

  Actual result:

  HTTP/1.1 500 Internal Server Error
  Content-Type: text/plain
  Content-Length: 0
  Date: Tue, 30 Jun 2015 14:54:42 GMT
  Connection: close

  P.S: Affected all versions of glance (v1,v2,v3) if you use 'registry'
  backend and "use_user_token = true" in glance-api.conf (default
  value).

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


References