<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'><br>Yes, the webserver is running. I can access login page. But when I put the credentials, it gives me error.<br><br><br><div>> From: razique.mahroua@gmail.com<br>> To: arindam@live.com<br>> CC: openstack@lists.openstack.org<br>> Subject: Re: [Openstack] Can not log-in in Horizon<br>> Date: Fri, 22 Nov 2013 07:17:51 -0800<br>> <br>> That means the Django app isn't binded to a port.<br>> is your webserver running?<br>> <br>> <br>> - Razique<br>> On 22 Nov 2013, at 6:56, Arindam Choudhury wrote:<br>> <br>> > Hi,<br>> ><br>> > Suddenly I can not log-in to my account in horizon. It gives the <br>> > following error:<br>> ><br>> > ConnectionError at /project/HTTPConnectionPool(host='--.--.--.--', <br>> > port=8776): Max retries exceeded with url: <br>> > /v1/96b716ba9ce84ef7947d3c42ad185eae/os-quota-sets/96b716ba9ce84ef7947d3c42ad185eae <br>> > (Caused by <class 'socket.error'>: [Errno 111] Connection <br>> > refused)Request Method:GETRequest <br>> > URL:http://--.--.--.--/dashboard/project/Django Version:1.4.5Exception <br>> > Type:ConnectionErrorException <br>> > Value:HTTPConnectionPool(host='--.--.--.--', port=8776): Max retries <br>> > exceeded with url: <br>> > /v1/96b716ba9ce84ef7947d3c42ad185eae/os-quota-sets/96b716ba9ce84ef7947d3c42ad185eae <br>> > (Caused by <class 'socket.error'>: [Errno 111] Connection <br>> > refused)Exception <br>> > Location:/usr/lib/python2.6/site-packages/requests/adapters.py in <br>> > send, line 327Python Executable:/usr/bin/pythonPython <br>> > Version:2.6.6Python <br>> > Path:['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',<br>> > '/usr/lib64/python26.zip',<br>> > '/usr/lib64/python2.6',<br>> > '/usr/lib64/python2.6/plat-linux2',<br>> > '/usr/lib64/python2.6/lib-tk',<br>> > '/usr/lib64/python2.6/lib-old',<br>> > '/usr/lib64/python2.6/lib-dynload',<br>> > '/usr/lib64/python2.6/site-packages',<br>> > '/usr/lib64/python2.6/site-packages/gst-0.10',<br>> > '/usr/lib64/python2.6/site-packages/gtk-2.0',<br>> > '/usr/lib64/python2.6/site-packages/webkit-1.0',<br>> > '/usr/lib/python2.6/site-packages',<br>> > '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',<br>> > '/usr/share/openstack-dashboard/openstack_dashboard']Server time:Fri, <br>> > 22 Nov 2013 07:43:48 -0600<br>> ><br>> ><br>> ><br>> ><br>> > The traceback:<br>> ><br>> > Environment:<br>> ><br>> ><br>> > Request Method: GET<br>> > Request URL: http://158.109.65.223/dashboard/project/<br>> ><br>> > Django Version: 1.4.5<br>> > Python Version: 2.6.6<br>> > Installed Applications:<br>> > ['openstack_dashboard',<br>> > 'savannadashboard',<br>> > 'django.contrib.contenttypes',<br>> > 'django.contrib.auth',<br>> > 'django.contrib.sessions',<br>> > 'django.contrib.messages',<br>> > 'django.contrib.staticfiles',<br>> > 'django.contrib.humanize',<br>> > 'compressor',<br>> > 'horizon',<br>> > 'openstack_dashboard.dashboards.project',<br>> > 'openstack_dashboard.dashboards.admin',<br>> > 'openstack_dashboard.dashboards.settings',<br>> > 'openstack_auth']<br>> > Installed Middleware:<br>> > ('django.middleware.common.CommonMiddleware',<br>> > 'django.middleware.csrf.CsrfViewMiddleware',<br>> > 'django.contrib.sessions.middleware.SessionMiddleware',<br>> > 'django.contrib.auth.middleware.AuthenticationMiddleware',<br>> > 'django.contrib.messages.middleware.MessageMiddleware',<br>> > 'horizon.middleware.HorizonMiddleware',<br>> > 'django.middleware.doc.XViewMiddleware',<br>> > 'django.middleware.locale.LocaleMiddleware',<br>> > 'django.middleware.clickjacking.XFrameOptionsMiddleware')<br>> ><br>> ><br>> > Traceback:<br>> > File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" <br>> > in get_response<br>> > 111.                         response = callback(request, <br>> > *callback_args, **callback_kwargs)<br>> > File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec<br>> > 38.         return view_func(request, *args, **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec<br>> > 54.             return view_func(request, *args, **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/horizon/decorators.py" in dec<br>> > 38.         return view_func(request, *args, **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/django/views/generic/base.py" <br>> > in view<br>> > 48.             return self.dispatch(request, *args, **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/django/views/generic/base.py" <br>> > in dispatch<br>> > 69.         return handler(request, *args, **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in get<br>> > 155.         handled = self.construct_tables()<br>> > File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in <br>> > construct_tables<br>> > 146.             handled = self.handle_table(table)<br>> > File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in <br>> > handle_table<br>> > 118.         data = self._get_data_dict()<br>> > File "/usr/lib/python2.6/site-packages/horizon/tables/views.py" in <br>> > _get_data_dict<br>> > 182.             self._data = {self.table_class._meta.name: <br>> > self.get_data()}<br>> > File<br>> ><br>> > "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/overview/views.py"<br>> > in get_data<br>> > 32.         super(ProjectOverview, self).get_data()<br>> > File <br>> > "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py" <br>> > in get_data<br>> > 34.         self.usage.get_quotas()<br>> > File <br>> > "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py" <br>> > in get_quotas<br>> > 115.                               _("Unable to retrieve quota <br>> > information."))<br>> > File <br>> > "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py" <br>> > in get_quotas<br>> > 112.             self.quotas = <br>> > quotas.tenant_quota_usages(self.request)<br>> > File "/usr/lib/python2.6/site-packages/horizon/utils/memoized.py" in <br>> > __call__<br>> > 33.             value = self.func(*args)<br>> > File <br>> > "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py" <br>> > in tenant_quota_usages<br>> > 116.                                        <br>> > disabled_quotas=disabled_quotas):<br>> > File<br>> ><br>> > "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py"<br>> > in get_tenant_quota_data<br>> > 99.                            tenant_id=tenant_id)<br>> > File <br>> > "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py" <br>> > in _get_quota_data<br>> > 81.         quotasets.append(getattr(cinder, method_name)(request, <br>> > tenant_id))<br>> > File <br>> > "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py" <br>> > in tenant_quota_get<br>> > 126.     return QuotaSet(c_client.quotas.get(tenant_id))<br>> > File "/usr/lib/python2.6/site-packages/cinderclient/v1/quotas.py" in <br>> > get<br>> > 37.         return self._get("/os-quota-sets/%s" % (tenant_id), <br>> > "quota_set")<br>> > File "/usr/lib/python2.6/site-packages/cinderclient/base.py" in _get<br>> > 141.         resp, body = self.api.client.get(url)<br>> > File "/usr/lib/python2.6/site-packages/cinderclient/client.py" in get<br>> > 184.         return self._cs_request(url, 'GET', **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/cinderclient/client.py" in <br>> > _cs_request<br>> > 152.                                           **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/cinderclient/client.py" in <br>> > request<br>> > 122.             **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/requests/api.py" in request<br>> > 44.     return session.request(method=method, url=url, **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/requests/sessions.py" in <br>> > request<br>> > 335.         resp = self.send(prep, **send_kwargs)<br>> > File "/usr/lib/python2.6/site-packages/requests/sessions.py" in send<br>> > 438.         r = adapter.send(request, **kwargs)<br>> > File "/usr/lib/python2.6/site-packages/requests/adapters.py" in send<br>> > 327.             raise ConnectionError(e)<br>> ><br>> > Exception Type: ConnectionError at /project/<br>> > Exception<br>> > Value: HTTPConnectionPool(host='158.109.65.223', port=8776): Max<br>> > retries exceeded with url:<br>> > /v1/96b716ba9ce84ef7947d3c42ad185eae/os-quota-sets/96b716ba9ce84ef7947d3c42ad185eae<br>> > (Caused by <class 'socket.error'>: [Errno 111] Connection<br>> > refused)<br>> ><br>> > I am confused. Any help please.                       <br>> >          _______________________________________________<br>> > Mailing list: <br>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack<br>> > Post to     : openstack@lists.openstack.org<br>> > Unsubscribe : <br>> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack<br></div>                                        </div></body>
</html>