Bug 2187272 - [Dashboard] Prometheus module is active still an Active Alert for "CephMgrPrometheusModuleInactive" is displayed
Summary: [Dashboard] Prometheus module is active still an Active Alert for "CephMgrPro...
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.1z2
Assignee: avan
QA Contact: Sayalee
Anjana Suparna Sriram
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-17 10:17 UTC by Sayalee
Modified: 2023-07-12 13:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-6471 0 None None None 2023-04-17 10:19:17 UTC
Red Hat Issue Tracker RHCSDASH-963 0 None None None 2023-04-17 10:19:19 UTC

Description Sayalee 2023-04-17 10:17:09 UTC
Created attachment 1957817 [details]
Check_active_alert_prometheus_img1

Description of problem:
========================
On Ceph Dashboard, even if the Prometheus module is active, an active alert is displayed saying that the mgr/prometheus module is not available


Version-Release number of selected component (if applicable):
=============================================================
ceph version 17.2.6-21.el9cp (9ca345dbaedb31f7b7ef0435c8e6b3f811bbcb19) quincy (stable)


How reproducible:
=================
Always


Steps to Reproduce:
===================
1. Deploy a RHCS 6.1 cluster with dashboard enabled
2. Login to Dashboard >> Cluster >> Active Alerts 
3. From CLI, run the command "ceph mgr module ls"
4. From Ceph Dashboard >> go to Cluster >> Manager Modules >> search for Prometheus


Actual results:
===============
1) Active alert for "CephMgrPrometheusModuleInactive" is displayed (check the attached screenshot)
2) From CLI-
[ceph: root@ceph-saraut-6-1-ickncj-node1-installer /]# ceph mgr module ls
MODULE                           
balancer           on (always on)
crash              on (always on)
devicehealth       on (always on)
orchestrator       on (always on)
pg_autoscaler      on (always on)
progress           on (always on)
rbd_support        on (always on)
status             on (always on)
telemetry          on (always on)
volumes            on (always on)
cephadm            on            
dashboard          on            
iostat             on            
nfs                on            
prometheus         on            
restful            on            
alerts             -             
influx             -         

3) After checking the Prometheus module status from Ceph Dashboard >> Cluster >> Manager Modules >> Prometheus ; it is displayed as enabled (check the attached screenshot)


Expected results:
=================
As the Prometheus module is enabled and running, the alert should NOT be displayed.

Comment 4 Scott Ostapovicz 2023-07-12 13:08:26 UTC
Missed the 6.1 z1 window.  Retargeted to 6.1 z2.


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