Bug 985815

Summary: Some attributes of events from webadmin are not logged to engine.log
Product: Red Hat Enterprise Virtualization Manager Reporter: movciari
Component: ovirt-engineAssignee: Spenser Shumaker <sshumake>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, bazulay, iheim, lpeer, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-18 12:45:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description movciari 2013-07-18 10:05:00 UTC
Description of problem:
According to PRD: https://bugzilla.redhat.com/show_bug.cgi?id=966192
all attributes of events from webadmin events tab (advanced view) should be sent to log file, not just a subset

these attributes are missing:
Event ID, User (it's in event message but it should be in log as separate attribute too), Virtual Machine (name of VM is logged because it's in event message, but in advanced view it's separate attribute too), Template, Data Center, Storage, Cluster, Gluster Volume, Origin


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

How reproducible:
always

Steps to Reproduce:
1. Do any action (or more actions) that generates event (log in and run VM)
2. Go to webadmin events tab advanced view, check event attributes shown there
3. Go to engine.log, find line by AuditLogDirector for that event, check if all attributes from webadmin are there

Actual results:
from engine log:
2013-07-18 09:48:45,696 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (pool-4-thread-50) [6839ed8a] Correlation ID: 6839ed8a, Job ID: 55f3ab6e-5926-4496-a6cd-a2e0fdd96dcd, Call Stack: null, Custom Event ID: -1, Message: VM test was started by admin@internal (Host: host322)

Expected results:
all event attributes should be on this line of log

Additional info:

Comment 1 Barak 2014-03-18 12:45:13 UTC
This bug is two generic.
The two mechanisms (the events and engine logs),
Hence the differences.

I acknowledge there  may be places there is a difference between various logs/events.

But since this bug is too generic I prefer having a separate bug on each case such a difference is found.

Hence moving to CLOSED WONTFIX (discussed with qe)