Bug 1563542

Summary: End time for PSQL and Engine data collection is not clear in Log
Product: [oVirt] ovirt-log-collector Reporter: Ilan Zuckerman <izuckerm>
Component: GeneralAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.4CC: bugs, ylavi
Target Milestone: ---Flags: sbonazzo: ovirt-4.3-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-02 07:37:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ilan Zuckerman 2018-04-04 06:56:51 UTC
Description of problem:

When looking at ovirt-log-collector.log after executing it on environment with Engine and hosts, one can not say when the collection of localhost data and PSQL data is done.
It is possible to see when it starts:
2018-04-01 10:36:23::INFO::__main__::1493::root:: Gathering PostgreSQL the oVirt Engine database and log files from localhost...
 
But couldn't find where it ends. 


Version-Release number of selected component (if applicable):
ovirt-log-collector-4.2.4

How reproducible:
Always

Steps to Reproduce:
1. execute log collector from engine as an example:
ovirt-log-collector --user=XXX --hosts=<list of hosts> --log-file=/path/to/ovirt-log-collector.log
2. Observe the log, grep for "Gathering PostgreSQL"
3. Try searching when this process ends

Actual results:
Couldn't find when this ends.

Expected results:
Should be able to with end time with ease. for example, finding end and start for hosts is fairly easy be grepping "collecting" and "finished collecting".


Additional info:
ovirt-log-collector.log is attached in private message.

Comment 2 Yaniv Lavi 2018-07-02 07:37:52 UTC
Closing old bugs.
Please reopen if still relevant.
In any case patches are welcomed.