Bug 786751 - Repeated run of the logcollector fails if previous one not cleared.
Summary: Repeated run of the logcollector fails if previous one not cleared.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-logcollector
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Alex Lourie
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 10:17 UTC by Alex Lourie
Modified: 2012-02-02 13:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-02 13:41:00 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Alex Lourie 2012-02-02 10:17:06 UTC
Description of problem:

Repeated run of the logcollector after previous failed execution also fails due to leftovers in /tmp directory:

engine-log-collector collect
ERROR: the scratch directory for temporary storage of RHEVH reports is not
empty.
ERROR: It should be empty so that reports from a prior invocation of the log
collector are not collected again.
ERROR: The directory is: /tmp/logcollector/RHEVH-and-PostgreSQL-reports'

Additionally, it uses RHEVM names instead of oVirt-Engine.

Version-Release number of selected component (if applicable):
ovirt-engine-log-collector-3.0.0_0001-1.4.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1.engine-log-collector collect
2.
3.
  
Actual results:
Error, the execution stops.

Expected results:
Execution should warn about the problem, handle it and continue.

Additional info:

This bug is a split from bug #786143 to allow separate fix.


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