<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br><br>I did:<br><br>git clone <a href="https://github.com/stackforge/savanna-dashboard.git" target="_blank">https://github.com/stackforge/savanna-dashboard.git</a><br><br>cd savanna-dashboard<br><br>python setup.py install<br><br>pip show savannadashboard<br>---<br>Name: savannadashboard<br>Version: 0.2.rc2<br>Location: /usr/lib/python2.6/site-packages/savannadashboard-0.2.rc2-py2.6.egg<br>Requires: <br><br>then in /usr/share/openstack-dashboard/openstack_dashboard/settings.py<br><br>HORIZON_CONFIG = {<br> 'dashboards': ('project', 'admin', 'settings', 'savanna',),<br><br><br>INSTALLED_APPS = (<br> 'openstack_dashboard',<br> 'savannadashboard',<br><br>and in /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py<br><br>SAVANNA_URL = 'http://localhost:8386/v1.0'<br><br>But whenever I try to access savanna dashboard I get the following error in httpd error_access log:<br><br>[Mon Jul 15 07:44:35 2013] [error] ERROR:django.request:Internal Server Error: /dashboard/savanna/<br>[Mon Jul 15 07:44:35 2013] [error] Traceback (most recent call last):<br>[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<br>[Mon Jul 15 07:44:35 2013] [error] response = callback(request, *callback_args, **callback_kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec<br>[Mon Jul 15 07:44:35 2013] [error] return view_func(request, *args, **kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec<br>[Mon Jul 15 07:44:35 2013] [error] return view_func(request, *args, **kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec<br>[Mon Jul 15 07:44:35 2013] [error] return view_func(request, *args, **kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 48, in view<br>[Mon Jul 15 07:44:35 2013] [error] return self.dispatch(request, *args, **kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 69, in dispatch<br>[Mon Jul 15 07:44:35 2013] [error] return handler(request, *args, **kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 155, in get<br>[Mon Jul 15 07:44:35 2013] [error] handled = self.construct_tables()<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 146, in construct_tables<br>[Mon Jul 15 07:44:35 2013] [error] handled = self.handle_table(table)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 118, in handle_table<br>[Mon Jul 15 07:44:35 2013] [error] data = self._get_data_dict()<br>[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<br>[Mon Jul 15 07:44:35 2013] [error] self._data = {self.table_class._meta.name: self.get_data()}<br>[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<br>[Mon Jul 15 07:44:35 2013] [error] clusters = savanna.clusters.list()<br>[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<br>[Mon Jul 15 07:44:35 2013] [error] return self._list('/clusters', 'clusters')<br>[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<br>[Mon Jul 15 07:44:35 2013] [error] resp = self.api.client.get(url)<br>[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<br>[Mon Jul 15 07:44:35 2013] [error] headers={'x-auth-token': self.token})<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/api.py", line 55, in get<br>[Mon Jul 15 07:44:35 2013] [error] return request('get', url, **kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/api.py", line 44, in request<br>[Mon Jul 15 07:44:35 2013] [error] return session.request(method=method, url=url, **kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 335, in request<br>[Mon Jul 15 07:44:35 2013] [error] resp = self.send(prep, **send_kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/sessions.py", line 438, in send<br>[Mon Jul 15 07:44:35 2013] [error] r = adapter.send(request, **kwargs)<br>[Mon Jul 15 07:44:35 2013] [error] File "/usr/lib/python2.6/site-packages/requests/adapters.py", line 327, in send<br>[Mon Jul 15 07:44:35 2013] [error] raise ConnectionError(e)<br>[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)<br><br><br> </div></body>
</html>