CNS RWM on Vsphere 7.0-VSAN fails with nfsutils
search cancel

CNS RWM on Vsphere 7.0-VSAN fails with nfsutils

book

Article ID: 316946

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated (TKGi)

Issue/Introduction

Symptoms:
  • Attaching a PV  which is a  VSAN backed File server will fail to mount on the POD
  • Pod will not attach the PV while using TKG 1.1.2 with CSI 2.0 
  • VSAN File server is used to create the NFS share.
  • You see the following in the CSI logs on the worker node:
Error: : Bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.\n"

2020-07-08T21:53:44.567819814Z stderr F time="2020-07-08T21:53:44Z" level=error msg="mount Failed" args="-t nfs 10.105.56.190:/vsanfs/tkg-nfs /var/lib/kubelet/pods/6bdf6ec9-c479-4dde-8235-066256d7c0d8/volumes/kubernetes.io~csi/pv-test/mount" cmd=mount error="exit status 32" output="mount: /var/lib/kubelet/pods/6bdf6ec9-c479-4dde-8235-066256d7c0d8/volumes/kubernetes.io~csi/pv-test/mount: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.\n"


Environment

VMware Tanzu Kubernetes Grid 1.x

Resolution

This issue is resolved in TKG 1.1.3.