[Openstack] glance authentication problem

Carlo Impagliazzo truijllo at crs4.it
Fri Sep 16 14:46:52 UTC 2011


Hi, all

I've configured glance with 
default_store = file
and with keystone for auth, according to the example in keystone sources.

if I try something like  glance details

*******************************
Failed to show details. Got error:
401 Unauthorized

This server could not verify that you are authorized to access the document 
you requested. Either you supplied the wrong credentials (e.g., bad 
password), or your browser does not understand how to supply the credentials 
required.

 Authentication required
*******************************

in glance-api.log there is something like:
*******************************
2011-09-16 16:45:17,139 eventlet.wsgi.server: DEBUG wsgi write 127.0.0.1 - - 
[16/Sep/2011 16:45:17] "GET /v1/images/detail?limit=10 HTTP/1.1" 401 461 
0.000884
2011-09-16 16:55:06,527 eventlet.wsgi.server: DEBUG wsgi write 127.0.0.1 - - 
[16/Sep/2011 16:55:06] "GET /v1/images/detail?limit=10 HTTP/1.1" 401 461 
0.000871
*******************************


and in keystone.log nothing appears.

glance is not the only tool... even euca-describe-images doesn't work :/

I'm using sampledata.py with the patch in nova endpointtemplate ( %tenant_id% 
suggested in previous mail )

Any suggestions for something to check ? 
Thanks!
Carlo




More information about the Openstack mailing list