Bug 1999140
| Summary: | Azure CSI driver fails accessing networkAccessPolicy | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jan Safranek <jsafrane> |
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
| Storage sub component: | Kubernetes External Components | QA Contact: | Wei Duan <wduan> |
| Status: | CLOSED WORKSFORME | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | aos-bugs |
| Version: | 4.9 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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-08-30 13:54:36 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: | |||
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 |
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