summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorJian Wen <jian.wen@canonical.com>2013-01-14 19:13:24 +0800
committerJian Wen <jian.wen@canonical.com>2013-01-31 15:22:43 +0800
commitbe62d6a86971abac57a1cc03c985ba1e97fd55cb (patch)
tree4f0beece6fdf6bec93e18341322ed070d67ca203 /nova/utils.py
parentb7e0c9dd588e5fad1cf4e3eb3f71828ca0122a55 (diff)
downloadnova-be62d6a86971abac57a1cc03c985ba1e97fd55cb.tar.gz
nova-be62d6a86971abac57a1cc03c985ba1e97fd55cb.tar.xz
nova-be62d6a86971abac57a1cc03c985ba1e97fd55cb.zip
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. Fixes bug 973393 and bug 1051881 Change-Id: If825b61fad9c4e3030f2e6c5002907255eaf3661
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions