Project

General

Profile

Actions

Bug #53505

open

mgr/dashboard: grafana data source hardcoded for iframe panels

Added by James Page over 2 years ago. Updated over 1 year ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
Monitoring
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem

https://github.com/ceph/ceph/commit/527f76005cb3

The name of the datasource for grafana sourced dashboards is passed as a parameter; however there is no way to change the name of the datasource being used from the Ceph MGR dashboard side so unless the datasource name matches, grafana based panels at empty.

Environment

  • ceph version string: ceph version 16.2.6 (ee28fb57e47e9f88813e24bbf4c14496ca299d31) pacific (stable)
  • Platform (OS/distro/release): Ubuntu 20.04
  • Cluster details (nodes, monitors, OSDs):

How reproducible

Ceph deployed using Juju charms including the Ceph dashboard and Grafana.

Actual results

Grafana iframe displayed but with no data (as datasource name != Dashboard1)

Expected results

Grafana iframe displayed with data.

Actions

Also available in: Atom PDF