Bug 2090738

Summary: managed-premium SC is missing in OCP 4.11 on Azure
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Petr Balogh <pbalogh>
Component: documentationAssignee: Kusuma <kbg>
Status: CLOSED CURRENTRELEASE QA Contact: Neha Berry <nberry>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.11CC: ebenahar, kbg, mmuench, ocs-bugs, odf-bz-bot, owasserm
Target Milestone: ---Keywords: Automation, AutomationBlocker, Documentation
Target Release: ODF 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2107158 2107159 (view as bug list) Environment:
Last Closed: 2023-03-09 12:47:11 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:    
Bug Blocks: 2107158, 2107159    

Description Petr Balogh 2022-05-26 13:08:06 UTC
Describe the issue:
I noticed on the ODF 4.10 deployment on top of OCP 4.11 that it failed with:
 
Message:               Error while reconciling: Failed to check for known device types: failed to retrieve StorageClass "managed-premium". StorageClass.storage.k8s.io "managed-premium" not found

$ oc get storageclass
NAME                    PROVISIONER          RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
azurefile-csi           file.csi.azure.com   Delete          Immediate              true                   80m
azurefile-csi-nfs       file.csi.azure.com   Delete          Immediate              true                   80m
managed-csi (default)   disk.csi.azure.com   Delete          WaitForFirstConsumer   true                   80m

The SC is really missing as you can see.
But we document that this SC should be used here:
https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.10/html-single/deploying_openshift_data_foundation_using_microsoft_azure_and_azure_red_hat_openshift/index

So I guess it will also block ODF 4.11 deployment with the same SC if it's still documented as default SC to be chosen.


Describe the task you were trying to accomplish:
Deploy ODF 4.10 on top of OCP 4.11

Suggestions for improvement:
We need to find new SC to be used or find out why the default managed-premium is missing.

Document URL:
https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.10/html-single/deploying_openshift_data_foundation_using_microsoft_azure_and_azure_red_hat_openshift/index


Chapter/Section Number and Title:
Chapter 2. Deploying OpenShift Data Foundation on Microsoft Azure
Product Version:
ODF 4.10 and 4.11 on top of OCP 4.11

Environment Details:
Server Version: 4.11.0-0.nightly-2022-05-25-193227
ODF 4.11.0-80

Any other versions of this document that also needs this update:

Additional information:
Job:
https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-trigger-azure-ipi-3az-rhcos-3m-3w-upgrade-ocs-auto/32/
Must gather:
http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/j-032zi3c33-ua/j-032zi3c33-ua_20220526T110411/logs/failed_testcase_ocs_logs_1653563463/test_deployment_ocs_logs/

Comment 3 Elad 2022-05-26 13:30:09 UTC
Could it be due to https://github.com/openshift/azure-disk-csi-driver-operator/pull/47?

Comment 4 Orit Wasserman 2022-05-26 13:50:58 UTC
Elad is right and tt seems OpenShift changed the Azure's default storage class name to managed-csi 
This is not only require change in documentation but also in ODF.

Comment 13 Elad 2022-08-22 08:02:18 UTC
in the provided preview link, managed-premium was replaced with managed-csi