Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

Mount failed:E [glusterfsd.c:795:gf_remember_backup_volfile_server] 0-glusterfs: failed to set volfile server: File exists #641

Open
minhnnhat opened this issue Feb 10, 2020 · 5 comments

Comments

@minhnnhat
Copy link

Hi all, i am facing some trouble when following this tutorial below:
https://medium.com/searce/glusterfs-dynamic-provisioning-using-heketi-as-external-storage-with-gke-bd9af17434e5
Everything work fine until i create NFS provisioner using that glusterfs storageclass.
PVC is bound but the pods is pending at containercreating state with the following error :

MountVolume.SetUp failed for volume "pvc-c5467b40-89d9-481a-ba71-3e04d3c967de" : mount failed: mount failed: exit status 1 Mounting command: mount Mounting arguments: -t glusterfs -o auto_unmount,backup-volfile-servers=x.x.x.168:x.X.x.169:x.x.x.171,log-file=/var/lib/kubelet/plugins/kubernetes.io/glusterfs/pvc-c5467b40-89d9-481a-ba71-3e04d3c967de/nfs-provisioner-0-glusterfs.log,log-level=ERROR x.X.x.171:vol_41c950a0380cb8f7ed10e4e16a25274a /var/lib/kubelet/pods/2fd2b171-cc90-4e9c-84fe-65208fc60790/volumes/kubernetes.io~glusterfs/pvc-c5467b40-89d9-481a-ba71-3e04d3c967de Output: [2020-02-10 02:24:35.257276] E [glusterfsd.c:795:gf_remember_backup_volfile_server] 0-glusterfs: failed to set volfile server: File exists Mount failed. Please check the log file for more details. , the following error information was pulled from the glusterfs log to help diagnose this issue: /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f)[0x7f212f166d0f] ---------

About the environment:
Heketi version v8.0.0
Rancher: 2.3.5
Kubernetes: v1.17.2
Glusterfs: 7.2

Thank for your help !!!

@eramirez51
Copy link

I am encountering this problem too

@minhnnhat
Copy link
Author

minhnnhat commented Feb 14, 2020

I am encountering this problem too

I've moved to use Rook instead. You may want to take a look at it !

@eramirez51
Copy link

I am encountering this problem too

I've moved to use Rook instead. You may want to take a look at it !

Thanks! Will take a look

@aravindavk
Copy link
Member

Another alternative is https://kadalu.io, Lightweight solution to provide storage for applications running in Kubernetes based on GlusterFS. Kadalu.io will be v1.0 in couple of months, please provide feedback and open issues if any feature missing for your usecase.

@robojones
Copy link

@eramirez51 @minhnnhat have any of you been able to solve the problem?

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

No branches or pull requests

4 participants