Red Hat Bugzilla – Bug 985815
Some attributes of events from webadmin are not logged to engine.log
Last modified: 2016-02-10 14:34:28 EST
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):
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
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)
all event attributes should be on this line of log
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)