Comment 3 for bug 1049533

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

Reviewed: https://review.openstack.org/12859
Committed: http://github.com/openstack/nova/commit/a3bdc1624fd557e0699acb049b1ca0c1ef894c2f
Submitter: Jenkins
Branch: master

commit a3bdc1624fd557e0699acb049b1ca0c1ef894c2f
Author: Jian Wen <email address hidden>
Date: Wed Sep 12 17:45:03 2012 +0800

    Avoid live migrate overwriting the other task_state

    As commit 4082c8375a6ae7e7e67c7ad2e263be2d5fc3dd1f says,
    one ordinary task is running, so that task_state is set. The
    live_migrate task is accepted at API, and will change task_state to
    MIGRATING. However the first task may continue to update task_state or
    set it to None as it finishes.

    This patch avoids it by updating task_state in compute.api.live_migrate
    level with expected_task_state=None.

    Add test case for compute.api.live_migrate.

    Fixes bug 1049533

    Change-Id: Ida8cef4797de421a7e356c9f5e882fe926535639