Bug 836944

Summary: Events - not all events are reported when removing vms
Product: Red Hat Enterprise Virtualization Manager Reporter: Elena <edolinin>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, iheim, lpeer, oramraz, Rhev-m-bugs, srevivo, yeylon, ykaul, yzaslavs
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-18 08:03:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elena 2012-07-02 09:42:03 UTC
When removing 10 vms simultaneously only 8-9 of events with type=36 are reported.
Found in automated rest api tests:
http://<hist>/api/events?search=type%3D36

Comment 2 Eli Mesika 2012-07-18 08:03:44 UTC
You should use type 113 for it, not 36 !!!

please note that type 36 only reports on removal initialization since the VM may have images to remove and that is an async operation.

The message format on type 36 is:
  Removal of VM <vm> was initiated by <user>.

while teh message format on type 113 is:
  VM <vm> was successfully removed.

Please allign your tests to use type 113 if you want to see which VMs completes removal (i.e. finished to remove also the VM images)