[Openstack] Invalid OpenStack Identity credentials; when running "keystone role-list"
Razique Mahroua
razique.mahroua at gmail.com
Fri Jan 11 12:16:52 UTC 2013
You only need these for being able to interact with all the endpoints
export SERVICE_TOKEN=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=admin
export OS_AUTH_URL="http://10.10.10.2:5000/v2.0/"
export SERVICE_ENDPOINT=http://10.10.10.2:35357/v2.0
Razique Mahroua - Nuage & Co
razique.mahroua at gmail.com
Tel : +33 9 72 37 94 15
Le 11 janv. 2013 à 13:01, yasith tharindu <yasithucsc at gmail.com> a écrit :
> Hi;
>
> Thanks a lot Razique. I hadn't set OS_TENANT_NAME and now its working now. I need to work with all openstack nova, glance, swift, keystone CLIs follow variables I have currently set.
>
>
> export NOVA_PROJECT_ID
> export NOVA_USERNAME
> export NOVA_API_KEY
> export NOVA_URL
>
>
> export OS_USERNAME
> export OS_PASSWORD
> export OS_AUTH_URL
> export OS_TENANT_NAME
>
> Do I have t set any other variables. Can i find some bash which exports all required variables?
>
> Thanks
>
> On Fri, Jan 11, 2013 at 3:32 PM, Razique Mahroua <razique.mahroua at gmail.com> wrote:
> Hi,
> looks like your current user's credentials are not the one defined into KS.
> Check your .bashrc' following values :
>> export OS_USERNAME=$KEYSTONE USER
>> export OS_PASSWORD=$KEYSTONE PASSWORD
>> export OS_TENANT_NAME=$YOUR TENANT
>
> Regards,
> Razique Mahroua - Nuage & Co
> razique.mahroua at gmail.com
> Tel : +33 9 72 37 94 15
>
> <NUAGECO-LOGO-Fblan_petit.jpg>
>
> Le 11 janv. 2013 à 10:53, yasith tharindu <yasithucsc at gmail.com> a écrit :
>
>>
>> Hi All; Im getting following error when trying to: following keystone commands. What could be the problem?
>>
>>
>>
>> #keystone role-list
>> No handlers could be found for logger "keystoneclient.v2_0.client"
>> Invalid OpenStack Identity credentials.
>>
>>
>> #But keystone service-list
>> No handlers could be found for logger "keystoneclient.v2_0.client"
>> +----+------+------+-------------+
>> | id | name | type | description |
>> +----+------+------+-------------+
>> +----+------+------+-------------+
>>
>>
>>
>> nova commands also works.
>>
>> # nova list
>> +--------------------------------------+-----------------------+--------+-----------------------------------+
>> | ID | Name | Status | Networks |
>> +--------------------------------------+-----------------------+--------+-----------------------------------+
>> | 31bc1922-5dc2-4461-a047-f14f4bc4fa2c | test | ACTIVE | service=172.16.25.5, 192.168.25.1 |
>> | b1d8534c-a022-4a70-b266-ae71156adc3f | image | ACTIVE | service=172.16.25.6, 192.168.25.5 |
>> +--------------------------------------+-----------------------+--------+-----------------------------------+
>>
>>
>>
>> Please let me know what could be the problem and where to start troubleshoot.
>>
>>
>> _______________________________________________
>> 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
>
>
>
>
> --
> Thanks..
> Regards...
>
> Blog: http://www.yasith.info
> Twitter : http://twitter.com/yasithnd
> LinkedIn : http://www.linkedin.com/in/yasithnd
> GPG Key ID : 57CEE66E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130111/483bba1d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NUAGECO-LOGO-Fblan_petit.jpg
Type: image/jpeg
Size: 10122 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130111/483bba1d/attachment.jpg>
More information about the Openstack
mailing list