Bug 2270645 - [Ceph Dashboard] Overall performance tab not displaying graphs when anonymous_access is set to false for grafana
Summary: [Ceph Dashboard] Overall performance tab not displaying graphs when anonymous...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 7.1
Assignee: Adam King
QA Contact: Vinayak Papnoi
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2267614 2298578 2298579
TreeView+ depends on / blocked
 
Reported: 2024-03-21 08:05 UTC by Vinayak Papnoi
Modified: 2024-07-18 07:59 UTC (History)
6 users (show)

Fixed In Version: ceph-18.2.1-145.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-13 14:30:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-8593 0 None None None 2024-03-21 08:08:24 UTC
Red Hat Product Errata RHSA-2024:3925 0 None None None 2024-06-13 14:30:15 UTC

Description Vinayak Papnoi 2024-03-21 08:05:41 UTC
Created attachment 2022857 [details]
Overall Performance does not display the graphs

Description of problem:

# cat /var/lib/ceph/tmp/grafana.yaml
service_type: grafana
service_name: grafana
placement:
  count: 1
spec:
  anonymous_access: false
  initial_admin_password: "testpass"
  protocol: https


When grafana is deployed using the spec file as mentioned above, the Overall Performance tabs for any service displays the message :
"Grafana Dashboard doesn't exist. Please refer to documentation on how to add dashboards to Grafana."

(see attached screenshot)


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

Ceph 7.1
18.2.1-75.el9cp

How reproducible:
Always

Steps to Reproduce:
1. On a ceph 7.1 cluster, deploy grafana using a spec file which contains the parameter "anonymous_access: false" similar to the one mentioned in the description (this parameter needs to be paired with initial_admin_password)
2. From the dashboard , try to access any Overall Performance graphs such as : Cluster > OSDs > Overall Performance


Actual results:

The Overall Performance tab displays a message mentioned in the description.

Expected results:

The Overall Performance tab must display the appropriate graphs for the services.

Additional info:

The parameter "anonymous_access" was introduces with bug 2079815

With a default deployment for grafana where "anonymous_access" was set to True , the graphs were being displayed properly.
If the spec file as mentioned in the description is used for grafana deployment, the graphs are displayed properly when accessed from the grafana api URL.

Comment 11 errata-xmlrpc 2024-06-13 14:30:09 UTC
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 (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and bug fix update), 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/RHSA-2024:3925


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