Bug 1947767

Summary: [azure-disk-csi-driver-operator] Uses the same storage type in the sc created by it as the default sc?
Product: OpenShift Container Platform Reporter: Qin Ping <piqin>
Component: StorageAssignee: Christian Huffman <chuffman>
Storage sub component: Operators QA Contact: Qin Ping <piqin>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: aos-bugs, chuffman
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:58:26 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:

Description Qin Ping 2021-04-09 08:08:35 UTC
Description of problem:
azure-disk-csi-driver-operator uses the same storage type in the sc created by it as the default sc?

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-08-200632

How reproducible:
Always

Steps to Reproduce:
1. Set Up an OCP4.8 cluster on Azure
2. Enable TechPreviewNoUpgrade featureset
3. Check the storageclass created by azure disk csi driver operator

Actual results:
$ oc describe sc managed-csi
Name:                  managed-csi
IsDefaultClass:        No
Annotations:           <none>
Provisioner:           disk.csi.azure.com
Parameters:            skuname=StandardSSD_LRS
<--skip-- >

$ oc describe sc managed-premium 
Name:                  managed-premium
IsDefaultClass:        Yes
Annotations:           storageclass.kubernetes.io/is-default-class=true
Provisioner:           kubernetes.io/azure-disk
Parameters:            kind=Managed,storageaccounttype=Premium_LRS
<--skip--->

In the default sc, the storage type is “Premium_LRS”, in the sc created by azure disk csi driver operator, the storage type is “StandardSSD_LRS”.


Expected results:
For the same user experience, I'd like to use the same storage type by default.

Comment 2 Qin Ping 2021-04-14 05:51:32 UTC
Verified with: 4.8.0-0.nightly-2021-04-13-171608

Comment 5 errata-xmlrpc 2021-07-27 22:58:26 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.8.2 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-2021:2438