I ran into this problem, it's cause by two env variable defined. Try to unset the OS_TOKEN variable you are using OS_USERNAME or unset SERVICE_ENDPOINT and SERVICE_TOKEN if you are using OS_AUTH_URL On Fri, Dec 7, 2012 at 1:49 PM, Wojciech Dec <wdec.ietf at gmail.com> wrote: > Hi All, > > while following the Openstack Install guide (all using regular repo > commands) on an Ubuntu 12.04 system I ran into the following problem with > Keystone: Pretty much any command entered gives the following error. > > host1:~$keystone user-role-add --user aba --role xxx --tenant_id 1 > Expecting authentication method via > either a service token, --token or env[SERVICE_TOKEN], > or credentials, --os_username or env[OS_USERNAME]. > > Any clues/solutions? > > Thanks. > W. Dec > > _______________________________________________ > 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 > > -- *guilherme* \n \t *maluf* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121207/020310c9/attachment.html>