[Openstack] glance authentication problem

Nicolas de BONFILS ndebonfils at gmail.com
Fri Sep 16 14:51:53 UTC 2011


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 at crs4.it> 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 at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110916/88ba7b2b/attachment.html>


More information about the Openstack mailing list