Bug 2079197 - [RFE] alert when more than one default storage class is detected
Summary: [RFE] alert when more than one default storage class is detected
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.11.0
Assignee: Roman Bednář
QA Contact: Rohit Patil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-27 07:47 UTC by Roman Bednář
Modified: 2022-08-10 11:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:08:39 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-storage-operator pull 276 0 None Merged Bug 2079197: alert when more than one default storage class is detected 2022-05-19 12:46:15 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:08:50 UTC

Description Roman Bednář 2022-04-27 07:47:18 UTC
CSI migration enhancement states that we should create alerts when there is more than one default storage class configured:

https://github.com/openshift/enhancements/pull/1062/files#diff-8a4ef7567cf090023cac730c09b94e71e4dfa18d439c05b9fd07ac058b5d4320R163

Initially this was intended to be implemented in storage class controller:

https://github.com/openshift/library-go/pull/1345

However, if more than one operator that uses this controller is deployed, it would result in creating the same alert from each operator making it difficult for users to troubleshoot.

Comment 3 Rohit Patil 2022-05-30 11:03:10 UTC
Verification Status: PASS 
Payload: 4.11.0-0.nightly-2022-05-25-193227
Platform: AWS 

Steps Tested. 
1) Check for the default sc alerting state: Pending  and metrics count: 1
2) Modify existing or create new sc as default and check for alerting: firing + metrics counts: 2 
3) Modify the cluster default sc gp2 to non default, check the alerting: Pending + metrics count: 1
4) Remove the sc gp2, which in turn creates new sc gp2 as default, check metrics: 2 + alerting: firing 
5) Check logs

Comment 5 errata-xmlrpc 2022-08-10 11:08:39 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069


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