[openstack-dev] [savanna]error while accessing Savanna UI
Arindam Choudhury
arindam at live.com
Mon Jul 15 12:45:27 UTC 2013
Hi,
I did:
git clone https://github.com/stackforge/savanna-dashboard.git
cd savanna-dashboard
python setup.py install
pip show savannadashboard
---
Name: savannadashboard
Version: 0.2.rc2
Location: /usr/lib/python2.6/site-packages/savannadashboard-0.2.rc2-py2.6.egg
Requires:
then in /usr/share/openstack-dashboard/openstack_dashboard/settings.py
HORIZON_CONFIG = {
'dashboards': ('project', 'admin', 'settings', 'savanna',),
INSTALLED_APPS = (
'openstack_dashboard',
'savannadashboard',
and in /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py
SAVANNA_URL = 'http://localhost:8386/v1.0'
But whenever I try to access savanna dashboard I get the following error in httpd error_access log:
[Mon Jul 15 07:44:35 2013] [error] ERROR:django.request:Internal Server Error: /dashboard/savanna/
[Mon Jul 15 07:44:35 2013] [error] Traceback (most recent call last):
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
[Mon Jul 15 07:44:35 2013] [error] response = callback(request, *callback_args, **callback_kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
[Mon Jul 15 07:44:35 2013] [error] return view_func(request, *args, **kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec
[Mon Jul 15 07:44:35 2013] [error] return view_func(request, *args, **kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
[Mon Jul 15 07:44:35 2013] [error] return view_func(request, *args, **kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 48, in view
[Mon Jul 15 07:44:35 2013] [error] return self.dispatch(request, *args, **kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 69, in dispatch
[Mon Jul 15 07:44:35 2013] [error] return handler(request, *args, **kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 155, in get
[Mon Jul 15 07:44:35 2013] [error] handled = self.construct_tables()
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 146, in construct_tables
[Mon Jul 15 07:44:35 2013] [error] handled = self.handle_table(table)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 118, in handle_table
[Mon Jul 15 07:44:35 2013] [error] data = self._get_data_dict()
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 182, in _get_data_dict
[Mon Jul 15 07:44:35 2013] [error] self._data = {self.table_class._meta.name: self.get_data()}
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/savannadashboard-0.2.rc2-py2.6.egg/savannadashboard/clusters/views.py", line 40, in get_data
[Mon Jul 15 07:44:35 2013] [error] clusters = savanna.clusters.list()
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/savannadashboard-0.2.rc2-py2.6.egg/savannadashboard/api/clusters.py", line 74, in list
[Mon Jul 15 07:44:35 2013] [error] return self._list('/clusters', 'clusters')
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/savannadashboard-0.2.rc2-py2.6.egg/savannadashboard/api/base.py", line 84, in _list
[Mon Jul 15 07:44:35 2013] [error] resp = self.api.client.get(url)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/savannadashboard-0.2.rc2-py2.6.egg/savannadashboard/api/httpclient.py", line 28, in get
[Mon Jul 15 07:44:35 2013] [error] headers={'x-auth-token': self.token})
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/api.py", line 55, in get
[Mon Jul 15 07:44:35 2013] [error] return request('get', url, **kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/api.py", line 44, in request
[Mon Jul 15 07:44:35 2013] [error] return session.request(method=method, url=url, **kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 335, in request
[Mon Jul 15 07:44:35 2013] [error] resp = self.send(prep, **send_kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 438, in send
[Mon Jul 15 07:44:35 2013] [error] r = adapter.send(request, **kwargs)
[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/adapters.py", line 327, in send
[Mon Jul 15 07:44:35 2013] [error] raise ConnectionError(e)
[Mon Jul 15 07:44:35 2013] [error] ConnectionError: HTTPConnectionPool(host='localhost', port=8386): Max retries exceeded with url: /v1.0/96b716ba9ce84ef7947d3c42ad185eae/clusters (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130715/d020d9ff/attachment.html>
More information about the OpenStack-dev
mailing list