Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1201020

Summary: [RFE] Audit load balancing migrations for more visibility
Product: Red Hat Enterprise Virtualization Manager Reporter: Gordon Watson <gwatson>
Component: ovirt-engineAssignee: Yanir Quinn <yquinn>
Status: CLOSED ERRATA QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.0CC: dfediuck, eheftman, gwatson, lpeer, lsurette, mavital, mgoldboi, rbalakri, Rhev-m-bugs, srevivo, ykaul, yquinn
Target Milestone: ovirt-4.1.0-rcKeywords: EasyFix, FutureFeature, Triaged
Target Release: ---Flags: sherold: Triaged+
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, the system performed automatic migrations, when required, without displaying the reason for doing so in the Event log or in the Administrator portal. In this release, after performing an automatic migration, the reason for doing so will be displayed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-25 00:55:40 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 Gordon Watson 2015-03-11 20:49:49 UTC
Description of problem:


Version-Release number of selected component (if applicable):

RHEV 3.5
RHEL 6.6 host


How reproducible:

Every time (for me).


Steps to Reproduce:
1. Start a VM on a host.
2. Force cpu usage on the host above the 'HighUtilization' mark defined in the cluster policy. 
3. VM will/should migrate to another host.
4. Neither the engine log nor the Event Log indicate the reason.


Actual results:

Automatic migration occurs without the end user knowing why.


Expected results:

A message indicating the reason would be helpful.


Additional info:

Comment 3 Doron Fediuck 2015-03-12 12:04:13 UTC
Gordon,
your cluster is using even distribution load balancing, so this is working exactly as expected (and may even saved your VM from troubles).

If you do not want the VM to be migrated automatically in such a case simply set
the cluster scheduling policy to 'None' (or you can pin a VM to a specific host). See policy details in section 5.2.2.4 in [1].

Load balancing is not generating events to avoid flooding system and events log.
If there's a strong case for it please let us know. Otherwise we should close
this issue.


[1] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Administration_Guide/sect-Cluster_Tasks.html#sect-Explanation_of_Settings_and_Controls_in_the_New_Cluster_and_Edit_Cluster_Windows

Comment 7 Martin Sivák 2017-02-08 15:26:20 UTC
We believe this is already working as expected as all migrations are reported to the audit log together with the reason for it.

Comment 9 Artyom 2017-02-14 13:04:55 UTC
Verified on rhevm-4.1.1-0.1.el7.noarch
Now, for each migration under the engine we have the explicit reason, for example:
Migration initiated by system (VM: golden_env_mixed_virtio_2, Source: host_mixed_2, Destination: host_mixed_1, Reason: Load balancing).