Re: [Openstack] glance authentication problem

2011-09-19 Thread Carlo Impagliazzo
Alle venerdì 16 settembre 2011, hai scritto:
 On Fri, Sep 16, 2011 at 10:46 AM, Carlo Impagliazzo truij...@crs4.it 
wrote:
  I've configured glance with
  default_store = file
  and with keystone for auth, according to the example in keystone sources.

 Would you mind pastebinning your config files (please remove any
 security creds)?

  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
  ***

 What version of Glance are you using? There should have been a notice
 in the above output about making sure you have your OS_AUTH_USER and
 OS_AUTH_KEY environ variables set?

 Cheers,
 jay

Hi!

my last glance version is diable-D4 released in 26/08/2011, less than one 
month ago and last downloaded on 14th.


I've had no nothice above output

[root@mercurio test]# nova-manage project zipfile 1234 joeuser
[root@mercurio test]# unzip nova.zip
[root@mercurio test]# source novarc
[root@mercurio test]# glance details
Failed to show details. Got error:
401 Unauthorized
...
...
...


My configuration files are here

http://paste.openstack.org/show/2471/

Now I'm using test data so there aren't sensible data.

I saw Nicolas posts, I think the problem is similar even... I don't know if 
milestone ( essex ) is closes one, I'm just trying to have a diable-d4 
environment working :)
C.



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] glance authentication problem

2011-09-16 Thread Jay Pipes
On Fri, Sep 16, 2011 at 10:46 AM, Carlo Impagliazzo truij...@crs4.it wrote:
 I've configured glance with
 default_store = file
 and with keystone for auth, according to the example in keystone sources.

Would you mind pastebinning your config files (please remove any
security creds)?

 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
 ***

What version of Glance are you using? There should have been a notice
in the above output about making sure you have your OS_AUTH_USER and
OS_AUTH_KEY environ variables set?

Cheers,
jay

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] glance authentication problem

2011-09-16 Thread Nicolas de BONFILS
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 truij...@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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp