Bug 1837460 - grafana is not backed up
Summary: grafana is not backed up
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backup-Restore.Engine
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ovirt-4.4.1
: 4.4.1.2
Assignee: Yedidyah Bar David
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks: 1777877
TreeView+ depends on / blocked
 
Reported: 2020-05-19 13:50 UTC by Yedidyah Bar David
Modified: 2020-08-05 06:25 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.4.1.2
Doc Type: Bug Fix
Doc Text:
The first 4.4 release included support for the Grafana dashboard, but did not support backup or restore. In this release, engine-backup includes backup and restore for Grafana.
Clone Of:
Environment:
Last Closed: 2020-08-05 06:25:16 UTC
oVirt Team: Metrics
Embargoed:
emarcus: needinfo-
emarcus: needinfo-
pm-rhel: ovirt-4.4+
pelauter: planning_ack+
sbonazzo: devel_ack+
lleistne: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 109129 0 master MERGED packaging: backup: Handle grafana 2020-08-18 06:54:56 UTC

Description Yedidyah Bar David 2020-05-19 13:50:05 UTC
Description of problem:

engine-backup should backup and restore grafana - configuration, database, DWH db user and permissions.

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

How reproducible:
Always

Steps to Reproduce:
1. Setup an engine with dwh and grafana, backup
2. Install new engine+dwh+grafana, restore the backup
3.

Actual results:
grafana is not backed up, so after restore it's not in its state before backup

Expected results:
grafana is restored just like other components

Additional info:

Comment 1 Pavel Novotny 2020-07-14 16:04:22 UTC
Verified in
ovirt-engine-4.4.1.8-0.7.el8ev
ovirt-engine-tools-backup-4.4.1.8-0.7.el8ev

After restore, Grafana files, DB & configuration is restored (configs, users, custom dashboards, etc.).

Steps:
1. engine-backup --mode=backup --file=backup.bak
2. engine-cleanup
3. engine-backup --mode=restore --provision-all-databases --file=backup.bak
4. engine-setup

Comment 3 Eli Marcus 2020-07-28 09:44:04 UTC
Hi Didi, here is the updated doc text: 

"The first 4.4 release included support for the Grafana dashboard, but did not support backup or restore. In this release engine-backup includes backup and restore for Grafana."

Comment 4 Sandro Bonazzola 2020-07-30 13:40:33 UTC
(In reply to Eli Marcus from comment #3)
> Hi Didi, here is the updated doc text: 
> 
> "The first 4.4 release included support for the Grafana dashboard, but did
> not support backup or restore. In this release engine-backup includes backup
> and restore for Grafana."

Looks good to me

Comment 5 Sandro Bonazzola 2020-08-05 06:25:16 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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