← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470164] [NEW] Glance v1 not working with "allow_anonymous_access = True"

 

Public bug reported:

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

** Affects: glance
     Importance: Undecided
         Status: New


** Tags: glance

** Attachment added: "Glance-api log with traceback"
   https://bugs.launchpad.net/bugs/1470164/+attachment/4422528/+files/glance-api.log

-- 
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:
  Glance v1 not working with "allow_anonymous_access = True"

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

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

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


Follow ups

References