← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1121975] Re: original_ip keystone parameter not compatible with folsom keystoneclient

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

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

Title:
  original_ip keystone parameter not compatible with folsom
  keystoneclient

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  While trying to use grizzly's horizon in a folsom environment:

  
  Request Method: GET
  Request URL: http://localhost:8000/admin/

  Django Version: 1.4.3
  Python Version: 2.7.3
  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')

  
  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
    86.                 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/admin/overview/views.py" in get_data
    41.                                            admin=True)
  File "/home/mrunge/work/horizon/openstack_dashboard/api/keystone.py" in tenant_list
    141.     return keystoneclient(request, admin=admin).tenants.list()
  File "/home/mrunge/work/horizon/openstack_dashboard/api/keystone.py" in keystoneclient
    121.             insecure=insecure)
  File "/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py" in __init__
    66.         super(Client, self).__init__(endpoint=endpoint, **kwargs)

  Exception Type: TypeError at /admin/
  Exception Value: __init__() got an unexpected keyword argument 'original_ip'

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