Bug 967826 - The vm migration should be prevented after changing settings in "resilience policy" of the cluster
The vm migration should be prevented after changing settings in "resilience p...
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.2.0
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Nobody's working on this, feel free to take it
sla
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-28 07:47 EDT by Xuesong Zhang
Modified: 2016-02-10 15:17 EST (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-05-28 16:20:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: SLA
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Xuesong Zhang 2013-05-28 07:47:26 EDT
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 16:20:32 EDT
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

Note You need to log in before you can comment on or make changes to this bug.