Unable to mount NFS

Gupta, Gaurav 1 Reputation point
2022-11-15T18:03:26.833+00:00

Hi All

I am following this link : https://learn.microsoft.com/en-us/azure/aks/azure-nfs-volume to mount NFS on my container setup on AKS cluster. Created PV/PVC and while installing the product i get the following error:

no persistent volumes available for this claim and no storage class is set

root@AKS-Cluster:/home/ggupta/SSP_Install# kubectl get events
LAST SEEN TYPE REASON OBJECT MESSAGE
10m Normal FailedBinding persistentvolumeclaim/ibm-ssp-cm-pv no persistent volumes available for this claim and no storage class is set
2m49s Normal FailedBinding persistentvolumeclaim/ibm-ssp-cm-pv no persistent volumes available for this claim and no storage class is set
55m Normal Scheduled pod/sspcm-ibm-ssp-cm-0 Successfully assigned sspproj/sspcm-ibm-ssp-cm-0 to aks-nodepool1-35256898-vmss000001
41m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes=[cm-pvc], unattached volumes=[cm-pvc cm-secret kube-api-access-rck9w cm-config]: timed out waiting for the condition
39m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 MountVolume.SetUp failed for volume "ibm-ssp-cm-pv" : mount failed: exit status 32...
50m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes=[cm-pvc], unattached volumes=[cm-config cm-pvc cm-secret kube-api-access-rck9w]: timed out waiting for the condition
46m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes=[cm-pvc], unattached volumes=[kube-api-access-rck9w cm-config cm-pvc cm-secret]: timed out waiting for the condition
29m Normal Scheduled pod/sspcm-ibm-ssp-cm-0 Successfully assigned sspproj/sspcm-ibm-ssp-cm-0 to aks-nodepool1-35256898-vmss000001
27m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes=[cm-pvc], unattached volumes=[cm-config cm-pvc cm-secret kube-api-access-l7xcp]: timed out waiting for the condition
14m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 MountVolume.SetUp failed for volume "ibm-ssp-cm-pv" : mount failed: exit status 32...
18m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes=[cm-pvc], unattached volumes=[cm-pvc cm-secret kube-api-access-l7xcp cm-config]: timed out waiting for the condition
16m Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes=[cm-pvc], unattached volumes=[kube-api-access-l7xcp cm-config cm-pvc cm-secret]: timed out waiting for the condition
8m30s Normal Scheduled pod/sspcm-ibm-ssp-cm-0 Successfully assigned sspproj/sspcm-ibm-ssp-cm-0 to aks-nodepool1-35256898-vmss000001
6m28s Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes=[cm-pvc], unattached volumes=[cm-config cm-pvc cm-secret kube-api-access-tkwk7]: timed out waiting for the condition
2m28s Warning FailedMount pod/sspcm-ibm-ssp-cm-0 MountVolume.SetUp failed for volume "ibm-ssp-cm-pv" : mount failed: exit status 32...
118s Warning FailedMount pod/sspcm-ibm-ssp-cm-0 Unable to attach or mount volumes: unmounted volumes=[cm-pvc], unattached volumes=[cm-pvc cm-secret kube-api-access-tkwk7 cm-config]: timed out waiting for the condition

root@AKS-Cluster:/home/ggupta/SSP_Install# kubectl get pv
NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE
ibm-ssp-cm-pv 300Mi RWO Retain Available manual 26m

need help.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,170 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,877 questions
{count} votes