Bug 2102576

Summary: [4.11] [Cluster storage Operator] DefaultStorageClassController report fake message "No default StorageClass for this platform" on azure and openstack
Product: OpenShift Container Platform Reporter: Roman Bednář <rbednar>
Component: StorageAssignee: Roman Bednář <rbednar>
Storage sub component: Operators QA Contact: Penghao Wang <pewang>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: jsafrane
Version: 4.11   
Target Milestone: ---   
Target Release: 4.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2101645 Environment:
Last Closed: 2022-08-23 15:08:28 UTC 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:
Bug Depends On: 2101645    
Bug Blocks:    

Description Roman Bednář 2022-06-30 09:21:31 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2101645

Backport to 4.11.

Comment 4 Penghao Wang 2022-08-18 02:21:12 UTC
Verified pass on Cluster Server Version: 4.11.0-0.nightly-2022-08-17-152830

---Azure---
[pewang@preserve-storage-server1 ~]$ oc get infrastructure cluster -o=jsonpath='{.status.platform}'
Azure
[pewang@preserve-storage-server1 ~]$ oc get co/storage -o=jsonpath={.status.conditions} |jq .

[
  {
    "lastTransitionTime": "2022-08-18T01:49:28Z",
    "message": "AzureDiskCSIDriverOperatorCRDegraded: All is well\nAzureFileCSIDriverOperatorCRDegraded: All is well",
    "reason": "AsExpected",
    "status": "False",
    "type": "Degraded"
  },
  {
    "lastTransitionTime": "2022-08-18T02:01:43Z",
    "message": "AzureDiskCSIDriverOperatorCRProgressing: All is well\nAzureFileCSIDriverOperatorCRProgressing: All is well",
    "reason": "AsExpected",
    "status": "False",
    "type": "Progressing"
  },
  {
    "lastTransitionTime": "2022-08-18T01:50:17Z",
    "message": "DefaultStorageClassControllerAvailable: StorageClass provided by supplied CSI Driver instead of the cluster-storage-operator\nAzureDiskCSIDriverOperatorCRAvailable: All is well\nAzureFileCSIDriverOperatorCRAvailable: All is well",
    "reason": "AsExpected",
    "status": "True",
    "type": "Available"
  },
  {
    "lastTransitionTime": "2022-08-18T01:49:28Z",
    "message": "All is well",
    "reason": "AsExpected",
    "status": "True",
    "type": "Upgradeable"
  }
]

---Openstack---
[pewang@preserve-storage-server1 ~]$ oc get infrastructure cluster -o=jsonpath='{.status.platform}'
OpenStack
[pewang@preserve-storage-seroc get co/storage -o=jsonpath={.status.conditions} |jq .
[
  {
    "lastTransitionTime": "2022-08-18T00:32:09Z",
    "message": "OpenStackCinderCSIDriverOperatorCRDegraded: All is well\nManilaCSIDriverOperatorCRDegraded: All is well",
    "reason": "AsExpected",
    "status": "False",
    "type": "Degraded"
  },
  {
    "lastTransitionTime": "2022-08-18T00:31:38Z",
    "message": "OpenStackCinderCSIDriverOperatorCRProgressing: All is well\nManilaCSIDriverOperatorCRProgressing: All is well",
    "reason": "AsExpected",
    "status": "False",
    "type": "Progressing"
  },
  {
    "lastTransitionTime": "2022-08-18T00:31:38Z",
    "message": "DefaultStorageClassControllerAvailable: StorageClass provided by supplied CSI Driver instead of the cluster-storage-operator\nOpenStackCinderCSIDriverOperatorCRAvailable: All is well\nManilaCSIDriverOperatorCRAvailable: All is well",
    "reason": "AsExpected",
    "status": "True",
    "type": "Available"
  },
  {
    "lastTransitionTime": "2022-08-18T00:24:03Z",
    "message": "All is well",
    "reason": "AsExpected",
    "status": "True",
    "type": "Upgradeable"
  }
]

Comment 6 errata-xmlrpc 2022-08-23 15:08:28 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.11.1 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:6103