Bug 967826

Summary: The vm migration should be prevented after changing settings in "resilience policy" of the cluster
Product: Red Hat Enterprise Virtualization Manager Reporter: Xuesong Zhang <xuzhang>
Component: ovirt-engineAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: acathrow, bili, dyasny, dyuan, iheim, lpeer, mzhan, Rhev-m-bugs, whuang, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-28 20:20:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xuesong Zhang 2013-05-28 11:47:26 UTC
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.

Comment 1 Itamar Heim 2013-05-28 20:20:32 UTC
4.2.2.3. Resilience Policy Settings Explained[1]
"The resilience policy sets the virtual machine migration policy in the event of host failure. Virtual machines running on a host that unexpectedly shuts down or is put into maintenance mode are migrated to other hosts in the cluster; this migration is dependent upon your cluster policy."

i.e., this is about hosts moving to non operational, not about manual migrations.

[1] https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.2-Beta/html-single/Administration_Guide/index.html#sect-Explanation_of_Settings_and_Controls_in_the_New_Cluster_and_Edit_Cluster_Windows