← Back to team overview

openstack team mailing list archive

Re: glance authentication problem

 

Hi all,

I got the same problem,
Check this bug https://bugs.launchpad.net/glance/+bug/850685 and this
question https://answers.launchpad.net/glance/+question/170979

--- Nicolas


On Fri, Sep 16, 2011 at 16:46, Carlo Impagliazzo <truijllo@xxxxxxx> wrote:

> 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
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

References