Error when enabling keystone V3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-midonet |
Invalid
|
Low
|
Antoni Segura Puimedon |
Bug Description
Error seen in the Red Hat dashboard after enabling keystone v3 in horizon:
it appears that Horizon is making a call: get_version_
and it's trying to parse the endpoints of the service, and at least for the midonet service the array of endpoints is empty
and that throws an error: IndexError: list index out of range
Extract from the request:
```Environment:
Request Method: GET
Request URL: http://
Django Version: 1.6.5
Python Version: 2.7.5
Installed Applications:
['openstack_
'openstack_
'openstack_
'openstack_
'openstack_
'openstack_
'openstack_
'django.
'django.
'django.
'django.
'django.
'django.
'django_pyscss',
'openstack_
'compressor',
'horizon',
'openstack_auth']
Installed Middleware:
('django.
'django.
'django.
'django.
'django.
'horizon.
'django.
'django.
'django.
Traceback:
File "/usr/lib/
112. response = wrapped_
File "/usr/lib/
36. return view_func(request, *args, **kwargs)
File "/usr/lib/
84. return view_func(request, *args, **kwargs)
File "/usr/lib/
52. return view_func(request, *args, **kwargs)
File "/usr/lib/
36. return view_func(request, *args, **kwargs)
File "/usr/lib/
69. return self.dispatch(
File "/usr/lib/
87. return handler(request, *args, **kwargs)
File "/usr/lib/
146. context = self.get_
File "/usr/share/
34. context = super(IndexView, self).get_
File "/usr/lib/
106. context = super(MultiTabl
File "/usr/lib/
56. exceptions.
File "/usr/lib/
334. six.reraise(
File "/usr/lib/
54. context[
File "/usr/lib/
122. exceptions.
File "/usr/lib/
334. six.reraise(
File "/usr/lib/
119. tab._data = tab.get_
File "/usr/lib/
459. self.load_
File "/usr/lib/
443. table.data = data_func()
File "/usr/share/
40. keystone.
File "/usr/share/
85. 'publicURL')
File "/usr/share/
237. identity_version = get_version_
File "/usr/share/
220. endpoint = service[
Exception Type: IndexError at /admin/info/
Exception Value: list index out of range
```
Changed in networking-midonet: | |
importance: | Undecided → Low |
Toni's comment:
We'd need the configuration of Keystone, Neutron, Midonet and how the midonet service should be registered with keystone in order to reproduce this bug.