Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1596009 - [Rebase] rhv-log-collector-analyzer
[Rebase] rhv-log-collector-analyzer
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhv-log-collector-analyzer (Show other bugs)
4.2.5
Unspecified Unspecified
high Severity high
: ovirt-4.2.5
: 4.2.5
Assigned To: Douglas Schilling Landgraf
Jiri Belka
: FieldEngineering, Rebase, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-27 23:31 EDT by Douglas Schilling Landgraf
Modified: 2018-07-31 13:49 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-07-31 13:49:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Integration
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:2315 None None None 2018-07-31 13:49 EDT

  None (edit)
Description Douglas Schilling Landgraf 2018-06-27 23:31:10 EDT
Fresh build of rhv-log-collector-analyzer from the new repository

Reference: 
[RFE] tool to analyze ovirt engine system live
https://bugzilla.redhat.com/show_bug.cgi?id=1591927
Comment 3 Dan Kenigsberg 2018-07-24 08:33:23 EDT
Please verify that the shipped RPMs produce a good analysis of a live DB.
Comment 4 Jiri Belka 2018-07-25 07:00:24 EDT
ooops, the report has no data:

---%>---
$ rhv-log-collector-analyzer /tmp/sosreport-LogCollector-20180725114347.tar.xz                                                                                                                                                                                         
/bin/rhv-log-collector-analyzer: line 126: [: : integer expression expected
Preparing environment:
======================
Temporary working directory is /temp/tmp.YPWDCNjf6J
Unpacking postgres data. This can take up to several minutes.
sos-report extracted into: /temp/tmp.YPWDCNjf6J/unpacked_sosreport
pgdump extracted into: /temp/tmp.YPWDCNjf6J/pg_dump_dir
Welcome to unpackHostsSosReports script!
Extracting sosreport from hypervisor slot-1.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-1.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-5a.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-5a.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-5c.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-5c.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-5d.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-5d.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-6a.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-6a.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-6b.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-6b.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-6c.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-6c.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-6d.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-6d.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-7a.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-7a.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-7b.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-7b.rhev.lab.eng.brq.redhat.com

Extracting sosreport from hypervisor slot-7c.rhev.lab.eng.brq.redhat.com in /temp/ovirt-log-collector-analyzer-hosts/slot-7c.rhev.lab.eng.brq.redhat.com

Creating a temporary database in /temp/tmp.YPWDCNjf6J/postgresDb/pgdata. Log of initdb is in /temp/tmp.YPWDCNjf6J/initdb.log

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
LOG:  redirecting log output to logging collector process
HINT:  Future log output will appear in directory "pg_log".
Importing the dump into a temporary database. Log of the restore process is in /temp/tmp.YPWDCNjf6J/db-restore.log

Generating reports:
===================
Generated analyzer_report.html

Cleaning up:
============
Stopping temporary database
Removing temporary directory /temp/tmp.YPWDCNjf6J

$ ls -l analyzer_report.html 
-rw-r--r--. 1 postgres postgres 30189 Jul 25 12:55 analyzer_report.html
# sed -n '/<body/,/<\/body/p' /var/lib/pgsql/analyzer_report.html 
<body class="article toc2 toc-left">
<div id="header">
<div id="toc" class="toc2">
<div id="toctitle">Table of Contents</div>

</div>
</div>
<div id="content">

</div>
<div id="footer">
<div id="footer-text">
Last updated 2018-07-25 12:55:26 CEST
</div>
</div>
</body>

# rpm -qf /bin/rhv-log-collector-analyzer
rhv-log-collector-analyzer-0.1.2-0.el7ev.noarch
Comment 7 Jiri Belka 2018-07-30 07:34:08 EDT
ok, only for *live feature

rhv-log-collector-analyzer = 0.1.2-0.el7ev
# rhv-log-collector-analyzer-live | tail
                        "Status": "ACTIVE"
                    }
                ]
            ], 
            "time": "0.0130548477173", 
            "type": "WARNING", 
            "when": "2018-07-30 13:33:41"
        }
    ]
}
Comment 9 errata-xmlrpc 2018-07-31 13:49:00 EDT
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://access.redhat.com/errata/RHEA-2018:2315

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