<div dir="ltr"><font size="4">I was following this guide: <a href="http://openstack.redhat.com/TripleO_VM_Setup">http://openstack.redhat.com/TripleO_VM_Setup</a></font><br></div><div class="gmail_extra"><br clear="all"><div>
<div dir="ltr"><div><font face="comic sans ms, sans-serif" size="4"><b><i>Best Regards!</i></b></font></div><font face="comic sans ms, sans-serif" size="4"><b><i>Chao Yan<br><font>--------------<br></font></i></b></font><font face="comic sans ms, sans-serif" size="4"><b><i><font>My twitter:Andy Yan <a href="https://twitter.com/yanchao727" target="_blank">@yanchao727</a></font></i></b></font><br>
<font face="comic sans ms, sans-serif" size="4"><b><i><font>My Weibo:<a href="http://weibo.com/herewearenow" target="_blank">http://weibo.com/herewearenow</a><br>--------------</font><br></i></b></font></div></div>
<br><br><div class="gmail_quote">2014-07-22 12:21 GMT+08:00 严超 <span dir="ltr"><<a href="mailto:yanchao727@gmail.com" target="_blank">yanchao727@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><font size="4">NO, I still can't use nova commands, debug is like follow :<br><br>chaoya@ironic001:~/tripleo$ export -p | grep OS<br>declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"<br>declare -x OS_AUTH_URL="<a href="http://192.0.2.7:5000/v2.0" target="_blank">http://192.0.2.7:5000/v2.0</a>"<br>

declare -x OS_NO_CACHE="True"<br>declare -x OS_PASSWORD="unset"<br>declare -x OS_TENANT_NAME="admin"<br>declare -x OS_USERNAME="admin"<br>chaoya@ironic001:~/tripleo$ nova --debug list<br>

<br>REQ: curl -i '<a href="http://192.0.2.7:5000/v2.0/tokens" target="_blank">http://192.0.2.7:5000/v2.0/tokens</a>' -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "unset"}}}'<br>

<br>New session created for: (<a href="http://192.0.2.7:5000" target="_blank">http://192.0.2.7:5000</a>)<br>RESP: [401] {'date': 'Tue, 22 Jul 2014 12:19:27 GMT', 'transfer-encoding': 'chunked', 'content-type': 'application/json', 'www-authenticate': 'Keystone uri="<a href="http://localhost:5000/" target="_blank">http://localhost:5000/</a>"', 'vary': 'X-Auth-Token'}<br>

RESP BODY: {"error": {"message": "Could not find user, admin.", "code": 401, "title": "Unauthorized"}}<br><br>DEBUG (shell:777) Invalid OpenStack Nova credentials.<br>

Traceback (most recent call last):<br>  File "/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/shell.py", line 774, in main<br>    OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))<br>

  File "/home/chaoya/tripleo/tripleo-incubator/openstack-tools/local/lib/python2.7/site-packages/novaclient/shell.py", line 687, in main<br>    raise exc.CommandError(_("Invalid OpenStack Nova credentials."))<br>

CommandError: Invalid OpenStack Nova credentials.<div class=""><br>ERROR: Invalid OpenStack Nova credentials.<br></div></font><br></div><div class="gmail_extra"><div class=""><br clear="all"><div><div dir="ltr"><div><font face="comic sans ms, sans-serif" size="4"><b><i>Best Regards!</i></b></font></div>

<font face="comic sans ms, sans-serif" size="4"><b><i>Chao Yan<br><font>--------------<br></font></i></b></font><font face="comic sans ms, sans-serif" size="4"><b><i><font>My twitter:Andy Yan <a href="https://twitter.com/yanchao727" target="_blank">@yanchao727</a></font></i></b></font><br>

<font face="comic sans ms, sans-serif" size="4"><b><i><font>My Weibo:<a href="http://weibo.com/herewearenow" target="_blank">http://weibo.com/herewearenow</a><br>--------------</font><br></i></b></font></div></div>
<br><br></div><div class="gmail_quote">2014-07-22 2:24 GMT+08:00 Clint Byrum <span dir="ltr"><<a href="mailto:clint@fewbar.com" target="_blank">clint@fewbar.com</a>></span>:<div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Not sure what is in stackrc, but if you used tripleo's 'devtest', it<br>
produces a 'tripleorc' which can be sourced, but you still also need to<br>
choose between overcloud and undercloud. So:<br>
<br>
. $TRIPLEO_ROOT/tripleorc<br>
. $TRIPLEO_ROOT/overcloudrc<br>
<br>
Should work.<br>
<br>
Excerpts from 严超's message of 2014-07-21 02:09:08 -0700:<br>
<div>> Hi, Everyone :<br>
>         I've got the same issue when deployed overcloud and undercloud<br>
> using TripleO, I can use "nova list" and the other nova command :<br>
> <a href="https://bugs.launchpad.net/tripleo/+bug/1290488" target="_blank">https://bugs.launchpad.net/tripleo/+bug/1290488</a><br>
> Is there any way to solve this?<br>
><br>
> root@overcloud-notcompute0-zdcmpw47hksu:~# . ~/stackrc<br>
> root@overcloud-notcompute0-zdcmpw47hksu:~# nova list<br>
> ERROR: Invalid OpenStack Nova credentials.<br>
> root@overcloud-notcompute0-zdcmpw47hksu:~#<br>
><br>
</div>> *Best Regards!*<br>
><br>
><br>
> *Chao Yan--------------**My twitter:Andy Yan @yanchao727<br>
> <<a href="https://twitter.com/yanchao727" target="_blank">https://twitter.com/yanchao727</a>>*<br>
><br>
><br>
> *My Weibo:<a href="http://weibo.com/herewearenow" target="_blank">http://weibo.com/herewearenow</a><br>
> <<a href="http://weibo.com/herewearenow" target="_blank">http://weibo.com/herewearenow</a>>--------------*<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>