I ran into this problem, it's cause by two env variable defined.<br>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<br><div class="gmail_extra">

<br><br><div class="gmail_quote">On Fri, Dec 7, 2012 at 1:49 PM, Wojciech Dec <span dir="ltr"><<a href="mailto:wdec.ietf@gmail.com" target="_blank">wdec.ietf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi All,<br><br>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.<br>


<br>host1:~$keystone user-role-add --user aba --role xxx --tenant_id 1<br>Expecting authentication method via <br>  either a service token, --token or env[SERVICE_TOKEN], <br>  or credentials, --os_username or env[OS_USERNAME].<br>


<br>Any clues/solutions?<br><br>Thanks.<br>W. Dec<br>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><font face="Arial, Helvetica, sans-serif"><b>guilherme</b> \n<br>\<font>t</font> <b>maluf</b><br></font><br>
</div>