Bug 1845049 - configure engine for showing link to grafana instance in ovirt landing page
Summary: configure engine for showing link to grafana instance in ovirt landing page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-dwh
Classification: oVirt
Component: Setup
Version: 4.4.0.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.4.1
: 4.4.1
Assignee: Yedidyah Bar David
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-08 11:21 UTC by Sandro Bonazzola
Modified: 2020-07-08 08:25 UTC (History)
4 users (show)

Fixed In Version: ovirt-engine-dwh-4.4.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-08 08:25:48 UTC
oVirt Team: Metrics
Embargoed:
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 109515 0 master MERGED packaging: setup: Add grafana access URL to engine conf 2020-09-07 06:58:27 UTC

Description Sandro Bonazzola 2020-06-08 11:21:31 UTC
configure engine for showing  link to grafana instance in ovirt landing page

Comment 1 Yedidyah Bar David 2020-06-08 11:56:43 UTC
I am going to write a conf file in /etc/ovirt-engine/engine.conf.d/ with:

ENGINE_GRAFANA_FQDN=somefqdn
ENGINE_GRAFANA_BASE_URL=https://${ENGINE_GRAFANA_FQDN}/ovirt-engine-grafana/

(splitting to two lines to make it easier on ovirt-engine-rename. We need a separate bug for that one, IMO).

Comment 2 Michal Skrivanek 2020-06-11 12:39:32 UTC
(In reply to Yedidyah Bar David from comment #1)
> I am going to write a conf file in /etc/ovirt-engine/engine.conf.d/ with:
> 
> ENGINE_GRAFANA_FQDN=somefqdn
> ENGINE_GRAFANA_BASE_URL=https://${ENGINE_GRAFANA_FQDN}/ovirt-engine-grafana/
> 
> (splitting to two lines to make it easier on ovirt-engine-rename. We need a
> separate bug for that one, IMO).

yes, similar to bug 1807242. Please open one or if you prefer just add a note to that one.

Comment 3 Yedidyah Bar David 2020-06-11 13:02:43 UTC
(In reply to Michal Skrivanek from comment #2)
> yes, similar to bug 1807242. Please open one or if you prefer just add a
> note to that one.

Filed bug 1846365.

Comment 4 Pavel Novotny 2020-07-07 17:01:56 UTC
VERIFIED in ovirt-engine-4.4.1.7-0.3.el8ev

Verified as part of bug 1846375 verification, see bug 1846375 comment 3.

File /etc/ovirt-engine/engine.conf.d/10-setup-grafana-access.conf contains:
-~-
ENGINE_GRAFANA_FQDN=engine.example.com
ENGINE_GRAFANA_BASE_URL=https://${ENGINE_GRAFANA_FQDN}//ovirt-engine-grafana/
-~-

Value of ENGINE_GRAFANA_BASE_URL is then URL of the "Monitoring Portal" link on the welcome page.
If the value is null or the variable is not defined, the portal link is not displayed.
Any changes to the variables require engine restart so the new values are loaded.

Comment 5 Sandro Bonazzola 2020-07-08 08:25:48 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.