← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1428585] [NEW] Filtering compute host in admin page makes an internal server error

 

Public bug reported:

Horizon returns Internal Server Error when you push filter button in
admin's compute host page.

How to reproduce:
1. login as admin
2. moving System -> Hypervisors -> Compute Host
3. clicking Filter button

I received following error on my browser:

TemplateSyntaxError at /admin/hypervisors/

'Service' object is not iterable

Request Method: 	POST
Request URL: 	http://10.10.1.10/admin/hypervisors/
Django Version: 	1.6.10
Exception Type: 	TemplateSyntaxError
Exception Value: 	

'Service' object is not iterable

Exception Location: 	/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/hypervisors/compute/tables.py in filter, line 63
Python Executable: 	/usr/bin/python
Python Version: 	2.7.6
Python Path: 	

['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
 '/opt/stack/keystone',
 '/opt/stack/glance',
 '/opt/stack/cinder',
 '/opt/stack/neutron',
 '/opt/stack/nova',
 '/opt/stack/horizon',
 '/opt/stack/heat',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/opt/stack/horizon/openstack_dashboard']

Server time:    Thu, 5 Mar 2015 10:42:18 +0000

I attach horizon.log in this report.

** Affects: horizon
     Importance: Undecided
         Status: New

** Attachment added: "horizon-error.log.txt"
   https://bugs.launchpad.net/bugs/1428585/+attachment/4335066/+files/horizon-error.log.txt

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

Title:
  Filtering compute host in admin page makes an internal server error

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Horizon returns Internal Server Error when you push filter button in
  admin's compute host page.

  How to reproduce:
  1. login as admin
  2. moving System -> Hypervisors -> Compute Host
  3. clicking Filter button

  I received following error on my browser:

  TemplateSyntaxError at /admin/hypervisors/

  'Service' object is not iterable

  Request Method: 	POST
  Request URL: 	http://10.10.1.10/admin/hypervisors/
  Django Version: 	1.6.10
  Exception Type: 	TemplateSyntaxError
  Exception Value: 	

  'Service' object is not iterable

  Exception Location: 	/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/hypervisors/compute/tables.py in filter, line 63
  Python Executable: 	/usr/bin/python
  Python Version: 	2.7.6
  Python Path: 	

  ['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
   '/opt/stack/keystone',
   '/opt/stack/glance',
   '/opt/stack/cinder',
   '/opt/stack/neutron',
   '/opt/stack/nova',
   '/opt/stack/horizon',
   '/opt/stack/heat',
   '/usr/lib/python2.7',
   '/usr/lib/python2.7/plat-x86_64-linux-gnu',
   '/usr/lib/python2.7/lib-tk',
   '/usr/lib/python2.7/lib-old',
   '/usr/lib/python2.7/lib-dynload',
   '/usr/local/lib/python2.7/dist-packages',
   '/usr/lib/python2.7/dist-packages',
   '/opt/stack/horizon/openstack_dashboard']

  Server time:    Thu, 5 Mar 2015 10:42:18 +0000

  I attach horizon.log in this report.

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


Follow ups

References