horizon errors out when adding myself to a group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Horizon throws a "something went wrong" when adding myself to a group:
steps to reproduce:
1. login as admin
2. create a group
3. go to add users and add myself (admin) to this group
=> you will get a "something went wrong" message instead of giving a friendlier message
What I see, is that when doing this action, keystone invalidates the user, as if I 'back' to another page, I get "unathorized" on every step I do.
from /var/log/
2014-02-04 17:40:13,673 4747 INFO horizon.
2014-02-04 17:40:13,699 4747 DEBUG openstack_
2014-02-04 17:40:13,703 4747 DEBUG keystoneclient.
2014-02-04 17:40:13,704 4747 ERROR horizon.exceptions Unauthorized: The request you have made requires authentication. (HTTP 401)
Traceback (most recent call last):
File "/usr/share/
group_members = self._get_
File "/usr/share/
group=group_id)
File "/usr/share/
users = keystoneclient(
File "/usr/lib/
**kwargs)
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
resp, body = self.client.
File "/usr/lib/
return self._cs_
File "/usr/lib/
**kwargs)
File "/usr/lib/
**request_
File "/usr/lib/
raise exceptions.
Unauthorized: The request you have made requires authentication. (HTTP 401)
2014-02-04 17:40:13,704 4747 DEBUG openstack_
2014-02-04 17:40:13,708 4747 DEBUG keystoneclient.
2014-02-04 17:40:13,708 4747 ERROR django.request Internal Server Error: /dashboard/
Traceback (most recent call last):
File "/usr/lib/
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return view_func(request, *args, **kwargs)
File "/usr/lib/
return self.dispatch(
File "/usr/lib/
return handler(request, *args, **kwargs)
File "/usr/lib/
context = self.get_
File "/usr/share/
context[
File "/usr/share/
self._group = api.keystone.
File "/usr/share/
return manager.
File "/usr/lib/
group_
File "/usr/lib/
return f(*args, **kwargs)
File "/usr/lib/
self.key)
File "/usr/lib/
resp, body = self.client.
File "/usr/lib/
return self._cs_
File "/usr/lib/
**kwargs)
File "/usr/lib/
**request_
File "/usr/lib/
raise exceptions.
Changed in horizon: | |
assignee: | nobody → David Lapsley (dlapsley) |
status: | Confirmed → In Progress |
Changed in horizon: | |
milestone: | none → icehouse-rc1 |
Changed in horizon: | |
milestone: | icehouse-rc1 → next |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Hi Ami: which version/branch of Horizon are you using?
Working with master, creating a Project and then adding myself (admin user) appears to work correctly (is that what you are doing?).
Cheers, David.