<div dir="ltr">Have you run init-keystone and setup-endpoints?<div>You need to run them after overcloud is deployed.</div><div><br></div><div>Quote from <a href="http://openstack.redhat.com/TripleO_VM_Setup" target="_blank" style="font-family:arial;font-size:large">http://openstack.redhat.com/TripleO_VM_Setup</a></div>
<div><h2 style="margin:50px 0px 20px;font-weight:normal;line-height:40px;color:rgb(136,136,136);font-size:22pt"><span class="" id="Overcloud_Steps" style>Overcloud Steps</span></h2><p style="margin:0px;color:rgb(51,51,51);font-size:14px;line-height:20px">
Once your Overcloud is up and running, it needs some initial orchestration to set it up. After that, you can deploy vm's on it if you want. Performance will be slow however since instances running on the Overcloud will be using qemu emulation only.</p>
<p style="margin:20px 0px 0px;color:rgb(51,51,51);font-size:14px;line-height:20px">These steps are actually the same as the TripleO upstream process, so instead of reproducing those steps here, head on over to:<a rel="nofollow" class="" href="http://docs.openstack.org/developer/tripleo-incubator/devtest_overcloud.html" style="color:rgb(0,136,204);text-decoration:none;background-image:none;padding-right:0px">http://docs.openstack.org/developer/tripleo-incubator/devtest_overcloud.html</a>. Pick up with step 10, where you're waiting for the Overcloud to finish deploying.</p>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 1:25 AM, 严超 <span dir="ltr"><<a href="mailto:yanchao727@gmail.com" target="_blank">yanchao727@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font size="4">Everything is OK except nova command in overcloud can't be used. Maybe keystone is configured wrongly ?</font><br>
<br>(undercloud)chaoya@ironic001:~/tripleo/tripleo-incubator$ heat resource-list overcloud<br>
+---------------------+---------------------------------------+-----------------+----------------------+<br>| resource_name       | resource_type                         | resource_status | updated_time         |<br>+---------------------+---------------------------------------+-----------------+----------------------+<br>

| AccessPolicy        | OS::Heat::AccessPolicy                | CREATE_COMPLETE | 2014-07-17T02:38:00Z |<br>| ComputeAccessPolicy | OS::Heat::AccessPolicy                | CREATE_COMPLETE | 2014-07-17T02:38:00Z |<br>| ComputeUser         | AWS::IAM::User                        | CREATE_COMPLETE | 2014-07-17T02:38:02Z |<br>

| User                | AWS::IAM::User                        | CREATE_COMPLETE | 2014-07-17T02:38:02Z |<br>| ComputeKey          | AWS::IAM::AccessKey                   | CREATE_COMPLETE | 2014-07-17T02:38:03Z |<br>| Key                 | AWS::IAM::AccessKey                   | CREATE_COMPLETE | 2014-07-17T02:38:03Z |<br>

| notcompute          | OS::Nova::Server                      | CREATE_COMPLETE | 2014-07-17T02:46:15Z |<br>| notcomputeConfig    | AWS::AutoScaling::LaunchConfiguration | CREATE_COMPLETE | 2014-07-17T02:46:16Z |<br>| NovaCompute0        | OS::Nova::Server                      | CREATE_COMPLETE | 2014-07-17T02:47:43Z |<br>

| NovaCompute0Config  | AWS::AutoScaling::LaunchConfiguration | CREATE_COMPLETE | 2014-07-17T02:47:44Z |<br>| CompletionHandle    | OS::Heat::UpdateWaitConditionHandle   | CREATE_COMPLETE | 2014-07-17T03:12:18Z |<br>| CompletionCondition | AWS::CloudFormation::WaitCondition    | CREATE_COMPLETE | 2014-07-17T03:12:19Z |<br>

+---------------------+---------------------------------------+-----------------+----------------------+<br>(undercloud)chaoya@ironic001:~/tripleo/tripleo-incubator$ nova list<br>+--------------------------------------+----------------------------------------+--------+------------+-------------+--------------------+<br>

| ID                                   | Name                                   | Status | Task State | Power State | Networks           |<br>+--------------------------------------+----------------------------------------+--------+------------+-------------+--------------------+<br>

| 94b5a81c-7767-49fb-a0b0-9442f355193d | overcloud-NovaCompute0-us25woc6rb42    | ACTIVE | -          | Running     | ctlplane=192.0.2.8 |<br>| c15e2000-cd43-444d-a141-c89ba18bdb06 | overcloud-notcompute-27yiw3bszwps      | ACTIVE | -          | Running     | ctlplane=192.0.2.7 |<br>

| ea99219c-dede-4df0-8b63-8fd410c9a14b | overcloud005-NovaCompute0-63qctvkfey62 | ACTIVE | -          | Running     | ctlplane=192.0.2.9 |<br>+--------------------------------------+----------------------------------------+--------+------------+-------------+--------------------+<br>

<br></div></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 15:27 GMT+08:00 Gangur, Hrushikesh (R & D HP Cloud) <span dir="ltr"><<a href="mailto:hrushikesh.gangur@hp.com" target="_blank">hrushikesh.gangur@hp.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">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p>I have seen this behavior when overcloud stack is not ready. Go to the Undercloud node and run "heat stack-list" to know the status of overcloud stack. If it is stuck at IN PROGRESS or ended in ERROR status, such behavior is observed.
<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">
</span><span style="font-size:11.0pt;font-family:"Microsoft JhengHei","sans-serif"">严超</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> [mailto:<a href="mailto:yanchao727@gmail.com" target="_blank">yanchao727@gmail.com</a>]
<br>
<b>Sent:</b> Monday, July 21, 2014 9:52 PM<br>
<b>To:</b> Clint Byrum<br>
<b>Cc:</b> openstack<br>
<b>Subject:</b> Re: [Openstack] [TripleO]Overcloud won't use nova command like "nova list"<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt">I was following this guide: <a href="http://openstack.redhat.com/TripleO_VM_Setup" target="_blank">
http://openstack.redhat.com/TripleO_VM_Setup</a></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS"">Best Regards</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Calibri","sans-serif"">!</span></i></b><u></u><u></u></p>


</div>
<p class="MsoNormal"><b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS"">Chao Yan<br>
--------------<br>
My twitter</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Calibri","sans-serif"">:</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS"">Andy Yan
<a href="https://twitter.com/yanchao727" target="_blank">@yanchao727</a></span></i></b><br>
<b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS"">My Weibo</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Calibri","sans-serif"">:</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS""><a href="http://weibo.com/herewearenow" target="_blank">http://weibo.com/herewearenow</a><br>


--------------</span></i></b><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2014-07-22 12:21 GMT+08:00 <span style="font-family:"Microsoft JhengHei","sans-serif"">
严超</span> <<a href="mailto:yanchao727@gmail.com" target="_blank">yanchao727@gmail.com</a>>:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal"><span style="font-size:13.5pt">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.<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt"><br>
ERROR: Invalid OpenStack Nova credentials.<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS"">Best Regards</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Calibri","sans-serif"">!</span></i></b><u></u><u></u></p>


</div>
<p class="MsoNormal"><b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS"">Chao Yan<br>
--------------<br>
My twitter</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Calibri","sans-serif"">:</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS"">Andy Yan
<a href="https://twitter.com/yanchao727" target="_blank">@yanchao727</a></span></i></b><br>
<b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS"">My Weibo</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Calibri","sans-serif"">:</span></i></b><b><i><span style="font-size:13.5pt;font-family:"Comic Sans MS""><a href="http://weibo.com/herewearenow" target="_blank">http://weibo.com/herewearenow</a><br>


--------------</span></i></b><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">2014-07-22 2:24 GMT+08:00 Clint Byrum <<a href="mailto:clint@fewbar.com" target="_blank">clint@fewbar.com</a>>:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">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 <span style="font-family:"Microsoft JhengHei","sans-serif"">严超</span>'s message of 2014-07-21 02:09:08 -0700:<u></u><u></u></p>
<div>
<p class="MsoNormal">> 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>
><u></u><u></u></p>
</div>
<p class="MsoNormal">> *Best Regards<span style="font-family:"Calibri","sans-serif"">!</span>*<br>
><br>
><br>
> *Chao Yan--------------**My twitter<span style="font-family:"Calibri","sans-serif"">:</span>Andy Yan @yanchao727<br>
> <<a href="https://twitter.com/yanchao727" target="_blank">https://twitter.com/yanchao727</a>>*<br>
><br>
><br>
> *My Weibo<span style="font-family:"Calibri","sans-serif"">:</span><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><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div></div></div><br></div>
<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">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>
<br></blockquote></div><br></div>