yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03985
[Bug 1194449] Re: TypeError at /project/networks/
I can't reproduce this without intentionally misconfiguring things or
shoving hacks in. Please re-open if you can provide a solid repro.
Thanks for the report!
** Changed in: horizon
Status: New => Invalid
--
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/1194449
Title:
TypeError at /project/networks/
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
Environment:
Request Method: GET
Request URL: http://localhost:8000/project/networks/
Django Version: 1.4.5
Python Version: 2.7.5
Installed Applications:
('openstack_dashboard',
'django.contrib.contenttypes',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.humanize',
'compressor',
'horizon',
'openstack_dashboard.dashboards.project',
'openstack_dashboard.dashboards.admin',
'openstack_dashboard.dashboards.settings',
'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 "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File "/home/mrunge/work/horizon/horizon/decorators.py" in dec
38. return view_func(request, *args, **kwargs)
File "/home/mrunge/work/horizon/horizon/decorators.py" in dec
54. return view_func(request, *args, **kwargs)
File "/home/mrunge/work/horizon/horizon/decorators.py" in dec
38. return view_func(request, *args, **kwargs)
File "/home/mrunge/work/horizon/horizon/decorators.py" in dec
86. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in view
48. return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
69. return handler(request, *args, **kwargs)
File "/home/mrunge/work/horizon/horizon/tables/views.py" in get
155. handled = self.construct_tables()
File "/home/mrunge/work/horizon/horizon/tables/views.py" in construct_tables
146. handled = self.handle_table(table)
File "/home/mrunge/work/horizon/horizon/tables/views.py" in handle_table
118. data = self._get_data_dict()
File "/home/mrunge/work/horizon/horizon/tables/views.py" in _get_data_dict
182. self._data = {self.table_class._meta.name: self.get_data()}
File "/home/mrunge/work/horizon/openstack_dashboard/dashboards/project/networks/views.py" in get_data
54. exceptions.handle(self.request, msg)
File "/home/mrunge/work/horizon/openstack_dashboard/dashboards/project/networks/views.py" in get_data
50. tenant_id)
File "/home/mrunge/work/horizon/openstack_dashboard/api/quantum.py" in network_list_for_tenant
249. shared=False, **params)
File "/home/mrunge/work/horizon/openstack_dashboard/api/quantum.py" in network_list
227. networks = quantumclient(request).list_networks(**params).get('networks')
File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py" in with_params
107. ret = self.function(instance, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py" in list_networks
292. **_params)
File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py" in list
996. for r in self._pagination(collection, path, **params):
File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py" in _pagination
1009. res = self.get(path, params=params)
File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py" in get
982. headers=headers, params=params)
File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py" in retry_request
967. headers=headers, params=params)
File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py" in do_request
904. resp, replybody = self.httpclient.do_request(action, method, body=body)
File "/usr/lib/python2.7/site-packages/quantumclient/client.py" in do_request
151. self.authenticate()
File "/usr/lib/python2.7/site-packages/quantumclient/client.py" in authenticate
180. token_url = self.auth_url + "/tokens"
Exception Type: TypeError at /project/networks/
Exception Value: unsupported operand type(s) for +: 'NoneType' and 'str'
Quantumclient is rpm -q python-quantumclient
python-quantumclient-2.2.1-3
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1194449/+subscriptions