Public bug reported:

I created a group and added admin user to the group. 
this caused horizon to crash. 
admin is added to the group though so if you try to remove it from the group, 
horizon will crash as well: 

2014-02-13 11:03:43,926 7731 ERROR django.request Internal Server Error: 
/dashboard/admin/groups/dbcd231f592e4f9da055e5215fac8061/manage_members/
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 
111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 
48, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 
69, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 158, in 
get
    context = self.get_context_data(**kwargs)
  File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/groups/views.py",
 line 117, in get_context_data
    context['group'] = self._get_group()
  File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/groups/views.py",
 line 89, in _get_group
    self._group = api.keystone.group_get(self.request, group_id)
  File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/keystone.py",
 line 424, in group_get
    return manager.get(group_id)
  File "/usr/lib/python2.6/site-packages/keystoneclient/v3/groups.py", line 78, 
in get
    group_id=base.getid(group))
  File "/usr/lib/python2.6/site-packages/keystoneclient/base.py", line 70, in 
func
    return f(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/keystoneclient/base.py", line 325, in 
get
    self.key)
  File "/usr/lib/python2.6/site-packages/keystoneclient/base.py", line 132, in 
_get
    resp, body = self.client.get(url)
  File "/usr/lib/python2.6/site-packages/keystoneclient/httpclient.py", line 
655, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.6/site-packages/keystoneclient/httpclient.py", line 
651, in _cs_request
    **kwargs)
  File "/usr/lib/python2.6/site-packages/keystoneclient/httpclient.py", line 
610, in request
    **request_kwargs)
  File "/usr/lib/python2.6/site-packages/keystoneclient/httpclient.py", line 
124, in request
    raise exceptions.from_response(resp, method, url)
Unauthorized: The request you have made requires authentication. (HTTP 401)

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1279749

Title:
  ading/removing admin to a group will crash horizon

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I created a group and added admin user to the group. 
  this caused horizon to crash. 
  admin is added to the group though so if you try to remove it from the group, 
horizon will crash as well: 

  2014-02-13 11:03:43,926 7731 ERROR django.request Internal Server Error: 
/dashboard/admin/groups/dbcd231f592e4f9da055e5215fac8061/manage_members/
  Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 
111, in get_response
      response = callback(request, *callback_args, **callback_kwargs)
    File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in 
dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 86, in 
dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in 
dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in 
dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 
48, in view
      return self.dispatch(request, *args, **kwargs)
    File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 
69, in dispatch
      return handler(request, *args, **kwargs)
    File "/usr/lib/python2.6/site-packages/horizon/tables/views.py", line 158, 
in get
      context = self.get_context_data(**kwargs)
    File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/groups/views.py",
 line 117, in get_context_data
      context['group'] = self._get_group()
    File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/groups/views.py",
 line 89, in _get_group
      self._group = api.keystone.group_get(self.request, group_id)
    File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/keystone.py",
 line 424, in group_get
      return manager.get(group_id)
    File "/usr/lib/python2.6/site-packages/keystoneclient/v3/groups.py", line 
78, in get
      group_id=base.getid(group))
    File "/usr/lib/python2.6/site-packages/keystoneclient/base.py", line 70, in 
func
      return f(*args, **kwargs)
    File "/usr/lib/python2.6/site-packages/keystoneclient/base.py", line 325, 
in get
      self.key)
    File "/usr/lib/python2.6/site-packages/keystoneclient/base.py", line 132, 
in _get
      resp, body = self.client.get(url)
    File "/usr/lib/python2.6/site-packages/keystoneclient/httpclient.py", line 
655, in get
      return self._cs_request(url, 'GET', **kwargs)
    File "/usr/lib/python2.6/site-packages/keystoneclient/httpclient.py", line 
651, in _cs_request
      **kwargs)
    File "/usr/lib/python2.6/site-packages/keystoneclient/httpclient.py", line 
610, in request
      **request_kwargs)
    File "/usr/lib/python2.6/site-packages/keystoneclient/httpclient.py", line 
124, in request
      raise exceptions.from_response(resp, method, url)
  Unauthorized: The request you have made requires authentication. (HTTP 401)

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to