<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">the curl command runs just fine. It
gives the list of endpoints.<br>
<br>
the nova-api.log (the only one that moves when trying to log into
horizon) shows nothing special.<br>
<br>
(see output below)<br>
<br>
Finally, I installed Grizzly by adding this in sources.list:<br>
<tt>deb <a class="moz-txt-link-freetext" href="http://ubuntu-cloud.archive.canonical.com/ubuntu">http://ubuntu-cloud.archive.canonical.com/ubuntu</a>
precise-updates/grizzly main</tt><br>
<br>
It's grizzly-2. I followed the doc here:
<a class="moz-txt-link-freetext" href="http://docs.openstack.org/trunk/openstack-compute/install/apt/content/ap_installingfolsomubuntuprecise.html">http://docs.openstack.org/trunk/openstack-compute/install/apt/content/ap_installingfolsomubuntuprecise.html</a><br>
<br>
<br>
Yet any clue?<br>
<br>
<br>
<tt>root@leonard:~# curl
<a class="moz-txt-link-freetext" href="http://192.168.203.103:35357/v2.0/endpoints">http://192.168.203.103:35357/v2.0/endpoints</a> -H 'x-auth-token:
folsom' | python -m json.tool</tt><tt><br>
</tt><tt> % Total % Received % Xferd Average Speed Time
Time Time Current</tt><tt><br>
</tt><tt> Dload Upload Total
Spent Left Speed</tt><tt><br>
</tt><tt>100 2270 0 2270 0 0 284k 0 --:--:--
--:--:-- --:--:-- 316k</tt><tt><br>
</tt><tt>{</tt><tt><br>
</tt><tt> "endpoints": [</tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> "adminurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:8773/services/Admin">"http://192.168.203.103:8773/services/Admin"</a>, </tt><tt><br>
</tt><tt> "id": "9248f20cf38b4dbaa3f85abc1ee1f94d", </tt><tt><br>
</tt><tt> "internalurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:8773/services/Cloud">"http://192.168.203.103:8773/services/Cloud"</a>, </tt><tt><br>
</tt><tt> "publicurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.202.103:8773/services/Cloud">"http://192.168.202.103:8773/services/Cloud"</a>, </tt><tt><br>
</tt><tt> "region": "myregion", </tt><tt><br>
</tt><tt> "service_id":
"c22a33b56e67445a9550643a276a2f87"</tt><tt><br>
</tt><tt> }, </tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> "adminurl": <a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:9696/v2">"http://192.168.203.103:9696/v2"</a>,
</tt><tt><br>
</tt><tt> "id": "bdb68ba018c34cad95acb24f3ad92645", </tt><tt><br>
</tt><tt> "internalurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:9696/v2">"http://192.168.203.103:9696/v2"</a>, </tt><tt><br>
</tt><tt> "publicurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.202.103:9696/v2">"http://192.168.202.103:9696/v2"</a>, </tt><tt><br>
</tt><tt> "region": "myregion", </tt><tt><br>
</tt><tt> "service_id":
"d21a72e559934837901574dfb3bc6a6c"</tt><tt><br>
</tt><tt> }, </tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> "adminurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:8774/v2/%(tenant_id)s">"http://192.168.203.103:8774/v2/%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "id": "61c1c0305ffa4254b8271a2045489d9a", </tt><tt><br>
</tt><tt> "internalurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:8774/v2/%(tenant_id)s">"http://192.168.203.103:8774/v2/%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "publicurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.202.103:8774/v2/%(tenant_id)s">"http://192.168.202.103:8774/v2/%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "region": "myregion", </tt><tt><br>
</tt><tt> "service_id":
"99f1d14e769046099e85d010ed4c29da"</tt><tt><br>
</tt><tt> }, </tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> "adminurl": <a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:8080/v1">"http://192.168.203.103:8080/v1"</a>,
</tt><tt><br>
</tt><tt> "id": "beaf4c028cc24068a2068ea16489eb94", </tt><tt><br>
</tt><tt> "internalurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:8080/v1/AUTH_%(tenant_id)s">"http://192.168.203.103:8080/v1/AUTH_%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "publicurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.202.103:8080/v1/AUTH_%(tenant_id)s">"http://192.168.202.103:8080/v1/AUTH_%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "region": "myregion", </tt><tt><br>
</tt><tt> "service_id":
"7fc69365d1b64eb58e7ac6fcf8369ff2"</tt><tt><br>
</tt><tt> }, </tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> "adminurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:35357/v2.0">"http://192.168.203.103:35357/v2.0"</a>, </tt><tt><br>
</tt><tt> "id": "1c45042b6bb64fd7b6f56d7348e86103", </tt><tt><br>
</tt><tt> "internalurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:5000/v2.0">"http://192.168.203.103:5000/v2.0"</a>, </tt><tt><br>
</tt><tt> "publicurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.202.103:5000/v2.0">"http://192.168.202.103:5000/v2.0"</a>, </tt><tt><br>
</tt><tt> "region": "myregion", </tt><tt><br>
</tt><tt> "service_id":
"37059fcb24d345f293d4add7202504bb"</tt><tt><br>
</tt><tt> }, </tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> "adminurl": <a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:9292">"http://192.168.203.103:9292"</a>, </tt><tt><br>
</tt><tt> "id": "0f9dbbb5ac764e0794464abcb46047a2", </tt><tt><br>
</tt><tt> "internalurl": <a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:9292">"http://192.168.203.103:9292"</a>,
</tt><tt><br>
</tt><tt> "publicurl": <a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:9292">"http://192.168.203.103:9292"</a>, </tt><tt><br>
</tt><tt> "region": "myregion", </tt><tt><br>
</tt><tt> "service_id":
"0ad102dc14eb4866af351358e372cb23"</tt><tt><br>
</tt><tt> }, </tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> "adminurl":
"192.168.203.103:8776/v1/%(tenant_id)s", </tt><tt><br>
</tt><tt> "id": "c4f3ea0477ac428b958f5bcee2fb14e1", </tt><tt><br>
</tt><tt> "internalurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:8776/v1/%(tenant_id)s">"http://192.168.203.103:8776/v1/%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "publicurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.202.103:8776/v1/%(tenant_id)s">"http://192.168.202.103:8776/v1/%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "region": "myregion", </tt><tt><br>
</tt><tt> "service_id":
"19b1f3c4fa5843a295e538aab1f4cd40"</tt><tt><br>
</tt><tt> }, </tt><tt><br>
</tt><tt> {</tt><tt><br>
</tt><tt> "adminurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:8776/v1/%(tenant_id)s">"http://192.168.203.103:8776/v1/%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "id": "fe82e5a1b6344c5784eb89be0d04b10b", </tt><tt><br>
</tt><tt> "internalurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.203.103:8776/v1/%(tenant_id)s">"http://192.168.203.103:8776/v1/%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "publicurl":
<a class="moz-txt-link-rfc2396E" href="http://192.168.202.103:8776/v1/%(tenant_id)s">"http://192.168.202.103:8776/v1/%(tenant_id)s"</a>, </tt><tt><br>
</tt><tt> "region": "myregion", </tt><tt><br>
</tt><tt> "service_id":
"ef7714abcdc04c06aa9f1ef2bdc29a3a"</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt> ]</tt><tt><br>
</tt><tt>}</tt><tt><br>
</tt><br>
<br>
<br>
<big><big><big><b><br>
</b><b><tt>nova-api.log:</tt></b></big></big></big><tt><br>
</tt><tt>2013-02-20 12:05:59 23201 INFO
nova.osapi_compute.wsgi.server [-] (23201) accepted
('192.168.202.103', 33777)</tt><tt><br>
</tt><tt><br>
</tt><tt>2013-02-20 12:05:59 INFO nova.api.openstack.wsgi
[req-e3468922-0880-439f-b8fd-4ac0bacd33ea
a933854b05e04921a78684368e89c47d
a9f86bcd83e94fbdba61862bce42e717] GET
<a class="moz-txt-link-freetext" href="http://192.168.202.103:8774/v2/a9f86bcd83e94fbdba61862bce42e717/os-simple-tenant-usage?start=2013-02-01T00:00:00&end=2013-02-20T11:05:59.865130&detailed=1">http://192.168.202.103:8774/v2/a9f86bcd83e94fbdba61862bce42e717/os-simple-tenant-usage?start=2013-02-01T00:00:00&end=2013-02-20T11:05:59.865130&detailed=1</a></tt><tt><br>
</tt><tt>2013-02-20 12:05:59 DEBUG nova.api.openstack.wsgi
[req-e3468922-0880-439f-b8fd-4ac0bacd33ea
a933854b05e04921a78684368e89c47d
a9f86bcd83e94fbdba61862bce42e717] No Content-Type provided in
request get_body
/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:792</tt><tt><br>
</tt><tt>2013-02-20 12:05:59 DEBUG nova.openstack.common.lockutils
[req-e3468922-0880-439f-b8fd-4ac0bacd33ea
a933854b05e04921a78684368e89c47d
a9f86bcd83e94fbdba61862bce42e717] Got semaphore
"nova.servicegroup.api.new" for method "__new__"... inner
/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py:185</tt><tt><br>
</tt><tt>2013-02-20 12:05:59 INFO nova.api.openstack.wsgi
[req-e3468922-0880-439f-b8fd-4ac0bacd33ea
a933854b05e04921a78684368e89c47d
a9f86bcd83e94fbdba61862bce42e717]
<a class="moz-txt-link-freetext" href="http://192.168.202.103:8774/v2/a9f86bcd83e94fbdba61862bce42e717/os-simple-tenant-usage?start=2013-02-01T00:00:00&end=2013-02-20T11:05:59.865130&detailed=1">http://192.168.202.103:8774/v2/a9f86bcd83e94fbdba61862bce42e717/os-simple-tenant-usage?start=2013-02-01T00:00:00&end=2013-02-20T11:05:59.865130&detailed=1</a>
returned with HTTP 200</tt><tt><br>
</tt><tt>2013-02-20 12:05:59 INFO nova.osapi_compute.wsgi.server
[req-e3468922-0880-439f-b8fd-4ac0bacd33ea
a933854b05e04921a78684368e89c47d
a9f86bcd83e94fbdba61862bce42e717] 192.168.202.103 "GET
/v2/a9f86bcd83e94fbdba61862bce42e717/os-simple-tenant-usage?start=2013-02-01T00:00:00&end=2013-02-20T11:05:59.865130&detailed=1
HTTP/1.1" status: 200 len: 193 time: 0.0633430</tt><tt><br>
</tt><tt><br>
</tt><tt>2013-02-20 12:05:59 23201 INFO
nova.osapi_compute.wsgi.server [-] (23201) accepted
('192.168.202.103', 33779)</tt><tt><br>
</tt><tt><br>
</tt><tt>2013-02-20 12:05:59 INFO nova.api.openstack.wsgi
[req-6526a565-d6d3-49e6-8c7a-70f7c850eb14
a933854b05e04921a78684368e89c47d
a9f86bcd83e94fbdba61862bce42e717] GET
<a class="moz-txt-link-freetext" href="http://192.168.202.103:8774/v2/a9f86bcd83e94fbdba61862bce42e717/os-quota-sets/a9f86bcd83e94fbdba61862bce42e717">http://192.168.202.103:8774/v2/a9f86bcd83e94fbdba61862bce42e717/os-quota-sets/a9f86bcd83e94fbdba61862bce42e717</a></tt><tt><br>
</tt><tt>2013-02-20 12:05:59 DEBUG nova.api.openstack.wsgi
[req-6526a565-d6d3-49e6-8c7a-70f7c850eb14
a933854b05e04921a78684368e89c47d
a9f86bcd83e94fbdba61862bce42e717] No Content-Type provided in
request get_body
/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:792</tt><tt><br>
</tt><tt>2013-02-20 12:05:59 INFO nova.api.openstack.wsgi
[req-6526a565-d6d3-49e6-8c7a-70f7c850eb14
a933854b05e04921a78684368e89c47d
a9f86bcd83e94fbdba61862bce42e717]
<a class="moz-txt-link-freetext" href="http://192.168.202.103:8774/v2/a9f86bcd83e94fbdba61862bce42e717/os-quota-sets/a9f86bcd83e94fbdba61862bce42e717">http://192.168.202.103:8774/v2/a9f86bcd83e94fbdba61862bce42e717/os-quota-sets/a9f86bcd83e94fbdba61862bce42e717</a>
returned with HTTP 200</tt><tt><br>
</tt><tt>2013-02-20 12:05:59 INFO nova.osapi_compute.wsgi.server
[req-6526a565-d6d3-49e6-8c7a-70f7c850eb14
a933854b05e04921a78684368e89c47d
a9f86bcd83e94fbdba61862bce42e717] 192.168.202.103 "GET
/v2/a9f86bcd83e94fbdba61862bce42e717/os-quota-sets/a9f86bcd83e94fbdba61862bce42e717
HTTP/1.1" status: 200 len: 478 time: 0.0588741</tt><br>
<br>
<br>
<pre class="moz-signature" cols="72">Michaël Van de Borne
R&D Engineer, SOA team, CETIC
Phone: +32 (0)71 49 07 45 Mobile: +32 (0)472 69 57 16, Skype: mikemowgli
<a class="moz-txt-link-abbreviated" href="http://www.cetic.be">www.cetic.be</a>, rue des Frères Wright, 29/3, B-6041 Charleroi
</pre>
Le 20/02/2013 05:03, Trinath Somanchi a écrit :<br>
</div>
<blockquote
cite="mid:CAH8HgmZ6==UB+cEd8sL4ZY=AO4oygRiP+rWzh+3ekhE_JwQkfw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi-
<div><br>
</div>
<div>Can you test the keystone with this command.</div>
<div><br>
</div>
<div>
<pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">curl <a class="moz-txt-link-freetext" href="http://">http://</a><--controller-ip-->:35357/v2.0/endpoints -H 'x-auth-token: <--your-auth-token-->'</pre>
<pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">Also, check the nova logs when you access horizon. " tail -f /var/log/nova/*.log"</pre>
<pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">Can you update me on how did you get to work with Grizzly is it RC-1 or RC-2. Can you share me the installation document for grizzly which you have followed.</pre>
<pre style="margin-top:15px;margin-bottom:15px;padding:6px 10px;border:1px solid rgb(204,204,204);font-size:13px;font-family:Consolas,'Liberation Mono',Courier,monospace;background-color:rgb(248,248,248);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
</pre>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Feb 19, 2013 at 10:56 PM,
Michaël Van de Borne <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:michael.vandeborne@cetic.be" target="_blank">michael.vandeborne@cetic.be</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Moreover (sorry for spamming), this command works
fine:<br>
<br>
<a moz-do-not-send="true"
href="mailto:root@leonard:/etc/init.d#"
target="_blank">root@leonard:/etc/init.d#</a> keystone
--os-username nova --os-password openstack
--os-tenant-name service --os-auth-url <a
moz-do-not-send="true"
href="http://192.168.203.103:5000/v2.0/"
target="_blank">http://192.168.203.103:5000/v2.0/</a>
token-get<br>
<tt>+-----------+----------------------------------+</tt><tt><br>
</tt><tt>| Property | Value
|</tt><tt><br>
</tt><tt>+-----------+----------------------------------+</tt><tt><br>
</tt><tt>| expires | 2013-02-20T17:19:25Z
|</tt><tt><br>
</tt><tt>| id | 0eb9d38144604ced8e9fc5def623f9ca
|</tt><tt><br>
</tt><tt>| tenant_id | a9f86bcd83e94fbdba61862bce42e717
|</tt><tt><br>
</tt><tt>| user_id | a933854b05e04921a78684368e89c47d
|</tt><tt><br>
</tt><tt>+-----------+----------------------------------+</tt><br>
<br>
this works as well:<br>
nova --os-username nova --os-password openstack
--os-tenant-name service --os-auth-url <a
moz-do-not-send="true"
href="http://192.168.203.103:5000/v2.0/"
target="_blank">http://192.168.203.103:5000/v2.0/</a>
list<br>
<br>
<br>
So this makes me think that users, roles, services,
tenants and endpoints are configured properly in
keystone. But I can be wrong...<br>
<br>
<br>
<br>
<br>
Le 19/02/2013 18:09, Michaël Van de Borne a écrit :<br>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div>I checked /etc/nova/api-paste.ini. Here's the
relevant section in it:<br>
<br>
[filter:authtoken]<br>
paste.filter_factory =
keystone.middleware.auth_token:filter_factory<br>
auth_host = 192.168.203.103<br>
auth_port = 35357<br>
auth_protocol = http<br>
admin_tenant_name = service<br>
admin_user = nova<br>
admin_password = openstack<br>
signing_dir = /tmp/keystone-signing-nova<br>
<br>
I played with the tenant name (admin, service),
the port (35357, 5000) and the user (nova, admin)
and various combination of all those. I also
changed keystone by keystoneclient in the
'paste.filter_factory' line (as I saw both in doc)<br>
<br>
still no luck.<br>
<br>
any clue?<br>
<br>
<br>
<br>
<br>
<br>
Le 19/02/2013 17:40, Michaël Van de Borne a
écrit :<br>
</div>
<blockquote type="cite">
<div>Same problem here. Running Grizzly. Dashboard
keeps prompting me for my credentials. Pretty
sure dashboard sends wrong tenant name to
keystone. Here is the keystone.log entry:<br>
2013-02-19 16:55:06 WARNING
[keystone.common.wsgi] Authorization failed. The
request you have made requires authentication.
from 192.168.203.103<br>
<br>
here are the endpoints:<br>
<a moz-do-not-send="true"
href="mailto:grizzly@leonard:/etc/init.d$"
target="_blank">grizzly@leonard:/etc/init.d$</a>
keystone endpoint-list<br>
WARNING: Bypassing authentication using a token
& endpoint (authentication credentials are
being ignored).<br>
+----------------------------------+----------+---------------------------------------------------+---------------------------------------------------+----------------------------------------------+----------------------------------+<br>
| id | region
|
publicurl
|
internalurl
| adminurl
| service_id |<br>
+----------------------------------+----------+---------------------------------------------------+---------------------------------------------------+----------------------------------------------+----------------------------------+<br>
| 0f9dbbb5ac764e0794464abcb46047a2 | myregion
| <a moz-do-not-send="true"
href="http://192.168.203.103:9292"
target="_blank">http://192.168.203.103:9292</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:9292"
target="_blank">http://192.168.203.103:9292</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:9292"
target="_blank">http://192.168.203.103:9292</a>
| 0ad102dc14eb4866af351358e372cb23 |<br>
| 1c45042b6bb64fd7b6f56d7348e86103 | myregion
| <a moz-do-not-send="true"
href="http://192.168.202.103:5000/v2.0"
target="_blank">http://192.168.202.103:5000/v2.0</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:5000/v2.0"
target="_blank">http://192.168.203.103:5000/v2.0</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:35357/v2.0"
target="_blank">http://192.168.203.103:35357/v2.0</a>
| 37059fcb24d345f293d4add7202504bb |<br>
| 61c1c0305ffa4254b8271a2045489d9a | myregion
| <a moz-do-not-send="true"
href="http://192.168.202.103:8774/v2/%%28tenant_id%29s"
target="_blank">http://192.168.202.103:8774/v2/%(tenant_id)s</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8774/v2/%%28tenant_id%29s"
target="_blank">http://192.168.203.103:8774/v2/%(tenant_id)s</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8774/v2/%%28tenant_id%29s"
target="_blank">http://192.168.203.103:8774/v2/%(tenant_id)s</a>
| 99f1d14e769046099e85d010ed4c29da |<br>
| 9248f20cf38b4dbaa3f85abc1ee1f94d | myregion
| <a moz-do-not-send="true"
href="http://192.168.202.103:8773/services/Cloud"
target="_blank">http://192.168.202.103:8773/services/Cloud</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8773/services/Cloud"
target="_blank">http://192.168.203.103:8773/services/Cloud</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8773/services/Admin"
target="_blank">http://192.168.203.103:8773/services/Admin</a>
| c22a33b56e67445a9550643a276a2f87 |<br>
| bdb68ba018c34cad95acb24f3ad92645 | myregion
| <a moz-do-not-send="true"
href="http://192.168.202.103:9696/v2"
target="_blank">http://192.168.202.103:9696/v2</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:9696/v2"
target="_blank">http://192.168.203.103:9696/v2</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:9696/v2"
target="_blank">http://192.168.203.103:9696/v2</a>
| d21a72e559934837901574dfb3bc6a6c |<br>
| beaf4c028cc24068a2068ea16489eb94 | myregion |
<a moz-do-not-send="true"
href="http://192.168.202.103:8080/v1/AUTH_%%28tenant_id%29s"
target="_blank">http://192.168.202.103:8080/v1/AUTH_%(tenant_id)s</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8080/v1/AUTH_%%28tenant_id%29s"
target="_blank">http://192.168.203.103:8080/v1/AUTH_%(tenant_id)s</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8080/v1"
target="_blank">http://192.168.203.103:8080/v1</a>
| 7fc69365d1b64eb58e7ac6fcf8369ff2 |<br>
| c4f3ea0477ac428b958f5bcee2fb14e1 | myregion
| <a moz-do-not-send="true"
href="http://192.168.202.103:8776/v1/%%28tenant_id%29s"
target="_blank">http://192.168.202.103:8776/v1/%(tenant_id)s</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8776/v1/%%28tenant_id%29s"
target="_blank">http://192.168.203.103:8776/v1/%(tenant_id)s</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8776/v1/%%28tenant_id%29s"
target="_blank">192.168.203.103:8776/v1/%(tenant_id)s</a>
| 19b1f3c4fa5843a295e538aab1f4cd40 |<br>
| fe82e5a1b6344c5784eb89be0d04b10b | myregion
| <a moz-do-not-send="true"
href="http://192.168.202.103:8776/v1/%%28tenant_id%29s"
target="_blank">http://192.168.202.103:8776/v1/%(tenant_id)s</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8776/v1/%%28tenant_id%29s"
target="_blank">http://192.168.203.103:8776/v1/%(tenant_id)s</a>
| <a moz-do-not-send="true"
href="http://192.168.203.103:8776/v1/%%28tenant_id%29s"
target="_blank">http://192.168.203.103:8776/v1/%(tenant_id)s</a>
| ef7714abcdc04c06aa9f1ef2bdc29a3a |<br>
+----------------------------------+----------+---------------------------------------------------+---------------------------------------------------+----------------------------------------------+----------------------------------+<br>
<br>
<br>
(by the way, I cannot get rid of the WARNING,
but that's not the point here)<br>
<br>
Here's the relevant section in
/etc/openstack-dashboard/local-settings.py:<br>
OPENSTACK_HOST = "192.168.202.103"<br>
OPENSTACK_KEYSTONE_URL = <a
moz-do-not-send="true"
href="http://%s:5000/v2.0" target="_blank">"http://%s:5000/v2.0"</a>
% OPENSTACK_HOST<br>
#OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"<br>
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"<br>
<br>
I tried switching from Member to admin role, but
still no luck.<br>
<br>
Nova seems properly configured:<br>
grizzly@leonard:~$ nova list<br>
<br>
grizzly@leonard:~$ echo $?<br>
0<br>
<br>
Any idea how to make horizon and keystone
talking together?<br>
<br>
<br>
<br>
michaël<br>
<br>
<br>
<br>
<br>
Le 13/02/2013 16:13, Razique Mahroua a écrit :<br>
</div>
<blockquote type="cite"> Is the dash configured to
talk with the Keystone backend?
<div>can you run something like $ keystone
endoint-list </div>
<div>thanks </div>
<div><br>
<div> <span
style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:'Lucida
Grande';word-spacing:0px"><span
style="font-weight:normal;font-family:Helvetica"><b
style="color:rgb(19,112,138)">Razique
Mahroua</b></span><span
style="font-weight:normal;font-family:Helvetica;color:rgb(19,112,138)"><b> - </b></span><span
style="font-family:Helvetica"><span
style="font-weight:normal;font-family:Helvetica"><b
style="color:rgb(19,112,138)">Nuage
& Co</b></span><span
style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px;font-size:medium"><span
style="border-spacing:0px;text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span
style="border-collapse:separate;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div
style="font-style:normal;font-size:medium;font-family:Helvetica;font-weight:normal"><font
color="#13708a"><a
moz-do-not-send="true"
href="mailto:razique.mahroua@gmail.com"
target="_blank">razique.mahroua@gmail.com</a></font></div>
<div
style="font-style:normal;font-size:medium;font-family:Helvetica"><font
color="#13708a">Tel : <a
moz-do-not-send="true"
href="tel:%2B33%209%2072%2037%2094%2015"
value="+33972379415"
target="_blank">+33 9 72 37
94 15</a></font></div>
</span></span></span></span></span><br
style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Arial;word-spacing:0px">
<span><img
src="cid:part33.04030404.04070401@cetic.be"
height="125" width="125"></span> </div>
<br>
<div>
<div>Le 12 févr. 2013 à 16:54, Logan
McNaughton <<a moz-do-not-send="true"
href="mailto:logan@bacoosta.com"
target="_blank">logan@bacoosta.com</a>>
a écrit :</div>
<br>
<blockquote type="cite">
<div dir="ltr">I've had this problem
before, in my experience it's not a
problem with keystone, it's a problem
with nova (by the looks of the
traceback). I believe it's a bug in
Horizon because you'll find a lot of
people with this issue if you Google it.
I don't have an answer on how to fix it,
other than don't fixate on the
"EndpointNotFound", look to your nova
configs for a solution.</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Feb 12,
2013 at 5:03 AM, Trinath Somanchi <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:trinath.somanchi@gmail.com"
target="_blank">trinath.somanchi@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">Hi Stackers-
<div><br>
</div>
<div>I have successfully installed
folsom in my test setup. </div>
<div>But when I browse Horison,
with admin/password as
credentials, I get this error.</div>
<div><br>
</div>
<div>
<div>[Tue Feb 12 10:03:16 2013]
[error] unable to retrieve
service catalog with token</div>
<div>[Tue Feb 12 10:03:16 2013]
[error] Traceback (most recent
call last):</div>
<div>[Tue Feb 12 10:03:16 2013]
[error] File
"/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py",
line 132, in
_extract_service_catalog</div>
<div>[Tue Feb 12 10:03:16 2013]
[error]
endpoint_type='adminURL')</div>
<div>[Tue Feb 12 10:03:16 2013]
[error] File
"/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py",
line 62, in url_for</div>
<div>[Tue Feb 12 10:03:16 2013]
[error] raise
exceptions.EndpointNotFound('Endpoint
not found.')</div>
<div>[Tue Feb 12 10:03:16 2013]
[error] EndpointNotFound:
Endpoint not found.</div>
<div>[Tue Feb 12 10:03:17 2013]
[error]
\x1b[31;1mUnauthorized: n/a
(HTTP 401)\x1b[0m</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] Traceback (most recent
call last):</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] File
"/usr/lib/python2.7/dist-packages/horizon/usage/base.py",
line 93, in summarize</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] self.usage_list =
self.get_usage_list(start,
end)</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] File
"/usr/lib/python2.7/dist-packages/horizon/usage/base.py",
line 128, in get_usage_list</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] return
api.usage_list(self.request,
start, end)</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] File
"/usr/lib/python2.7/dist-packages/horizon/api/nova.py",
line 418, in usage_list</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] return [Usage(u)
for u in
novaclient(request).usage.list(start,
end, True)]</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] File
"/usr/lib/python2.7/dist-packages/novaclient/v1_1/usage.py",
line 35, in list</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] "tenant_usages")</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] File
"/usr/lib/python2.7/dist-packages/novaclient/base.py",
line 62, in _list</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] _resp, body =
self.api.client.get(url)</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] File
"/usr/lib/python2.7/dist-packages/novaclient/client.py",
line 239, in get</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] return
self._cs_request(url, 'GET',
**kwargs)</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] File
"/usr/lib/python2.7/dist-packages/novaclient/client.py",
line 236, in _cs_request</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] raise ex</div>
<div>[Tue Feb 12 10:03:17 2013]
[error] Unauthorized: n/a
(HTTP 401)</div>
<div><br>
</div>
<div>It says , I missed some End
point Configuration.</div>
<div><br>
</div>
<div>But then, I have configured
it correctly. </div>
<div><br>
</div>
<div>Can any one guide me
resolving this issue.</div>
<div><br>
</div>
<div>Thanks in advance.</div>
</div>
<span><font color="#888888">
<div><br>
</div>
-- <br>
Regards,<br>
----------------------------------------------<br>
Trinath Somanchi,
<div><a moz-do-not-send="true"
href="tel:%2B91%209866%20235%20130" value="+919866235130"
target="_blank">+91 9866
235 130</a></div>
</font></span></div>
<br>
_______________________________________________<br>
Mailing list: <a
moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a
moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net"
target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a
moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a
moz-do-not-send="true"
href="https://help.launchpad.net/ListHelp"
target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
Mailing list: <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net"
target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack"
target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a moz-do-not-send="true"
href="https://help.launchpad.net/ListHelp"
target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Mailing list: <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
Post to : <a moz-do-not-send="true" href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help : <a moz-do-not-send="true" href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Mailing list: <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
Post to : <a moz-do-not-send="true" href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help : <a moz-do-not-send="true" href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Mailing list: <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
Post to : <a moz-do-not-send="true" href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help : <a moz-do-not-send="true" href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Mailing list: <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to : <a moz-do-not-send="true"
href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a moz-do-not-send="true"
href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help : <a moz-do-not-send="true"
href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Regards,<br>
----------------------------------------------<br>
Trinath Somanchi,
<div>+91 9866 235 130</div>
</div>
</blockquote>
<br>
</body>
</html>