Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira k8s instalation pvc error

yavuz yasin CELIK
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2023

When I want to install jira on k8s, I use longhorn for pv but jira can not mount pvc and it get below error. 

MountVolume.MountDevice failed for volume "pvc-1eae1c45-2c9f-41ab-a202-570c8ded8241" : rpc error: code = Internal desc = mount failed: exit status 32 Mounting command: /usr/local/sbin/nsmounter Mounting arguments: mount -t nfs -o vers=4.1,noresvport,intr,hard 10.110.26.245:/pvc-1eae1c45-2c9f-41ab-a202-570c8ded8241 /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/954f12c742ea0e2e998671411e080db124d2e1711ad4e2d00a5f69dd28a9c0ed/globalmount Output: mount: /var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/954f12c742ea0e2e998671411e080db124d2e1711ad4e2d00a5f69dd28a9c0ed/globalmount: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.

PV Configuraiton which is created automatcly by longhorn
Key - Value
dataLocality - disabled
fromBackup -
fsType - ext4
numberOfReplicas -3
share - true
staleReplicaTimeout - 30
storage.kubernetes.io/csiProvisionerIdentity - 1698392879692-8081-driver.longhorn.io

1 answer

1 accepted

1 vote
Answer accepted
yavuz yasin CELIK
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2023

after I install nfs-common each node. it worked fine.

apt-get install -y nfs-common
Reese
Contributor
October 27, 2023

Yep. Requirement for Longhorn nodes. Read the docs carefully. :)

Suggest an answer

Log in or Sign up to answer