Bug 2086495 - After upgrading OCS cluster from 4.8 to ODF 4.9 multiple duplicate alerts
Summary: After upgrading OCS cluster from 4.8 to ODF 4.9 multiple duplicate alerts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ceph-monitoring
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Pranshu Srivastava
QA Contact: Harish NV Rao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-16 10:36 UTC by aharchin
Modified: 2023-08-09 16:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-02 07:17:46 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 6964369 0 None None None 2022-06-23 17:33:44 UTC

Description aharchin 2022-05-16 10:36:00 UTC
Description of problem: 

After upgrading OCS cluster from 4.8 to ODF 4.9 multiple duplicate alerts:

While checking able to see multiple prometheus rules:

~~~
#  oc get prometheusrule -n openshift-storage
NAME                        AGE
noobaa-prometheus-rules     152d
ocs-prometheus-rules        152d
prometheus-ceph-v14-rules   152d
prometheus-ceph-v16-rules   89d
~~~


Rule `prometheus-ceph-v14-rules` and `prometheus-ceph-v16-rules` are having almost same alerts. Which seems to be the cause of duplicate alerts.


After deleting `prometheus-ceph-v14-rules` duplicate alerts vanished and operator did not reconcile the prometheus rule again.

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

After upgrading OCS cluster from 4.8 to ODF 4.9 

Actual results: Duplicate alerts


Expected results: Operator should delete the old prometheusrule `prometheus-ceph-v14-rules`.



Additional info: Attaching cluster and storage mustgather for reference.


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