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

Bug 1138989

Summary: Wrong logging of 'ProcessOvfUpdateForStorageDomainCommand' function at the 'AuditLogDirector'
Product: [Retired] oVirt Reporter: Ori Gofen <ogofen>
Component: ovirt-engine-coreAssignee: Liron Aravot <laravot>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5CC: acanan, amureini, bugs, ecohen, gklein, iheim, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-09 10:42:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1193195    
Attachments:
Description Flags
vdsm+engine logs none

Description Ori Gofen 2014-09-07 09:23:15 UTC
Created attachment 935122 [details]
vdsm+engine logs

Description of problem:

The function/process 'ProcessOvfUpdateForStorageDomainCommand' is misusing the AuditLogDirector ,thus, giving a wrong variable to log itself.

The message appears both in the UI and logs:

2014-09-04 12:08:25,484 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-81) [768bd4fb] Correlation ID: 33d7a1d5, Call Stack: null, Custom Event ID: -1, Message: Add-Disk operation of 'OVF_STORE' was initiated by <UNKNOWN>.


because of the obvious reason, no user initiates this Add-Disk operation,the variable value that is given to the AuditLoger is Null,hence,translated to an incomprehensible sentence.

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

How reproducible:
100%

Steps to Reproduce:
every time an update occurs 

Actual results:
wrong message appears on UI and logs

Expected results:
The message should be something like,"Message: Update operation of 'OVF_STORE' has started. "

Additional info:

Comment 1 Liron Aravot 2014-11-09 10:42:08 UTC

*** This bug has been marked as a duplicate of bug 1149620 ***