← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1453304] Re: Exception ConnectionFailed on network topology page

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1453304

Title:
  Exception ConnectionFailed on network topology page

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  Horizon returns an exception on network_topology tab:

  Sequence of events:
    Was viewing the network topology page
    Time passes
    Refresh page
    Get booted to login page
    Authenticate
    Exception and stack trace.

  ConnectionFailed at /project/network_topology/
  Connection to neutron failed: ('Connection aborted.', gaierror(-2, 'Name or service not known'))
  Request Method:	GET
  Request URL:	xxx/horizon/project/network_topology/
  Django Version:	1.6.11
  Exception Type:	ConnectionFailed
  Exception Value:	
  Connection to neutron failed: ('Connection aborted.', gaierror(-2, 'Name or service not known'))
  Exception Location:	/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/client.py in _cs_request, line 106
  Python Executable:	/usr/bin/python
  Python Version:	2.7.5
  Python Path:	
  ['/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../..',
  '/opt/stack/horizon/venv/lib64/python27.zip',
  '/opt/stack/horizon/venv/lib64/python2.7',
  '/opt/stack/horizon/venv/lib64/python2.7/plat-linux2',
  '/opt/stack/horizon/venv/lib64/python2.7/lib-tk',
  '/opt/stack/horizon/venv/lib64/python2.7/lib-old',
  '/opt/stack/horizon/venv/lib64/python2.7/lib-dynload',
  '/usr/lib64/python2.7',
  '/usr/lib/python2.7',
  '/opt/stack/horizon/venv/lib/python2.7/site-packages',
  '/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard']
  Environment:
  Request Method: GET
  Request URL: xxx/horizon/project/network_topology/
  Django Version: 1.6.11
  Python Version: 2.7.5
  Installed Applications:
  ['openstack_dashboard.dashboards.project',
  'openstack_dashboard.dashboards.admin',
  'openstack_dashboard.dashboards.identity',
  'openstack_dashboard.dashboards.settings',
  'openstack_dashboard',
  'django.contrib.contenttypes',
  'django.contrib.auth',
  'django.contrib.sessions',
  'django.contrib.messages',
  'django.contrib.staticfiles',
  'django.contrib.humanize',
  'django_pyscss',
  'openstack_dashboard.django_pyscss_fix',
  'compressor',
  'horizon',
  'openstack_auth']
  Installed Middleware:
  ('django.middleware.common.CommonMiddleware',
  'django.middleware.csrf.CsrfViewMiddleware',
  'django.contrib.sessions.middleware.SessionMiddleware',
  'django.contrib.auth.middleware.AuthenticationMiddleware',
  'django.contrib.messages.middleware.MessageMiddleware',
  'horizon.middleware.HorizonMiddleware',
  'django.middleware.doc.XViewMiddleware',
  'django.middleware.locale.LocaleMiddleware',
  'django.middleware.clickjacking.XFrameOptionsMiddleware')
  Traceback:
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  112. response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  36. return view_func(request, *args, **kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  52. return view_func(request, *args, **kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  36. return view_func(request, *args, **kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  84. return view_func(request, *args, **kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/django/views/generic/base.py" in view
  69. return self.dispatch(request, *args, **kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
  87. return handler(request, *args, **kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/django/views/generic/base.py" in get
  154. context = self.get_context_data(**kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/network_topology/views.py" in get_context_data
  123. context['instance_quota_exceeded'] = self._quota_exceeded('instances')
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/network_topology/views.py" in _quota_exceeded
  113. usages = quotas.tenant_quota_usages(self.request)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../horizon/utils/memoized.py" in wrapped
  90. value = cache[key] = func(*args, **kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py" in tenant_quota_usages
  354. _get_tenant_network_usages(request, usages, disabled_quotas, tenant_id)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py" in _get_tenant_network_usages
  303. networks = neutron.network_list(request, shared=False)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py" in network_list
  590. subnets = subnet_list(request)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py" in subnet_list
  671. subnets = neutronclient(request).list_subnets(**params).get('subnets')
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/v2_0/client.py" in with_params
  102. ret = self.function(instance, *args, **kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/v2_0/client.py" in list_subnets
  587. **_params)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/v2_0/client.py" in list
  307. for r in self._pagination(collection, path, **params):
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/v2_0/client.py" in _pagination
  320. res = self.get(path, params=params)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/v2_0/client.py" in get
  293. headers=headers, params=params)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/v2_0/client.py" in retry_request
  270. headers=headers, params=params)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/v2_0/client.py" in do_request
  200. content_type=self.content_type())
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/client.py" in do_request
  170. **kwargs)
  File "/opt/stack/horizon/venv/lib/python2.7/site-packages/openstack_dashboard/wsgi/../../neutronclient/client.py" in _cs_request
  106. raise exceptions.ConnectionFailed(reason=e)
  Exception Type: ConnectionFailed at /project/network_topology/
  Exception Value: Connection to neutron failed: ('Connection aborted.', gaierror(-2, 'Name or service not known'))

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1453304/+subscriptions


References