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

Bug 1046411

Summary: [RFE] Add Audit log for vmpool prestarted vms, with memory larger than host memory each.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ilanit Stein <istein>
Component: ovirt-engineAssignee: Gilad Chaplik <gchaplik>
Status: CLOSED WONTFIX QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, dfediuck, iheim, lpeer, mavital, michal.skrivanek, ofrenkel, Rhev-m-bugs, shavivi, sherold, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.6.0Flags: sherold: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-05 14:17:15 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:
Attachments:
Description Flags
engine log none

Description Ilanit Stein 2013-12-25 07:11:38 UTC
Description of problem:

Please add audit log, for prestarted vms in a vmpool, that fail to start due to memory of each vm is larger than the host memory size, to run vms in the host. 

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

How reproducible:
Always

Steps to Reproduce:
1. Create a vmpool of 3 vms, with memory size 512M
2. Verify that the host that the vms will run on, will have available memory of less than 512M. For example, by running on it several VMs that consume most of it's memory.
3. Edit vmpool to have 3 prestarted vms.

Actual results:
Only a "can do action" message appear in the engine.log. The run VMs command is not sent to vdsm.

Expected results:
Add event, that report this can do action to user.

From engine.log:
2013-12-24 14:54:36,529 INFO  [org.ovirt.engine.core.bll.VmPoolMonitor] (DefaultQuartzScheduler_Worker-2) VmPool 9ced9de9-2153-458a-a193-286c127d2630 is missing 3 prestarted Vms, attempting to prestart 3 Vms
2013-12-24 14:54:36,559 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (DefaultQuartzScheduler_Worker-2) START, IsVmDuringInitiatingVDSCommand( vmId = 996ed2fd-1820-4a66-8da8-8b097e44da97), log id: 46a34b4a
2013-12-24 14:54:36,559 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (DefaultQuartzScheduler_Worker-2) FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id: 46a34b4a
2013-12-24 14:54:36,564 INFO  [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (DefaultQuartzScheduler_Worker-2) Candidate host cyan-vdse.qa.lab.tlv.redhat.com (3461a144-63da-44f5-836a-645f49006909) was filtered out by VAR__FILTE
RTYPE__INTERNAL filter Memory
2013-12-24 14:54:36,587 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (DefaultQuartzScheduler_Worker-2) START, IsVmDuringInitiatingVDSCommand( vmId = 29c34d0e-da03-4ffa-8b7f-9df7b68ecaf6), log id: 29c5424
2013-12-24 14:54:36,587 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (DefaultQuartzScheduler_Worker-2) FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id: 29c5424
2013-12-24 14:54:36,592 INFO  [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (DefaultQuartzScheduler_Worker-2) Candidate host cyan-vdse.qa.lab.tlv.redhat.com (3461a144-63da-44f5-836a-645f49006909) was filtered out by VAR__FILTE
RTYPE__INTERNAL filter Memory
2013-12-24 14:54:36,615 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (DefaultQuartzScheduler_Worker-2) START, IsVmDuringInitiatingVDSCommand( vmId = 9f6dd4c0-c268-437a-880c-2eb2d15197c3), log id: 1129727d
2013-12-24 14:54:36,615 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (DefaultQuartzScheduler_Worker-2) FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id: 1129727d
2013-12-24 14:54:36,620 INFO  [org.ovirt.engine.core.bll.scheduling.SchedulingManager] (DefaultQuartzScheduler_Worker-2) Candidate host cyan-vdse.qa.lab.tlv.redhat.com (3461a144-63da-44f5-836a-645f49006909) was filtered out by VAR__FILTE
RTYPE__INTERNAL filter Memory

Comment 1 Ilanit Stein 2013-12-25 07:31:49 UTC
Created attachment 841406 [details]
engine log

Comment 3 Itamar Heim 2014-08-05 14:17:15 UTC
sounds like a corner case use case. closing until field reports this.