Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1540219

Summary: detect last backup in analyzer report
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-log-collectorAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED CURRENTRELEASE QA Contact: David Necpal <dnecpal>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: lveyde, pstehlik, ylavi
Target Milestone: ovirt-4.2.2Keywords: FutureFeature, Improvement
Target Release: ---Flags: pstehlik: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-log-collector-4.2.4 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-16 07:44:34 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 Jiri Belka 2018-01-30 13:42:42 UTC
Description of problem:

detect last backup in analyzer report, see below:

engine=# select * from engine_backup_log order by done_at desc limit 3;
 scope |            done_at            | is_passed |                                             output_message                      
                       |                 fqdn                  |                       log_path                        
-------+-------------------------------+-----------+---------------------------------------------------------------------------------
-----------------------+---------------------------------------+-------------------------------------------------------
 dwhdb | 2018-01-29 21:09:11.144942-05 | t         | engine-backup: Backup Finished, scope=dwhdb, log=/tmp/tmp.B6Dcf2Yhgv/brq-setup_b
ackup-201801300208.log | brq-setup.example.com | /tmp/tmp.B6Dcf2Yhgv/brq-setup_backup-201801300208.log
 db    | 2018-01-29 21:09:10.709721-05 | t         | engine-backup: Backup Finished, scope=db, log=/tmp/tmp.B6Dcf2Yhgv/brq-setup_back
up-201801300208.log    | brq-setup.example.com | /tmp/tmp.B6Dcf2Yhgv/brq-setup_backup-201801300208.log
 files | 2018-01-29 21:09:09.391623-05 | t         | engine-backup: Backup Finished, scope=files, log=/tmp/tmp.B6Dcf2Yhgv/brq-setup_b
ackup-201801300208.log | brq-setup.example.com | /tmp/tmp.B6Dcf2Yhgv/brq-setup_backup-201801300208.log
(3 rows)


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. check analyzer report
2.
3.

Actual results:
no info about latest backup

Expected results:
report latest backup

Additional info:

Comment 1 David Necpal 2018-02-23 16:33:19 UTC
Verified on version ovirt-log-collector-analyzer-4.2.4-2.el7ev.noarch

Analyzer_report.html contains Table 1. Last Engine backup with 4 last backups.

Comment 2 Franta Kust 2019-05-16 13:07:47 UTC
BZ<2>Jira Resync