TypeError at /nova/instances_and_volumes/ object of type 'NoneType' has no len()

Bug #1013303 reported by Sean Dague
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

Bug Description

Brand new OpenStack environment, no instances yet created. Navigate to /nova/instances_and_volumes/ and you get the following error:

Request Method: GET
Request URL: http://XXXXX/nova/instances_and_volumes/
Django Version: 1.4
Exception Type: TypeError
Exception Value:
object of type 'NoneType' has no len()
Exception Location: /opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/dashboards/nova/instances_and_volumes/views.py in get_volumes_data, line 77
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
 '/opt/stack/python-keystoneclient',
 '/opt/stack/python-novaclient',
 '/opt/stack/python-openstackclient',
 '/usr/local/lib/python2.7/dist-packages/cliff-0.7-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/tablib-0.9.11-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/cmd2-0.6.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pyparsing-1.5.6-py2.7.egg',
 '/opt/stack/keystone',
 '/usr/local/lib/python2.7/dist-packages/WebOb-1.0.8-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pam-0.1.4-py2.7.egg',
 '/opt/stack/glance',
 '/usr/local/lib/python2.7/dist-packages/jsonschema-0.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/swift-1.4.8-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pysendfile-2.0.0-py2.7-linux-x86_64.egg',
 '/usr/local/lib/python2.7/dist-packages/boto-2.1.1-py2.7.egg',
 '/opt/stack/nova',
 '/opt/stack/horizon',
 '/opt/stack/python-glanceclient',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/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',
 '/usr/lib/python2.7/dist-packages/PIL',
 '/usr/lib/python2.7/dist-packages/gst-0.10',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/pymodules/python2.7',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
 '/opt/stack/horizon/openstack_dashboard']
Server time: Thu, 14 Jun 2012 13:37:28 -0400

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

This is the same issue as reported in bug #1012380, which was fixed late last week.

Devin Carlen (devcamcar)
Changed in horizon:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.