Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I deploy flexvolume only in the alicloud environment #22

Open
lixiaopengy opened this issue Oct 27, 2020 · 0 comments
Open

Can I deploy flexvolume only in the alicloud environment #22

lixiaopengy opened this issue Oct 27, 2020 · 0 comments

Comments

@lixiaopengy
Copy link

I tried to deploy flexvolume in a local private environment using the NFS file system

[root@csi1 csi]# kubectl get pod -n kube-system
NAME                                       READY   STATUS              RESTARTS   AGE
alicloud-nas-controller-68d6c6f868-pdz7c   0/1     ContainerCreating   0          2m40s
coredns-6d9f89d84f-qn4h7                   1/1     Running             13         4d19h
etcd-csi1                                  1/1     Running             14         4d19h
flexvolume-7mqtr                           1/1     Running             0          16m
flexvolume-bmv84                           1/1     Running             0          16m
flexvolume-nrw9b                           1/1     Running             0          16m
kube-apiserver-csi1                        1/1     Running             17         4d19h
kube-controller-manager-csi1               1/1     Running             17         4d19h
kube-flannel-ds-amd64-64trm                1/1     Running             17         4d19h
kube-flannel-ds-amd64-vrbdk                1/1     Running             9          4d19h
kube-flannel-ds-amd64-wmk9m                1/1     Running             8          4d19h
kube-proxy-b8glc                           1/1     Running             8          4d19h
kube-proxy-g6wjm                           1/1     Running             14         4d19h
kube-proxy-gqdmx                           1/1     Running             6          4d19h
kube-scheduler-csi1                        1/1     Running             19         4d19h

The bad thing is that the following mistakes always occur. I'm not sure what the problem is. I make sure my NFS is up and running and can be mounted

Events:
  Type     Reason                  Age                   From                     Message
  ----     ------                  ----                  ----                     -------
  Normal   Scheduled               6m15s                 default-scheduler        Successfully assigned kube-system/alicloud-nas-controller-68d6c6f868-pdz7c to csi2
  Normal   SuccessfulAttachVolume  6m15s                 attachdetach-controller  AttachVolume.Attach succeeded for volume "nfs-client-root"
  Warning  FailedMount             118s (x2 over 4m12s)  kubelet, csi2            Unable to attach or mount volumes: unmounted volumes=[nfs-client-root], unattached volumes=[nfs-client-root default-token-69mpw]: timed out waiting for the condition
  Warning  FailedMount             114s (x10 over 6m7s)  kubelet, csi2            MountVolume.SetUp failed for volume "nfs-client-root" : mount command failed, status: Failure, reason: Nas, Mount Nfs fail with error: Failed to run cmd: mount -t nfs -o vers=4.1,noresvport 192.168.200.193:/test /data/kubelet/pods/b2ff715a-baa5-492b-b762-71df43215e77/volumes/alicloud~nas/nfs-client-root, with out: mount.nfs: Operation not permitted
, with error: exit status 32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant