Bug 1396586

Summary: [z-stream clone - 3.6.10] "Started - Finished" Messages in the audit log without any information
Product: Red Hat Enterprise Virtualization Manager Reporter: Marina Kalinin <mkalinin>
Component: ovirt-engineAssignee: Martin Perina <mperina>
Status: CLOSED ERRATA QA Contact: Aleksei Slaikovskii <aslaikov>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6.9CC: bgraveno, didi, emesika, gianluca.cecchi, gklein, lleistne, lsurette, melewis, mgoldboi, mperina, nsimsolo, oourfali, pstehlik, rbalakri, rbeyel, rhev-integ, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.10Keywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Previously, when a backup was executed the log only showed 'Started' and 'Finished' values without further information. This meant that it was not obvious what process had started and finished. Now, the log shows 'Backup started at' and 'Backup finished at' values when a backup is executed so that it is clear what process has started and finished.
Story Points: ---
Clone Of: 1381562 Environment:
Last Closed: 2017-01-17 18:05:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1372320, 1381562    
Bug Blocks:    

Description Marina Kalinin 2016-11-18 16:49:20 UTC
Cloning to 3.6.z, since there is a customer request for this.


+++ This bug was initially created as a clone of Bug #1381562 +++

+++ This bug is a RHEV-M zstream clone. The original bug is: +++
+++   https://bugzilla.redhat.com/show_bug.cgi?id=1372320. +++
======================================================================



----------------------------------------------------------------------
Following comment by nashok on September 01 at 12:17:58, 2016

Description of problem:

RHEV-M is logging message as "started" and "finished" messages in the audit log without any other information what is started/finished. This is happening thrice everyday at same time ended up in 6 unnecessary email notification to customer.

==
 2016-08-15 13:00:47.29152+05:30  | Finished
 2016-08-15 13:00:47.26449+05:30  | Finished
 2016-08-15 13:00:47.254057+05:30 | Finished
 2016-08-15 13:00:47.142476+05:30 | Finished
 2016-08-15 13:00:02.432429+05:30 | Started
 2016-08-15 13:00:02.422776+05:30 | Started
 2016-08-15 13:00:02.413265+05:30 | Started
 2016-08-15 13:00:01.987011+05:30 | Started

 2016-08-14 13:00:47.870784+05:30 | Finished
 2016-08-14 13:00:47.859678+05:30 | Finished
 2016-08-14 13:00:47.837872+05:30 | Finished
 2016-08-14 13:00:47.732752+05:30 | Finished
 2016-08-14 13:00:02.442924+05:30 | Started
 2016-08-14 13:00:02.428725+05:30 | Started
 2016-08-14 13:00:02.417798+05:30 | Started
 2016-08-14 13:00:02.228046+05:30 | Started
===

Notification log

===
2016-08-14 03:31:46,173 INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (rhevm-1.mgmt.hss.int), [Started]' to=''
2016-08-14 03:31:46,761 INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (rhevm-1.mgmt.hss.int), [Finished]' to=''

2016-08-15 03:32:16,686 INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (rhevm-1.mgmt.hss.int), [Started]' to=''
2016-08-15 03:32:17,062 INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (rhevm-1.mgmt.hss.int), [Finished]' to=''
===


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

rhevm-3.6.7.5-0.1.el6.noarch

How reproducible:
Unknown


Steps to Reproduce:
Unknown


Actual results:

Events does not have clear information

Expected results:

Events should be having  information what is started/finished.


--- Additional comment from errata-xmlrpc on 2016-11-16 10:31:15 EST ---

Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2786.html

Comment 5 Aleksei Slaikovskii 2017-01-05 12:23:38 UTC
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)

# rpm -qa | grep rhevm-backend
rhevm-backend-3.6.10.1-0.1.el6.noarch

# engine-backup --mode=backup --scope=all --file=/root/engine-backup.archive_$(date +%d-%m-%Y) --log=/root/engine-backup_$(date +%d-%m-%Y).log

webadmin events:	
xx:xx:xx PM Backup Finished
xx:xx:xx PM Backup Finished
xx:xx:xx PM Backup Finished
xx:xx:xx PM Backup Finished
xx:xx:xx PM Backup Started
xx:xx:xx PM Backup Started
xx:xx:xx PM Backup Started
xx:xx:xx PM Backup Started

notifier log:
xxxx-xx-xx xx:xx:xx,xx INFO [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (engine.vm), [Backup Started]' to='x'
xxxx-xx-xx xx:xx:xx,xx INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (engine.vm), [Backup Started]' to='x'
xxxx-xx-xx xx:xx:xx,xx INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (engine.vm), [Backup Started]' to='x'
xxxx-xx-xx xx:xx:xx,xx INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (engine.vm), [Backup Started]' to='x'
xxxx-xx-xx xx:xx:xx,xxx INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (engine.vm), [Backup Finished]' to='x'
xxxx-xx-xx xx:xx:xx,xxx INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (engine.vm), [Backup Finished]' to='x'
xxxx-xx-xx xx:xx:xx,xxx INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (engine.vm), [Backup Finished]' to='x'
xxxx-xx-xx xx:xx:xx,xxx INFO    [org.ovirt.engine.core.notifier.transport.smtp.Smtp idle] Send mail subject='alertMessage (engine.vm), [Backup Finished]' to='x'

Comment 6 Yedidyah Bar David 2017-01-16 06:32:03 UTC
s/no obvious/not obvious/

Comment 8 errata-xmlrpc 2017-01-17 18:05:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2017-0108.html