In current code logic, Migration to the same host is allowed which is
meaningless.
In the patch, a Conf flag 'allow_migrate_to_same_host' is added and set to
false as default. When 'allow_migrate_to_same_host' is false, the current
instance host will be added into filter property 'ignore_hosts' to avoid
migrating instance to the same host.
Reviewed: https:/ /review. openstack. org/25373 github. com/openstack/ nova/commit/ 0fe9beb7c0ae763 c9d5bfd8598ec7e 79b2fbf42c
Committed: http://
Submitter: Jenkins
Branch: master
commit 0fe9beb7c0ae763 c9d5bfd8598ec7e 79b2fbf42c
Author: Guan Qiang <email address hidden>
Date: Tue Mar 26 17:47:11 2013 +0800
Fix migrating instance to the same host.
In current code logic, Migration to the same host is allowed which is
meaningless.
In the patch, a Conf flag 'allow_ migrate_ to_same_ host' is added and set to migrate_ to_same_ host' is false, the current
false as default. When 'allow_
instance host will be added into filter property 'ignore_hosts' to avoid
migrating instance to the same host.
Fixes: bug #1160268
Change-Id: I5ac0391cf46831 0a89fb6d8a8f512 0c5654cb4ff