Bug 2212967

Summary: Ceph Dashboard does not display Grafana graphs
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Brenda McLaren <bmclaren>
Component: Ceph-DashboardAssignee: Nizamudeen <nia>
Status: NEW --- QA Contact: Sayalee <saraut>
Severity: medium Docs Contact: Anjana Suparna Sriram <asriram>
Priority: unspecified    
Version: 4.3CC: ceph-eng-bugs, cephqe-warriors, lithomas, sostapov
Target Milestone: ---   
Target Release: 6.1z2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
mgr logs
none
mgr logs (post change) none

Description Brenda McLaren 2023-06-06 18:17:39 UTC
Description of problem:

Customer completing a POC and deployed the Ceph dashboard on the external network.  When accessing any dashboard that populates with Grafana data, a 500 error pops up.  This was corrected under BZ 2193223.  After redeploying their OSP stack, the workaround in said BZ is not working and the graphs are not displayed.  The user can access Grafana directly on the same IP as the dashboard using port 3100.


Version-Release number of selected component (if applicable):
OSP 16.2
RHCS 4.3


How reproducible:

Deploy RHCS using OSP Director with the following template to deploy the Ceph dashboard on the external network:

$ cat ceph-dashboard-network-override.yaml 
parameter_defaults:
  ServiceNetMap:
    CephDashboardNetwork: external

After deployment on one of the controller nodes:

Grab the IP address of the Ceph dashboard:
grep dashboard /etc/puppet/hieradata/vip_data.json
 "ceph dashboard_vip": "10.1.0.95",

Update the Grafana URL to the same IP as the Ceph Dashboard:
# podman exec -it ceph-mon-osp-blm-controller-0 ceph dashboard set-grafana-api-url http://10.1.0.95:3100


Customer then had to redploy their OSP stack and re-apply the work around but the dashboards are not displaying the Grafana data.

Expected results:

I completed the same steps in my lab and the Ceph dashboards populate correctly.

Additional info:

Tried restarting the Grafana containers and it made no difference.

Comment 6 Scott Ostapovicz 2023-07-12 13:07:10 UTC
Missed the 6.1 z1 window.  Retargeted to 6.1 z2.