Ask Your Question

Revision history [back]

Ok I can see "Containers" at the left pane now. But when I click it I see this error

-- environment:

Request Method: GET Request URL: http://192.168.122.14/dash/2/containers/

Django Version: 1.3 Python Version: 2.7.2 Installed Applications: ['dashboard', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_openstack', 'django_openstack.templatetags', 'mailer'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django_openstack.middleware.keystone.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'dashboard.middleware.DashboardLogUnhandledExceptionsMiddleware')

Traceback: File "/usr/lib/pymodules/python2.7/django/core/handlers/base.py" in get_response 111. response = callback(request, callback_args, callback_kwargs) File "/usr/lib/pymodules/python2.7/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, *kwargs) File "/usr/lib/pymodules/python2.7/django_openstack/dash/views/containers.py" in index 74. containers = api.swift_get_containers(request) File "/usr/lib/pymodules/python2.7/django_openstack/api.py" in swift_get_containers 775. return [Container(c) for c in swift_api(request).get_all_containers()] File "/usr/lib/pymodules/python2.7/cloudfiles/connection.py" in get_all_containers 306. return ContainerResults(self, self.list_containers_info(parms)) File "/usr/lib/pymodules/python2.7/cloudfiles/connection.py" in list_containers_info 386. response = self.make_request('GET', [''], parms=parms) File "/usr/lib/pymodules/python2.7/cloudfiles/connection.py" in make_request 189. response = retry_request() File "/usr/lib/pymodules/python2.7/cloudfiles/connection.py" in retry_request 182. self.connection.request(method, path, data, headers) File "/usr/lib/python2.7/httplib.py" in request 955. self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py" in _send_request 989. self.endheaders(body) File "/usr/lib/python2.7/httplib.py" in endheaders 951. self._send_output(message_body) File "/usr/lib/python2.7/httplib.py" in _send_output 811. self.send(msg) File "/usr/lib/python2.7/httplib.py" in send 773. self.connect() File "/usr/lib/python2.7/httplib.py" in connect 1154. self.timeout, self.source_address) File "/usr/lib/python2.7/dist-packages/eventlet/green/socket.py" in create_connection 59. raise error, msg

Exception Type: error at /dash/2/containers/ Exception Value: [Errno 111] ECONNREFUSED

--

What did i do wrong?

Thanks Paras.