Bug 1990601 - AzureDisk CSI driver is not installed by default on Azure Stack Hub
Summary: AzureDisk CSI driver is not installed by default on Azure Stack Hub
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.0
Assignee: Mike Fedosin
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-05 17:18 UTC by Jan Safranek
Modified: 2021-10-18 17:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:45:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-storage-operator pull 200 0 None None None 2021-08-05 19:28:49 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:45:20 UTC

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


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