<div dir="ltr">Last modification was made in dashboard local_settings.Please check the attached file.<div><br></div><div><br></div><div>Sujeet</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 6, 2014 at 6:32 AM, ZHOU TAO A <span dir="ltr"><<a href="mailto:tao.a.zhou@alcatel-lucent.com" target="_blank">tao.a.zhou@alcatel-lucent.com</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">
<br>
What file does the output reside?<br>
Does your keystone work?<br>
What's your configuration files look like?<br>
And what exactly have you done before your had this error?<span class="HOEnZb"><font color="#888888"><br>
<br>
Tao</font></span><div><div class="h5"><br>
<br>
<div>On 08/05/2014 03:41 PM, Sujeet Mulmi
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Zhou,
<div><br>
</div>
<div> with controller IP, following output results:</div>
<div><br>
</div>
<div>
<div>[Tue Aug 05 07:25:45 2014] [error]
<a>INFO:urllib3.connectionpool:Starting</a> new HTTP connection
(1): 192.168.137.101</div>
<div>[Tue Aug 05 07:25:45 2014] [error]
DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1"
200 1349</div>
<div>[Tue Aug 05 07:25:45 2014] [error]
<a>INFO:urllib3.connectionpool:Starting</a> new HTTP connection
(1): 192.168.137.101</div>
<div>[Tue Aug 05 07:25:45 2014] [error]
DEBUG:urllib3.connectionpool:"GET /v2.0/tenants HTTP/1.1"
200 143</div>
<div>[Tue Aug 05 07:25:45 2014] [error]
<a>INFO:urllib3.connectionpool:Starting</a> new HTTP connection
(1): 192.168.137.101</div>
<div>[Tue Aug 05 07:25:45 2014] [error]
DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1"
200 3967</div>
<div>[Tue Aug 05 07:25:45 2014] [error] Login successful for
user "admin".</div>
<div>[Tue Aug 05 07:25:46 2014] [error]</div>
<div>[Tue Aug 05 07:25:46 2014] [error] REQ: curl -i '<a href="http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3/extensions" target="_blank">http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3/extensions</a>'
-X GET -H "X-Auth-Project-Id:
121eae2f2f664dc49265ad11229022c3" -H "User-Agent:
python-novaclient" -H "Accept: application/json" -H
"X-Auth-Token: 2b44d3ef0b882019cad7e470cc5cc213"</div>
<div>[Tue Aug 05 07:25:46 2014] [error]</div>
<div>[Tue Aug 05 07:25:46 2014] [error]
<a>INFO:urllib3.connectionpool:Starting</a> new HTTP connection
(1): 192.168.137.101</div>
<div>[Tue Aug 05 07:25:46 2014] [error]
DEBUG:urllib3.connectionpool:"GET
/v2/121eae2f2f664dc49265ad11229022c3/extensions HTTP/1.1"
401 23</div>
<div>[Tue Aug 05 07:25:46 2014] [error] RESP: [401] {'date':
'Tue, 05 Aug 2014 07:25:46 GMT', 'content-length': '23',
'content-type': 'text/plain', 'www-authenticate': "Keystone
uri='<a href="http://192.168.168.101:5000/v2.0" target="_blank">http://192.168.168.101:5000/v2.0</a>'"}</div>
<div>[Tue Aug 05 07:25:46 2014] [error] RESP BODY:
Authentication required</div>
<div>[Tue Aug 05 07:25:46 2014] [error]</div>
<div>[Tue Aug 05 07:25:46 2014] [error]</div>
<div>[Tue Aug 05 07:25:46 2014] [error] REQ: curl -i '<a href="http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3" target="_blank">http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3</a>'
-X GET -H "X-Auth-Project-Id:
121eae2f2f664dc49265ad11229022c3" -H "X-Auth-Key:
2b44d3ef0b882019cad7e470cc5cc213" -H "Accept:
application/json" -H "X-Auth-User: admin" -H "User-Agent:
python-novaclient"</div>
<div>[Tue Aug 05 07:25:46 2014] [error]</div>
<div>[Tue Aug 05 07:25:46 2014] [error]
<a>INFO:urllib3.connectionpool:Starting</a> new HTTP connection
(1): 192.168.137.101</div>
<div>[Tue Aug 05 07:25:46 2014] [error]
DEBUG:urllib3.connectionpool:"GET
/v2/121eae2f2f664dc49265ad11229022c3 HTTP/1.1" 401 23</div>
<div>[Tue Aug 05 07:25:46 2014] [error] RESP: [401] {'date':
'Tue, 05 Aug 2014 07:25:46 GMT', 'content-length': '23',
'content-type': 'text/plain', 'www-authenticate': "Keystone
uri='<a href="http://192.168.168.101:5000/v2.0" target="_blank">http://192.168.168.101:5000/v2.0</a>'"}</div>
<div>[Tue Aug 05 07:25:46 2014] [error] RESP BODY:
Authentication required</div>
<div>[Tue Aug 05 07:25:46 2014] [error]</div>
<div>[Tue Aug 05 07:25:46 2014] [error] Internal Server Error:
/dashboard/admin/</div>
<div>[Tue Aug 05 07:25:46 2014] [error] Traceback (most recent
call last):</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/django/core/handlers/base.py",
line 109, in get_response</div>
<div>[Tue Aug 05 07:25:46 2014] [error] response =
callback(request, *callback_args, **callback_kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/decorators.py",
line 38, in dec</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
view_func(request, *args, **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/decorators.py",
line 86, in dec</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
view_func(request, *args, **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/decorators.py",
line 54, in dec</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
view_func(request, *args, **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/decorators.py",
line 38, in dec</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
view_func(request, *args, **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/decorators.py",
line 86, in dec</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
view_func(request, *args, **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/django/views/generic/base.py",
line 48, in view</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
self.dispatch(request, *args, **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/django/views/generic/base.py",
line 69, in dispatch</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
handler(request, *args, **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/tables/views.py",
line 154, in get</div>
<div>[Tue Aug 05 07:25:46 2014] [error] handled =
self.construct_tables()</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/tables/views.py",
line 145, in construct_tables</div>
<div>[Tue Aug 05 07:25:46 2014] [error] handled =
self.handle_table(table)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/tables/views.py",
line 118, in handle_table</div>
<div>[Tue Aug 05 07:25:46 2014] [error] data =
self._get_data_dict()</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/tables/views.py",
line 181, in _get_data_dict</div>
<div>[Tue Aug 05 07:25:46 2014] [error] self._data =
{self.table_class._<a href="http://meta.name" target="_blank">meta.name</a>: self.get_data()}</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/overview/views.py",
line 60, in get_data</div>
<div>[Tue Aug 05 07:25:46 2014] [error] data =
super(GlobalOverview, self).get_data()</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py",
line 43, in get_data</div>
<div>[Tue Aug 05 07:25:46 2014] [error]
self.usage.summarize(*self.usage.get_date_range())</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py",
line 200, in summarize</div>
<div>[Tue Aug 05 07:25:46 2014] [error] if not
api.nova.extension_supported('SimpleTenantUsage',
self.request):</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/utils/memoized.py",
line 90, in wrapped</div>
<div>[Tue Aug 05 07:25:46 2014] [error] value = cache[key]
= func(*args, **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py",
line 752, in extension_supported</div>
<div>[Tue Aug 05 07:25:46 2014] [error] extensions =
list_extensions(request)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/horizon/utils/memoized.py",
line 90, in wrapped</div>
<div>[Tue Aug 05 07:25:46 2014] [error] value = cache[key]
= func(*args, **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py",
line 743, in list_extensions</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
nova_list_extensions.ListExtManager(novaclient(request)).show_all()</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/novaclient/v1_1/contrib/list_extensions.py",
line 37, in show_all</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
self._list("/extensions", 'extensions')</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/novaclient/base.py", line
64, in _list</div>
<div>[Tue Aug 05 07:25:46 2014] [error] _resp, body =
self.api.client.get(url)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/novaclient/client.py",
line 309, in get</div>
<div>[Tue Aug 05 07:25:46 2014] [error] return
self._cs_request(url, 'GET', **kwargs)</div>
<div>[Tue Aug 05 07:25:46 2014] [error] File
"/usr/lib/python2.6/site-packages/novaclient/client.py",
line 301, in _cs_request</div>
<div>[Tue Aug 05 07:25:46 2014] [error] raise e</div>
<div>[Tue Aug 05 07:25:46 2014] [error] Unauthorized:
Unauthorized (HTTP 401)</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Aug 5, 2014 at 11:33 AM, ZHOU
TAO A <span dir="ltr"><<a href="mailto:tao.a.zhou@alcatel-lucent.com" target="_blank">tao.a.zhou@alcatel-lucent.com</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"> You have the wrong
endpoints:
<div><br>
<br>
| 791fecb5eb414f2ebf4ebb0700e8f847 | regionOne | <a href="http://192.168.137.102:8774/v2/%%28tenant_id%29s" target="_blank">http://192.168.137.102:8774/v2/%(tenant_id)s</a>
| <a href="http://192.168.137.102:8774/v2/%%28tenant_id%29s" target="_blank">http://192.168.137.102:8774/v2/%(tenant_id)s</a>
| <a href="http://192.168.137.102:8774/v2/%%28tenant_id%29s" target="_blank">http://192.168.137.102:8774/v2/%(tenant_id)s</a>
| <br>
<br>
</div>
The ip address should be the controller's IP.
<div>
<div><br>
<br>
<div>On 08/05/2014 11:28 AM, Sujeet Mulmi wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div> I am trying to bring Dashboard up and
ended with following error:</div>
<div><br>
</div>
<div>
<div>[Tue Aug 05 02:16:42 2014] [error] <a>INFO:urllib3.connectionpool:Starting</a>
new HTTP connection (1): 192.168.137.101</div>
<div>[Tue Aug 05 02:16:42 2014] [error]
DEBUG:urllib3.connectionpool:"POST
/v2.0/tokens HTTP/1.1" 200 1349</div>
<div>[Tue Aug 05 02:16:42 2014] [error] <a>INFO:urllib3.connectionpool:Starting</a>
new HTTP connection (1): 192.168.137.101</div>
<div>[Tue Aug 05 02:16:42 2014] [error]
DEBUG:urllib3.connectionpool:"GET
/v2.0/tenants HTTP/1.1" 200 143</div>
<div>[Tue Aug 05 02:16:42 2014] [error] <a>INFO:urllib3.connectionpool:Starting</a>
new HTTP connection (1): 192.168.137.101</div>
<div>[Tue Aug 05 02:16:42 2014] [error]
DEBUG:urllib3.connectionpool:"POST
/v2.0/tokens HTTP/1.1" 200 3967</div>
<div>[Tue Aug 05 02:16:42 2014] [error] Login
successful for user "admin".</div>
<div>[Tue Aug 05 02:16:42 2014] [error]</div>
<div>[Tue Aug 05 02:16:42 2014] [error] REQ:
curl -i '<a href="http://192.168.137.102:8774/v2/121eae2f2f664dc49265ad11229022c3/extensions" target="_blank">http://192.168.137.102:8774/v2/121eae2f2f664dc49265ad11229022c3/extensions</a>'
-X GET -H "X-Auth-Project-Id:
121eae2f2f664dc49265ad11229022c3" -H
"User-Agent: python-novaclient" -H "Accept:
application/json" -H "X-Auth-Token:
352f4915d730d862e28c8ef02a85b029"</div>
<div>[Tue Aug 05 02:16:42 2014] [error]</div>
<div>[Tue Aug 05 02:16:42 2014] [error] <a>INFO:urllib3.connectionpool:Starting</a>
new HTTP connection (1): 192.168.137.102</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div> endpoint is as follows:</div>
<div>
<div>[root@controller ~]# keystone endpoint-list</div>
<div>+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+</div>
<div>| id |
region | publicurl
| internalurl
| adminurl
| service_id |</div>
<div>+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+</div>
<div>| 791fecb5eb414f2ebf4ebb0700e8f847 |
regionOne | <a href="http://192.168.137.102:8774/v2/%%28tenant_id%29s" target="_blank">http://192.168.137.102:8774/v2/%(tenant_id)s</a>
| <a href="http://192.168.137.102:8774/v2/%%28tenant_id%29s" target="_blank">http://192.168.137.102:8774/v2/%(tenant_id)s</a>
| <a href="http://192.168.137.102:8774/v2/%%28tenant_id%29s" target="_blank">http://192.168.137.102:8774/v2/%(tenant_id)s</a>
| 60a3a48fdd2d4cbdaedc2209579b5f7d |</div>
<div>| a12049abee334215bea3308a6e01a43d |
regionOne | <a href="http://192.168.137.101:9292" target="_blank">http://192.168.137.101:9292</a>
| <a href="http://192.168.137.101:9292" target="_blank">http://192.168.137.101:9292</a>
| <a href="http://192.168.137.101:9292" target="_blank">http://192.168.137.101:9292</a>
| 79f631a6530746458944d8606eeb9289 |</div>
<div>| f9a297aa9cd54f9d8442b703832a9734 |
regionOne | <a href="http://192.168.137.101:5000/v2.0" target="_blank">http://192.168.137.101:5000/v2.0</a>
| <a href="http://192.168.137.101:5000/v2.0" target="_blank">http://192.168.137.101:5000/v2.0</a>
| <a href="http://192.168.137.101:35357/v2.0" target="_blank">http://192.168.137.101:35357/v2.0</a>
| f124253db62f4c56ac324ec77552dbf1 |</div>
<div>+----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+</div>
</div>
<div><br>
</div>
<div>where 192.168.137.102 = compute node.</div>
<div> 192.168.137.101 = controller node.</div>
<div><br>
</div>
<div> could anyone suggest how to resovle the
issue.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Sujeet</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
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>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</blockquote>
<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" 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>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>