Handle compute node not available for live migration
This patch handles exception.ComputeServiceUnavailable by restoring
instance's vm_state and instance's task_state after live migration
failure caused by unavailable source/dest compute node.
Raises detailed HTTPBadRequest explanation for this exception.
Reviewed: https:/ /review. openstack. org/22873 github. com/openstack/ nova/commit/ 20294279ee1d6d8 2dbb87c4c29e3a8 b9fd0cb8bd
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit 20294279ee1d6d8 2dbb87c4c29e3a8 b9fd0cb8bd
Author: Jian Wen <email address hidden>
Date: Mon Jan 14 19:13:24 2013 +0800
Handle compute node not available for live migration
This patch handles exception. ComputeServiceU navailable by restoring
instance's vm_state and instance's task_state after live migration
failure caused by unavailable source/dest compute node.
Raises detailed HTTPBadRequest explanation for this exception.
Fixes bug 973393 and bug 1051881
Conflicts: scheduler/ driver. py scheduler/ manager. py tests/api/ openstack/ compute/ contrib/ test_admin_ actions. py tests/scheduler /test_scheduler .py
nova/
nova/
nova/
nova/
Change-Id: If825b61fad9c4e 3030f2e6c500290 7255eaf3661