Bug 1009116 - rhevm-log-collector - log file overwritten at each execution
Summary: rhevm-log-collector - log file overwritten at each execution
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-log-collector
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.2.4
Assignee: Sandro Bonazzola
QA Contact: sefi litmanovich
URL:
Whiteboard: integration
Depends On: 998576
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-17 17:49 UTC by rhev-integ
Modified: 2013-10-25 18:12 UTC (History)
7 users (show)

Fixed In Version: rhevm-log-collector-3.2.2-5.el6ev
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-25 18:12:36 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1465 0 normal SHIPPED_LIVE Updated package: rhevm-log-collector 2013-10-25 22:11:20 UTC
oVirt gerrit 18299 0 None None None Never
oVirt gerrit 18312 0 None None None Never
oVirt gerrit 19405 0 None None None Never

Description rhev-integ 2013-09-17 17:49:53 UTC
+++ This bug is a RHEV-M zstream clone. The original bug is: +++
+++   https://bugzilla.redhat.com/show_bug.cgi?id=998576. +++

======================================================================



----------------------------------------------------------------------
Following comment by sbonazzo on August 19 at 14:25:27, 2013

Description of problem:
Each time you attempt to collect logs, the existing log-collector log file gets overwritten which makes debugging issues harder when you execute multiple attempts.


How reproducible:
100%

Steps to Reproduce:
1. execute several times log collector

Actual results:
default log file is overwritten

Expected results:
default log file should have timestamp avoiding to be overwritten

Additional info:
Affects all versions.

----------------------------------------------------------------------
Following comment by sbonazzo on August 20 at 07:34:26, 2013

patch pushed upstream master

----------------------------------------------------------------------
Following comment by sbonazzo on August 20 at 08:09:36, 2013

Log messages to timestamped files as default, avoiding to overwrite existing ones.

The default location of the logs was changed, to improve /var/log/ovirt-engine sanity.

/var/log/ovirt-engine -> /var/log/ovirt-engine/ovirt-log-collector

A log rotation was introduced in order to compress old logs.

----------------------------------------------------------------------
Following comment by sbonazzo on August 20 at 10:57:55, 2013

merged upstream master, pushed to 3.3 branch.

----------------------------------------------------------------------
Following comment by sbonazzo on August 21 at 05:50:58, 2013

merged upstream 3.3 branch

----------------------------------------------------------------------
Following comment by errata-xmlrpc on August 21 at 08:15:16, 2013

Bug report changed to ON_QA status by Errata System.
A QE request has been submitted for advisory RHBA-2013:15255-01
http://errata.devel.redhat.com/errata/show/15255

----------------------------------------------------------------------
Following comment by istein on August 25 at 13:19:36, 2013

Reassign. IS11 contain: rhevm-log-collector-3.3.0-0.1.master.el6ev.noarch

----------------------------------------------------------------------
Following comment by knesenko on August 25 at 13:32:42, 2013

(In reply to Ilanit Stein from comment #6)
> Reassign. IS11 contain: rhevm-log-collector-3.3.0-0.1.master.el6ev.noarch

IS11 includes the correct version. Please recheck your repos

----------------------------------------------------------------------
Following comment by istein on August 25 at 14:05:50, 2013

Verified on is11.

Existing older tools installed, prevented the new tools installation.

Comment 1 Sandro Bonazzola 2013-09-20 08:54:27 UTC
patch pushed upstream 3.2 branch

Comment 2 Sandro Bonazzola 2013-09-24 13:40:22 UTC
patch 19405 merged upstream 3.2 branch

Comment 4 sefi litmanovich 2013-10-03 09:10:42 UTC
verified on RHEVM 3.3 IS17.
rhevm-log-collector-3.3.0-1.el6ev.noarch
sos-2.2-44.el6.noarch

Comment 5 Sandro Bonazzola 2013-10-03 09:25:14 UTC
(In reply to sefi litmanovich from comment #4)
> verified on RHEVM 3.3 IS17.
> rhevm-log-collector-3.3.0-1.el6ev.noarch
> sos-2.2-44.el6.noarch

should be verified with rhevm-log-collector-3.2.2-5.el6ev
moving back to ON_QA

Comment 8 errata-xmlrpc 2013-10-25 18:12:36 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.

http://rhn.redhat.com/errata/RHBA-2013-1465.html


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