Instances index crashes when instance without an image is present in list

Bug #1202784 reported by Nathan Beittenmiller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Nathan Beittenmiller

Bug Description

When viewing the instance list, if any instance on the current page does not have an image (because it's attached to a volume), the page crashes with a "'Server' object has no attribute 'attrs'" error.

Steps to Reproduce:
1.) Log into Horizon
2.) Create a new instance attached to a volume
3.) Visit the instance index view. If necessary, change pages until your volume-based instance is present.

Note that this bug is only occurring on master right now. It is not present in the release version.

Changed in horizon:
assignee: nobody → Nathan Beittenmiller (nbeittenmiller)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/37746

Changed in horizon:
status: New → In Progress
Changed in horizon:
importance: Undecided → Medium
milestone: none → havana-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/37746
Committed: http://github.com/openstack/horizon/commit/ef8ca80344781c32e618281b70b59bb5e7dddac2
Submitter: Jenkins
Branch: master

commit ef8ca80344781c32e618281b70b59bb5e7dddac2
Author: Nathan Beittenmiller <email address hidden>
Date: Thu Jul 18 13:58:37 2013 -0500

    Prevent an array index exception if server does not have an image.

    Change-Id: I63d3a92cea4da042942540b0800b5c4e825983c5
    Fixes: bug #1202784

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: havana-3 → 2013.2
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.