diff options
| author | Jian Wen <wenjianhn@gmail.com> | 2012-09-12 17:45:03 +0800 |
|---|---|---|
| committer | Jian Wen <wenjianhn@gmail.com> | 2012-09-13 01:03:10 +0800 |
| commit | a3bdc1624fd557e0699acb049b1ca0c1ef894c2f (patch) | |
| tree | 396ca5f8dfb8baf9a4e52a17385f193c383a29f3 /nova/openstack | |
| parent | b961bd4c2916559bca856bc8b142d9df7494ef13 (diff) | |
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
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
