[Openstack] Dashboard Error

Sujeet Mulmi mulmisujeetpd at gmail.com
Tue Aug 5 07:41:50 UTC 2014


Hi Zhou,

   with controller IP, following output results:

[Tue Aug 05 07:25:45 2014] [error] INFO:urllib3.connectionpool:Starting new
HTTP connection (1): 192.168.137.101
[Tue Aug 05 07:25:45 2014] [error] DEBUG:urllib3.connectionpool:"POST
/v2.0/tokens HTTP/1.1" 200 1349
[Tue Aug 05 07:25:45 2014] [error] INFO:urllib3.connectionpool:Starting new
HTTP connection (1): 192.168.137.101
[Tue Aug 05 07:25:45 2014] [error] DEBUG:urllib3.connectionpool:"GET
/v2.0/tenants HTTP/1.1" 200 143
[Tue Aug 05 07:25:45 2014] [error] INFO:urllib3.connectionpool:Starting new
HTTP connection (1): 192.168.137.101
[Tue Aug 05 07:25:45 2014] [error] DEBUG:urllib3.connectionpool:"POST
/v2.0/tokens HTTP/1.1" 200 3967
[Tue Aug 05 07:25:45 2014] [error] Login successful for user "admin".
[Tue Aug 05 07:25:46 2014] [error]
[Tue Aug 05 07:25:46 2014] [error] REQ: curl -i '
http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3/extensions'
-X GET -H "X-Auth-Project-Id: 121eae2f2f664dc49265ad11229022c3" -H
"User-Agent: python-novaclient" -H "Accept: application/json" -H
"X-Auth-Token: 2b44d3ef0b882019cad7e470cc5cc213"
[Tue Aug 05 07:25:46 2014] [error]
[Tue Aug 05 07:25:46 2014] [error] INFO:urllib3.connectionpool:Starting new
HTTP connection (1): 192.168.137.101
[Tue Aug 05 07:25:46 2014] [error] DEBUG:urllib3.connectionpool:"GET
/v2/121eae2f2f664dc49265ad11229022c3/extensions HTTP/1.1" 401 23
[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='http://192.168.168.101:5000/v2.0'"}
[Tue Aug 05 07:25:46 2014] [error] RESP BODY: Authentication required
[Tue Aug 05 07:25:46 2014] [error]
[Tue Aug 05 07:25:46 2014] [error]
[Tue Aug 05 07:25:46 2014] [error] REQ: curl -i '
http://192.168.137.101:8774/v2/121eae2f2f664dc49265ad11229022c3' -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"
[Tue Aug 05 07:25:46 2014] [error]
[Tue Aug 05 07:25:46 2014] [error] INFO:urllib3.connectionpool:Starting new
HTTP connection (1): 192.168.137.101
[Tue Aug 05 07:25:46 2014] [error] DEBUG:urllib3.connectionpool:"GET
/v2/121eae2f2f664dc49265ad11229022c3 HTTP/1.1" 401 23
[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='http://192.168.168.101:5000/v2.0'"}
[Tue Aug 05 07:25:46 2014] [error] RESP BODY: Authentication required
[Tue Aug 05 07:25:46 2014] [error]
[Tue Aug 05 07:25:46 2014] [error] Internal Server Error: /dashboard/admin/
[Tue Aug 05 07:25:46 2014] [error] Traceback (most recent call last):
[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
[Tue Aug 05 07:25:46 2014] [error]     response = callback(request,
*callback_args, **callback_kwargs)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
[Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
**kwargs)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in dec
[Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
**kwargs)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec
[Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
**kwargs)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
[Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
**kwargs)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in dec
[Tue Aug 05 07:25:46 2014] [error]     return view_func(request, *args,
**kwargs)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 48,
in view
[Tue Aug 05 07:25:46 2014] [error]     return self.dispatch(request, *args,
**kwargs)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 69,
in dispatch
[Tue Aug 05 07:25:46 2014] [error]     return handler(request, *args,
**kwargs)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 154, in get
[Tue Aug 05 07:25:46 2014] [error]     handled = self.construct_tables()
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 145, in
construct_tables
[Tue Aug 05 07:25:46 2014] [error]     handled = self.handle_table(table)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 118, in
handle_table
[Tue Aug 05 07:25:46 2014] [error]     data = self._get_data_dict()
[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
[Tue Aug 05 07:25:46 2014] [error]     self._data = {self.table_class._
meta.name: self.get_data()}
[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
[Tue Aug 05 07:25:46 2014] [error]     data = super(GlobalOverview,
self).get_data()
[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
[Tue Aug 05 07:25:46 2014] [error]
self.usage.summarize(*self.usage.get_date_range())
[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
[Tue Aug 05 07:25:46 2014] [error]     if not
api.nova.extension_supported('SimpleTenantUsage', self.request):
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/utils/memoized.py", line 90, in
wrapped
[Tue Aug 05 07:25:46 2014] [error]     value = cache[key] = func(*args,
**kwargs)
[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
[Tue Aug 05 07:25:46 2014] [error]     extensions = list_extensions(request)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/horizon/utils/memoized.py", line 90, in
wrapped
[Tue Aug 05 07:25:46 2014] [error]     value = cache[key] = func(*args,
**kwargs)
[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
[Tue Aug 05 07:25:46 2014] [error]     return
nova_list_extensions.ListExtManager(novaclient(request)).show_all()
[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
[Tue Aug 05 07:25:46 2014] [error]     return self._list("/extensions",
'extensions')
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/novaclient/base.py", line 64, in _list
[Tue Aug 05 07:25:46 2014] [error]     _resp, body =
self.api.client.get(url)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/novaclient/client.py", line 309, in get
[Tue Aug 05 07:25:46 2014] [error]     return self._cs_request(url, 'GET',
**kwargs)
[Tue Aug 05 07:25:46 2014] [error]   File
"/usr/lib/python2.6/site-packages/novaclient/client.py", line 301, in
_cs_request
[Tue Aug 05 07:25:46 2014] [error]     raise e
[Tue Aug 05 07:25:46 2014] [error] Unauthorized: Unauthorized (HTTP 401)


On Tue, Aug 5, 2014 at 11:33 AM, ZHOU TAO A <tao.a.zhou at alcatel-lucent.com>
wrote:

>  You have the wrong endpoints:
>
>
> | 791fecb5eb414f2ebf4ebb0700e8f847 | regionOne |
> http://192.168.137.102:8774/v2/%(tenant_id)s |
> http://192.168.137.102:8774/v2/%(tenant_id)s |
> http://192.168.137.102:8774/v2/%(tenant_id)s |
>
> The ip address should be the controller's IP.
>
>
> On 08/05/2014 11:28 AM, Sujeet Mulmi wrote:
>
> Hi,
>
>     I am trying to bring Dashboard up and ended with following error:
>
>  [Tue Aug 05 02:16:42 2014] [error] INFO:urllib3.connectionpool:Starting
> new HTTP connection (1): 192.168.137.101
> [Tue Aug 05 02:16:42 2014] [error] DEBUG:urllib3.connectionpool:"POST
> /v2.0/tokens HTTP/1.1" 200 1349
> [Tue Aug 05 02:16:42 2014] [error] INFO:urllib3.connectionpool:Starting
> new HTTP connection (1): 192.168.137.101
> [Tue Aug 05 02:16:42 2014] [error] DEBUG:urllib3.connectionpool:"GET
> /v2.0/tenants HTTP/1.1" 200 143
> [Tue Aug 05 02:16:42 2014] [error] INFO:urllib3.connectionpool:Starting
> new HTTP connection (1): 192.168.137.101
> [Tue Aug 05 02:16:42 2014] [error] DEBUG:urllib3.connectionpool:"POST
> /v2.0/tokens HTTP/1.1" 200 3967
> [Tue Aug 05 02:16:42 2014] [error] Login successful for user "admin".
> [Tue Aug 05 02:16:42 2014] [error]
> [Tue Aug 05 02:16:42 2014] [error] REQ: curl -i '
> http://192.168.137.102:8774/v2/121eae2f2f664dc49265ad11229022c3/extensions'
> -X GET -H "X-Auth-Project-Id: 121eae2f2f664dc49265ad11229022c3" -H
> "User-Agent: python-novaclient" -H "Accept: application/json" -H
> "X-Auth-Token: 352f4915d730d862e28c8ef02a85b029"
> [Tue Aug 05 02:16:42 2014] [error]
> [Tue Aug 05 02:16:42 2014] [error] INFO:urllib3.connectionpool:Starting
> new HTTP connection (1): 192.168.137.102
>
>
>
>  endpoint is as follows:
>  [root at controller ~]# keystone endpoint-list
>
> +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
> |                id                |   region  |
>  publicurl                   |                 internalurl
>  |                   adminurl                   |            service_id
>        |
>
> +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
> | 791fecb5eb414f2ebf4ebb0700e8f847 | regionOne |
> http://192.168.137.102:8774/v2/%(tenant_id)s |
> http://192.168.137.102:8774/v2/%(tenant_id)s |
> http://192.168.137.102:8774/v2/%(tenant_id)s |
> 60a3a48fdd2d4cbdaedc2209579b5f7d |
> | a12049abee334215bea3308a6e01a43d | regionOne |
> http://192.168.137.101:9292          |         http://192.168.137.101:9292
>          |         http://192.168.137.101:9292          |
> 79f631a6530746458944d8606eeb9289 |
> | f9a297aa9cd54f9d8442b703832a9734 | regionOne |
> http://192.168.137.101:5000/v2.0       |
> http://192.168.137.101:5000/v2.0       |
> http://192.168.137.101:35357/v2.0       |
> f124253db62f4c56ac324ec77552dbf1 |
>
> +----------------------------------+-----------+----------------------------------------------+----------------------------------------------+----------------------------------------------+----------------------------------+
>
>  where 192.168.137.102 = compute node.
>           192.168.137.101 = controller node.
>
>    could anyone suggest how to resovle the issue.
>
>  Regards,
> Sujeet
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140805/5896e7b6/attachment.html>


More information about the Openstack mailing list