← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1398468] [NEW] Unable to terminate instance from Network Topology screen

 

Public bug reported:

I get Server error in JS console and the following traceback in web
server:

Traceback (most recent call last):
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
    self.result = application(self.environ, self.start_response)
  File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 67, in __call__
    return self.application(environ, start_response)
  File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 206, in __call__
    response = self.get_response(request)
  File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 194, in get_response
    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/timur/develop/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/home/timur/develop/horizon/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/home/timur/develop/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/home/timur/develop/horizon/horizon/decorators.py", line 84, in dec
    return view_func(request, *args, **kwargs)
  File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/timur/develop/horizon/horizon/tables/views.py", line 157, in get
    handled = self.construct_tables()
  File "/home/timur/develop/horizon/horizon/tables/views.py", line 148, in construct_tables
    handled = self.handle_table(table)
  File "/home/timur/develop/horizon/horizon/tables/views.py", line 120, in handle_table
    data = self._get_data_dict()
  File "/home/timur/develop/horizon/horizon/tables/views.py", line 185, in _get_data_dict
    self._data = {self.table_class._meta.name: self.get_data()}
  File "/home/timur/develop/horizon/openstack_dashboard/dashboards/project/instances/views.py", line 60, in get_data
    search_opts = self.get_filters({'marker': marker, 'paginate': True})
  File "/home/timur/develop/horizon/openstack_dashboard/dashboards/project/instances/views.py", line 124, in get_filters
    filter_field = self.table.get_filter_field()
  File "/home/timur/develop/horizon/horizon/tables/base.py", line 1239, in get_filter_field
    param_name = '%s_field' % filter_action.get_param_name()
AttributeError: 'NoneType' object has no attribute 'get_param_name'

** Affects: horizon
     Importance: Medium
     Assignee: Timur Sufiev (tsufiev-x)
         Status: New


** Tags: topology-view

** Tags added: topology-view

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

Title:
  Unable to terminate instance from Network Topology screen

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  I get Server error in JS console and the following traceback in web
  server:

  Traceback (most recent call last):
    File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
      self.result = application(self.environ, self.start_response)
    File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 67, in __call__
      return self.application(environ, start_response)
    File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 206, in __call__
      response = self.get_response(request)
    File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 194, in get_response
      response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
    File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
      response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File "/home/timur/develop/horizon/horizon/decorators.py", line 36, in dec
      return view_func(request, *args, **kwargs)
    File "/home/timur/develop/horizon/horizon/decorators.py", line 52, in dec
      return view_func(request, *args, **kwargs)
    File "/home/timur/develop/horizon/horizon/decorators.py", line 36, in dec
      return view_func(request, *args, **kwargs)
    File "/home/timur/develop/horizon/horizon/decorators.py", line 84, in dec
      return view_func(request, *args, **kwargs)
    File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
      return self.dispatch(request, *args, **kwargs)
    File "/home/timur/develop/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
      return handler(request, *args, **kwargs)
    File "/home/timur/develop/horizon/horizon/tables/views.py", line 157, in get
      handled = self.construct_tables()
    File "/home/timur/develop/horizon/horizon/tables/views.py", line 148, in construct_tables
      handled = self.handle_table(table)
    File "/home/timur/develop/horizon/horizon/tables/views.py", line 120, in handle_table
      data = self._get_data_dict()
    File "/home/timur/develop/horizon/horizon/tables/views.py", line 185, in _get_data_dict
      self._data = {self.table_class._meta.name: self.get_data()}
    File "/home/timur/develop/horizon/openstack_dashboard/dashboards/project/instances/views.py", line 60, in get_data
      search_opts = self.get_filters({'marker': marker, 'paginate': True})
    File "/home/timur/develop/horizon/openstack_dashboard/dashboards/project/instances/views.py", line 124, in get_filters
      filter_field = self.table.get_filter_field()
    File "/home/timur/develop/horizon/horizon/tables/base.py", line 1239, in get_filter_field
      param_name = '%s_field' % filter_action.get_param_name()
  AttributeError: 'NoneType' object has no attribute 'get_param_name'

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


Follow ups

References