Aggregates panel throws stack trace if any aggregates actually defined

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

Bug Description

Steps to reproduce:

1. Install the novaclient (should already be installed if you have Horizon installed)
2. Open a terminal window and load a valid openrc into the shell environment
3. Login to Horizon as an admin user Point and go to the "Admin -> Aggregates" panel
4. In the terminal window, run the command: "nova aggregate-create kaboom"
5. Refresh the panel in Horizon

Expected behavior:

The page refreshes and shows the new aggregate

Actual behavior:

The following error:

AttributeError at /admin/aggregates/
'AggregateManager' object has no attribute 'get'

...followed by a stack trace.

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

Changed in horizon:
assignee: nobody → Nicolas Simonds (nicolas.simonds)
status: New → In Progress
David Lyle (david-lyle)
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/43314
Committed: http://github.com/openstack/horizon/commit/ac0260f3add0308b4728c826ce2f483a4b86bb42
Submitter: Jenkins
Branch: master

commit ac0260f3add0308b4728c826ce2f483a4b86bb42
Author: Nicolas Simonds <email address hidden>
Date: Thu Aug 22 09:46:14 2013 -0700

    Use proper method name for assembling the aggregate_list

    It's get_details(), not get()

    Fixes Bug: 1215543

    Change-Id: Iefa17e268293e5249d389150209463e64a18c12e

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.