Resizing an instance always yields the message "unknown instance"

Bug #1210692 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

When using the new resize instance functionality, on success, the message is always:

    Resized instance "unknown instance".

This is problematic for two reasons:

1. It should know the name of the instance
2. The error message is incorrect — all that has happened is that it has successfully started preparing the resize. A second confirm/revert step is required to complete the resize.

To reproduce:

1. Make an instance
2. Hit the "Resize Instance" button, change its flavor
3. Hilarity ensues

Expected behavior:

A confirmation message like:

    Preparing resize on instance "minecraft-server".

Actual behavior:

The message:

    Resized instance "unknown instance".

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

Changed in horizon:
assignee: nobody → Nicolas Simonds (nicolas.simonds)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/41222
Committed: http://github.com/openstack/horizon/commit/41da1afd789e7d3a1a9132833794d89882eadefb
Submitter: Jenkins
Branch: master

commit 41da1afd789e7d3a1a9132833794d89882eadefb
Author: Nicolas Simonds <email address hidden>
Date: Fri Aug 9 17:12:07 2013 -0700

    Fix minor bugs in the "Resize Instance" workflow

    The name of the instance on success was always "unknown instance",
    because the name attribute wasn't getting populated in the context,
    and the text of the success message was wrong. Success of this
    action is successfully STARTING to resize. There's still a
    confirmation step.

    Fixes Bug: 1210692

    Change-Id: Ie8361fa222940e1ff02b581a3058a49ac16639d2

Changed in horizon:
status: In Progress → Fix Committed
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Medium
milestone: none → havana-3
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.