resizes fail because we don't check existing flavor

Bug #1123000 reported by Sean Dague
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
High
Tiago Mello

Bug Description

We have 2 resize tests in action, but they both try to go -> flavor_alt. So if the revert runs after the resize, the revert will fail because you can't resized as it's already flavor_alt.

The tests should be changed so that flavor of the image is detected, then we resize to the other flavor. All this is in tempest/tests/compute/servers/test_server_actions.py

This is the last fix needed before we enable resize in devstack gate.

Sean Dague (sdague)
Changed in tempest:
assignee: nobody → Tiago Rodrigues de Mello (tmello)
importance: Undecided → High
status: New → Confirmed
status: Confirmed → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/21793
Committed: http://github.com/openstack/tempest/commit/52d8fda8df75d96877c9c2680a77e6c2963b88ec
Submitter: Jenkins
Branch: master

commit 52d8fda8df75d96877c9c2680a77e6c2963b88ec
Author: Tiago Mello <email address hidden>
Date: Tue Feb 12 12:10:30 2013 -0500

    Fixes test_resize_server_(confirm|revert) methods

    It implements a new method for detecting the current
    flavor from a server image and returns the new flavor
    ref for the resize.

    Fixes Bug 1123000

    Change-Id: I817af7bb9a60be82a1f25be853ac4e0b95f8dd00

Changed in tempest:
status: In Progress → Fix Released
Sean Dague (sdague)
Changed in tempest:
milestone: none → havana-3
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.