Bug 2112237 - [ Cluster storage Operator 4.x(10/11/12) ] DefaultStorageClassController report fake message "No default StorageClass for this platform" on Alicloud, IBM, Nutanix
Summary: [ Cluster storage Operator 4.x(10/11/12) ] DefaultStorageClassController repo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.10
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: 4.12.0
Assignee: Roman Bednář
QA Contact: Rohit Patil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-29 06:49 UTC by Rohit Patil
Modified: 2023-01-17 19:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:54:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-storage-operator pull 310 0 None Merged Bug 2112237: correct sc error messages for ibm and alibaba platforms 2022-08-25 12:03:06 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:54:22 UTC

Description Rohit Patil 2022-07-29 06:49:13 UTC
Description of problem:
[Cluster storage Operator] DefaultStorageClassController report fake message "No default StorageClass for this platform" on Alicloud, IBM, Nutanix 

Version-Release number of selected component (if applicable):
Observed on 4.12.0-0.nightly-2022-07-27-133042 
But this will be observed on earlier build 4.10/4.11

How reproducible: Always 

Steps to Reproduce:
1. Set up a Alicloud/IBM/Nutanix cluster with 4.x(10/11/12) nightly builds 
2. Check the cluster storage operator healthy status and messages

Actual results:
DefaultStorageClassController report fake message "No default StorageClass for this platform"

Expected results:
It should not throw wrong message  

Additional info:
Message: 
rohitpatil@ropatil-mac Downloads % oc get co storage -o yaml
apiVersion: config.openshift.io/v1
kind: ClusterOperator
  name: storage
status:
  conditions:
  - lastTransitionTime: "2022-07-29T05:15:43Z"
    message: 'AlibabaDiskCSIDriverOperatorCRDegraded: All is well'
    reason: AsExpected
    status: "False"
    type: Degraded
  - lastTransitionTime: "2022-07-29T05:28:34Z"
    message: 'AlibabaDiskCSIDriverOperatorCRProgressing: All is well'
    reason: AsExpected
    status: "False"
    type: Progressing
  - lastTransitionTime: "2022-07-29T05:16:27Z"
    message: |-
      DefaultStorageClassControllerAvailable: No default StorageClass for this platform
      AlibabaDiskCSIDriverOperatorCRAvailable: All is well
    reason: AsExpected
    status: "True"
    type: Available

rohitpatil@ropatil-mac Downloads % oc get sc
NAME                      PROVISIONER                       RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
alicloud-disk (default)   diskplugin.csi.alibabacloud.com   Delete          WaitForFirstConsumer   true                   91m

Comment 2 Rohit Patil 2022-08-30 08:10:05 UTC
Verification: 

Platform: Alicloud
Payload: 4.12.0-0.nightly-2022-08-29-102035

rohitpatil@ropatil-mac Downloads % oc get co storage -o yaml
status:
  conditions:
  - lastTransitionTime: "2022-08-30T06:46:12Z"
    message: 'AlibabaDiskCSIDriverOperatorCRDegraded: All is well'
    reason: AsExpected
    status: "False"
    type: Degraded
  - lastTransitionTime: "2022-08-30T06:59:01Z"
    message: 'AlibabaDiskCSIDriverOperatorCRProgressing: All is well'
    reason: AsExpected
    status: "False"
    type: Progressing
  - lastTransitionTime: "2022-08-30T06:47:17Z"
    message: |-
      DefaultStorageClassControllerAvailable: StorageClass provided by supplied CSI Driver instead of the cluster-storage-operator
      AlibabaDiskCSIDriverOperatorCRAvailable: All is well

Comment 6 errata-xmlrpc 2023-01-17 19:54:07 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 (Moderate: OpenShift Container Platform 4.12.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:7399


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