openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #17045
Re: keystone user-role-list error
Hey Asher,
That's a bug in keystoneclient - the method for doing the role listing is making a bad assumption that you're authenticating with a username and password, not handing in a token, and is getting wrapped around the axle trying to figure out what tenant you are. If you create an admin account with the --token and --endpoint options, and then use those options for this same command, you should be OK.
This should definitely be filed as a bug :-) https://bugs.launchpad.net/python-keystoneclient/+bug/1058750
Use that link to subscribe to the bug if you want to track it's progress.
-joe
On Sep 29, 2012, at 5:35 AM, Asher Newcomer <ashernew@xxxxxxxxx> wrote:
> It looks like user-role-list is a recently added command in keystone (launchpad).
>
> When I run it on a new keystone install in Ubuntu 12.04 I get:
>
> keystone --token <mytoken> --endpoint http://192.168.1.11:35357/v2.0 user-role-list
>
> 'Client' object has no attribute 'auth_tenant_id'
>
> It looks client side, and no corresponding entry in keystone.log. Bug?
>
> Thanks,
>
> Asher
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
Follow ups
References