-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.13
Description of problem:
Azure Stack Hub doesn't support Azure-file yet (from https://learn.microsoft.com/en-us/azure-stack/user/azure-stack-acs-differences?view=azs-2206), so we should not install Azure-file-CSI-Driver on it.
$ oc get infrastructures cluster -o json | jq .status.platformStatus.azure { "armEndpoint": "https://management.mtcazs.wwtatc.com", "cloudName": "AzureStackCloud", "networkResourceGroupName": "wduan-0516b-ash-rs7gh-rg", "resourceGroupName": "wduan-0516b-ash-rs7gh-rg" } $ oc get clustercsidrivers file.csi.azure.com NAME AGE file.csi.azure.com 45m $ oc get sc azurefile-csi NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE azurefile-csi file.csi.azure.com Delete Immediate true 47m $ oc describe pvc mydep-pvc-02 Warning ProvisioningFailed <invalid> file.csi.azure.com_wduan-0516b-ash-rs7gh-master-1_19c3f203-70a7-4d7f-afcc-22665adff5fe failed to provision volume with StorageClass "azurefile-csi": rpc error: code = Internal desc = failed to ensure storage account: failed to create storage account f0f49c11984fb413a958286, error: &{false 400 0001-01-01 00:00:00 +0000 UTC { "code": "StorageAccountInvalidKind", "message": "The requested storage account kind is invalid in this location.", "target": "StorageAccount" }}
Version-Release number of selected component (if applicable):
4.13.0-0.nightly-2023-05-11-225357
How reproducible:
Always
Steps to Reproduce:
See Description
Actual results:
Azure-file-CSI-Driver is installed on Azure Stack Hub
Expected results:
Azure-file-CSI-Driver should not be installed on Azure Stack Hub