Hi,

 

I get a token when I sourced the keystonerc_username during the installation, at the end of chapter 2.2

 

[admin@localhost ~(keystone_admin)]$ .  ~/keystonerc_username

[admin@localhost ~(keystone_username)]$ keystone user-list

You are not authorized to perform the requested action: admin_required (HTTP 403)

[admin@localhost ~(keystone_username)]$ keystone token-get

+-----------+----------------------------------+

|  Property         |              Value               |

+-----------+----------------------------------+

| expires             | 2012-08-14T16:40:33Z             |

| id                         | 46a5fb183c41433a9056f3d2767e8828 |

| tenant_id        | e25e9888d7794365be31855d78ab92fa |

| user_id             | b1a894bcf56b4591814cb619026e240e |

 

But now (after installing dashboard at chapter 5), when I’m entering the “keystone token-get” command, I got following output:

 

[admin@localhost ~(keystone_username)]$ .  ~/keystonerc_username

[admin@localhost ~(keystone_username)]$ keystone user-list

No handlers could be found for logger "keystoneclient.v2_0.client"

Authorization Failed: An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'keystone'@'localhost' (using password: YES)") None None (HTTP 500)

[admin@localhost ~(keystone_username)]$ keystone token-get

No handlers could be found for logger "keystoneclient.v2_0.client"

Authorization Failed: An unexpected error prevented the server from fulfilling your request. (OperationalError) (1045, "Access denied for user 'keystone'@'localhost' (using password: YES)") None None (HTTP 500)

 

I don’t know why it doesn’t work at the beginning and not at the end, after installing all the different Openstack modules. Do I have to modify the keystone.conf ?

 

Thank you very much for your help.

 

Nicolas Vogel

 

Collaborateur scientifique
Institut ICT
Route de Cheseaux 1
1400 Yverdon-les-Bains
Tél. : (+41) 24 557 64 74

 

From: cloud-bounces@lists.fedoraproject.org [mailto:cloud-bounces@lists.fedoraproject.org] On Behalf Of Adam Young
Sent: lundi 13 août 2012 17:10
To: cloud@lists.fedoraproject.org
Subject: Re: dashboard login

 

On 08/13/2012 04:16 AM, Vogel Nicolas wrote:

Hello,

 

I made a new installation from openstack-essex on a CentOS 6.3 server using following doc : http://fedorapeople.org/~russellb/openstack-lab-rhsummit-2012/index.html

 

Everything is working 100% fine, except some warnings because of deprecated functions but it doesn’t matter at this point.

 

I can launch the dashboard interface in my browser (http://127.0.0.1/dashboard) but after that I’m unable to login with my credentials admin/secret or username/secret. I set the env. variables (OS_USERNAME and OS_PASSWORD) new and restart the openstack-keystone service but it doesn’t work.

Dashboard does not use the env vars,  so I am not too clear on what you are saying here.

If you follow the instructions posted above,  you should be able to source the keystonerc_admin file and do

keystone token-get

If that works,  use the same userid and password to log in to the Dashboard.

Same thing with the keystonerc_username file.


If the Keystone CLI doesn't work, that is a different problem than the dashboard not working.




 

Has someone an idea to fix the problem?

Could I make all this installation by replacing the loopback address (127.0.0.1) with my eth0 physical IP-address?

 

Thanks,

 

Nicolas Vogel

 

Collaborateur scientifique
Institut ICT
Route de Cheseaux 1
1400 Yverdon-les-Bains
Tél. : (+41) 24 557 64 74

 




_______________________________________________
cloud mailing list
cloud@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/cloud