Description of problem: On Azure Stack Hub, Azure CSI driver fails to provision a volume with this error: Warning ProvisioningFailed 77s (x15 over 29m) disk.csi.azure.com_qe-9wwfr-master-0_1bc2b412-37d2-43f7-a64b-7e6378b6cde3 failed to provision volume with StorageClass "managed-csi": rpc error: code = Unknown desc = Retriable: false, RetryAfter: 0s, HTTPStatusCode: 400, RawError: Retriable: false, RetryAfter: 0s, HTTPStatusCode: 400, RawError: { "error": { "code": "BadRequest", "message": "Could not find member 'networkAccessPolicy' on object of type 'DiskProperties'. Path 'properties.networkAccessPolicy', line 1, position 110.", "target": "diskDescription.properties.networkAccessPolicy" } Version-Release number of selected component (if applicable): 4.9.0-0.nightly-2021-08-29-010334 How reproducible: Always Steps to Reproduce: 1. Create a PVC with the default storage class + a pod that uses it Actual results: the error above Expected results: Provisioning succeeds This was probably fixed upstream in https://github.com/kubernetes-sigs/azuredisk-csi-driver/pull/964
Never mind, I used old CSI driver images. We already have v1.5.1 with this bug fixed in OCP, https://github.com/openshift/azure-disk-csi-driver/pull/13