I'm registered for the Azure Files NFSv4 preview, and I cannot seem to find a way to mount NFS file shares on ACI. I have tried the following:
- Created a virtual network in eastus with two subnets, one specific to aci
- Changed NFS storage account networking to only allow connections from above vnet:
- Deployed container with the following json:
{ "type": "Microsoft.ContainerInstance/containerGroups", "apiVersion": "2019-12-01", "location": "eastus", "name": "nfs-test", "properties": { "osType": "Linux", "containers": [ { "name": "sshd", "properties": { "image": "boldidea.azurecr.io/ssh-test", "ports": [ { "port": 22, "protocol": "TCP" } ], "resources": { "requests": { "cpu": 1, "memoryInGB": 1.5 } }, "volumeMounts": [ { "mountPath": "/mnt/user-storage", "name": "user-storage" } ] } } ], "volumes": [ { "azureFile": { "shareName": "ide-user-storage", "storageAccountKey": "(redacted)", "storageAccountName": "ideworkspacestoragenfs" }, "name": "user-storage" } ], "imageRegistryCredentials": [ { "server": "(redacted)", "username": "(redacted)", "password": "(redacted)" } ], "ipAddress": { "type": "Private", "ports": [ { "port": 22, "protocol": "TCP" } ] }, "networkProfile": { "id": "/subscriptions/(redacted)/resourceGroups/ideResourceGroup/providers/Microsoft.Network/networkProfiles/aci-network-profile-ide-vnet-eastus-aci" } } }
The deployment hangs for roughly 30 minutes before failing with the error "Failed to mount Azure File Volume". What am I doing wrong?