[Openstack] keystone user-role-list error

heckj heckj at mac.com
Sat Sep 29 19:54:23 UTC 2012


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 at gmail.com> 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 at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120929/eb331153/attachment.html>


More information about the Openstack mailing list