Bug 1396586 - [z-stream clone - 3.6.10] "Started - Finished" Messages in the audit log without any information
Summary: [z-stream clone - 3.6.10] "Started - Finished" Messages in the audit log with...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.9
Hardware: All
OS: Linux
high
medium
Target Milestone: ovirt-3.6.10
: ---
Assignee: Martin Perina
QA Contact: Aleksei Slaikovskii
URL:
Whiteboard:
Depends On: 1372320 1381562
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-18 16:49 UTC by Marina Kalinin
Modified: 2020-09-08 12:57 UTC (History)
19 users (show)

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.
Clone Of: 1381562
Environment:
Last Closed: 2017-01-17 18:05:40 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0108 0 normal SHIPPED_LIVE Red Hat Enterprise Virtualization Manager 3.6.10 2017-01-17 22:48:34 UTC
oVirt gerrit 63989 0 None MERGED core: fix backup log messages 2020-09-08 12:55:26 UTC
oVirt gerrit 64189 0 None MERGED core: fix backup log messages 2020-09-08 12:55:26 UTC
oVirt gerrit 67099 0 None MERGED core: fix backup log messages 2020-09-08 12:55:26 UTC

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


Note You need to log in before you can comment on or make changes to this bug.