Re: [Openstack] Glance invalid credentials

2012-12-18 Thread JuanFra Rodriguez Cardoso
Hi guys!
No problem at all. It's just solved. It was an own mistake related to wrong
passwords (in YAML config file).

Sorry for any inconvenience.

Thanks a lot anyway!
JuanFra.

2012/12/18 Jian Wen wenj...@canonical.com

  On 2012年12月18日 09:29, YuXingchao wrote:

 Hi, JuanFra. This usually occurs if the auth info is invalid in the
 authtoken section. You can use glance --debug index ,then checkout the
 debug output and  watch glance-api and keystone log .


 At 2012-12-17 21:52:11,JuanFra Rodriguez Cardoso
 juanfra.rodriguez.card...@gmail.comjuanfra.rodriguez.card...@gmail.comwrote:

 Hi guys:

  I'm getting the following error when I try to index my glance repository
 from glanceclient:

  # glance index
  Request returned failure status.
  Invalid OpenStack Identity credentials.

 I've checked the env variables, keystone_db tables, config files and
 everything seems ok!
 Even, I got manually a token for admin user and I issued:

 curl -i -X GET -H 'X-Auth-Token: MY_TOKEN' -H 'Content-Type:
 application/json' -H 'User-Agent: python-glanceclient'
 http://127.0.0.1:9292/v1/images/detail?limit=20

 I'm using Folsom release on Centos 6.3.
 - Glance version: openstack-glance-2012.2-3.el6.noarch
 - Keystone version: openstack-keystone-2012.2-5.el6.noarch

  Did anyone get the same error?

  Thanks!
 JuanFra.






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

  Would you paste keystone.conf into paste.openstack.org?
 Have you installed openstack twice?

 --
 Jian Wen
 Software Engineer, Services and Support Team
 Canonical, Ltd


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


[Openstack] Glance invalid credentials

2012-12-17 Thread JuanFra Rodriguez Cardoso
Hi again!

Do not take into account my previous post where I'm getting an error from
glance credentials.
I found which was the problem. It was my own fault.
I was using YAML for populating Keystone and I made a mistake by replacing
with sed command.

Sorry. All is well!

Thanks!
JuanFra.
___
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 invalid credentials

2012-12-17 Thread YuXingchao
Hi, JuanFra. This usually occurs if the auth info is invalid in the authtoken 
section. You can use glance --debug index ,then checkout the debug output and  
watch glance-api and keystone log .




At 2012-12-17 21:52:11,JuanFra Rodriguez Cardoso 
juanfra.rodriguez.card...@gmail.com wrote:
Hi guys:


I'm getting the following error when I try to index my glance repository from 
glanceclient:


# glance index
Request returned failure status.
Invalid OpenStack Identity credentials.

I've checked the env variables, keystone_db tables, config files and everything 
seems ok!
Even, I got manually a token for admin user and I issued:

curl -i -X GET -H 'X-Auth-Token: MY_TOKEN' -H 'Content-Type: application/json' 
-H 'User-Agent: python-glanceclient' 
http://127.0.0.1:9292/v1/images/detail?limit=20

I'm using Folsom release on Centos 6.3.
- Glance version: openstack-glance-2012.2-3.el6.noarch
- Keystone version: openstack-keystone-2012.2-5.el6.noarch


Did anyone get the same error?


Thanks!
JuanFra.


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