Bug 1990601

Summary: AzureDisk CSI driver is not installed by default on Azure Stack Hub
Product: OpenShift Container Platform Reporter: Jan Safranek <jsafrane>
Component: StorageAssignee: Mike Fedosin <mfedosin>
Storage sub component: Operators QA Contact: Wei Duan <wduan>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs, mfedosin
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.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-10-18 17:45:05 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 Jan Safranek 2021-08-05 17:18:11 UTC
Description of problem:
Azure Stack Hub does not support in-tree volume plugin for azure disk. We do not even create a StorageClass for it during installation. Only the CSI driver is supported there, however, the driver is not installed by default.

Version-Release number of selected component (if applicable):
4.9.0-0.ci-2021-08-05-062416

How reproducible:
Always

Steps to Reproduce:
1. Install OCP on Azure Shack Hub

Actual results:
No default storage class exists
No CSI driver is installed

Expected results:
AzureDisk CSI driver is installed with a default storage class.


As workaround, users can enable TechPreviewNoUpgrade feature set. It has a few downsides:
* The cluster is not upgradeable to 4.10.
* All nodes are drained during the process (i.e. it takes quite some time for the cluster to stabilize).

oc patch featuregate cluster  -p "{\"spec\":{\"featureSet\": \"TechPreviewNoUpgrade\"}}" --type=merge -o yaml

Comment 4 Wei Duan 2021-08-24 01:55:42 UTC
Verified pass on 4.9.0-0.nightly-2021-08-22-070405

$ oc get co storage -o yaml
...
  relatedObjects:
  - group: operator.openshift.io
    name: disk.csi.azure.com
    resource: clustercsidrivers
...

Comment 7 errata-xmlrpc 2021-10-18 17:45:05 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.9.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-2021:3759