'Evacuate' function aims to help administrator/operator to evacuate
servers if this compute node fails.
If no protection, the API returns a successful response,
but the vm_state will be changed to ERROR after nova-compute started,
due to the 'InstanceExists' exception raised from 'rebuild_instance()'.
So we need to add verification here, the target host should not be the
original host.
Reviewed: https:/ /review. openstack. org/72554 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=951bae39e70 4b04414ebb711b4 25631cf2d46be5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 951bae39e704b04 414ebb711b42563 1cf2d46be5
Author: wingwj <email address hidden>
Date: Tue Feb 11 12:09:03 2014 +0800
Target host in evacuate can't be the original one
'Evacuate' function aims to help administrator/ operator to evacuate
servers if this compute node fails.
If no protection, the API returns a successful response, instance( )'.
but the vm_state will be changed to ERROR after nova-compute started,
due to the 'InstanceExists' exception raised from 'rebuild_
So we need to add verification here, the target host should not be the
original host.
Change-Id: Ic468cd57688b37 0a18cacfc6e0844 a8201eb9ab3
Closes-Bug: #1271821