Description of problem:
After changing "Resilience policy" of cluster to "Do not migrate virtual machines", the vm still can be migrating.
Version-Release number of selected component (if applicable):
libvirt-0.10.2-18.el6_4.5
rhevm-3.2.0-10.14.beta1.el6ev.noarch
qemu-kvm-rhev-0.12.1.2-2.355.el6_4.2
spice-server-0.12.0-12.el6
vdsm-4.10.2-1.13.el6ev
kernel-2.6.32-358.2.1.el6.x86_64
How reproducible:
100%
Steps:
1. prepare one health rhevm env, need to prepare 3 hosts:
host1: rhel+rhevm
host2: rhel+vdsm
host3: rhel+vdsm
2. make sure the vm can be migrated between host2 and host3 via rhevm.
3. edit the cluster which contains host2 and host3, navigate to "resilience policy", select "Do not migrate virtual machines", then save.
4. migarate the vm from host2 to host3, the migaration is still successfull.
Actual results:
as step 4
Expected results:
The migration should be prevented.