Evacuate targets wrong host when calling rebuild

Bug #1133204 reported by Hans Lindgren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Hans Lindgren

Bug Description

The target host parameter of the evacuate method is overwritten before being used.

See: https://github.com/openstack/nova/blob/master/nova/compute/api.py#L2441

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/22962
Committed: http://github.com/openstack/nova/commit/10f43aa0bfc6d41282fc19fb4bacddb8bc85ddc5
Submitter: Jenkins
Branch: master

commit 10f43aa0bfc6d41282fc19fb4bacddb8bc85ddc5
Author: Hans Lindgren <email address hidden>
Date: Tue Feb 26 10:53:21 2013 +0100

    Fix target host variable from being overwritten

    The target host parameter of the compute api evacuate method
    is mistakenly overwritten before being used. The result is
    that the instance rebuild operation is tried against the
    original failed host and will always fail.

    Rename locally used variable to a different name and modify
    relevant test to prohibit this from happening again.

    Resolves bug 1133204.

    Change-Id: I517b2dc19d9561723391150105b4943b56dba637

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-rc1 → 2013.1
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.