-
Notifications
You must be signed in to change notification settings - Fork 555
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
unknown option `--setuser app' #4478
Comments
Can you try with |
yes |
fuse: unknown option And my host ceph-fuse version v14, cephcsi container ceph-fuse version is v18 |
And k8s version is 1.21,cephfs-csi is latest |
is it because of the reason of ',' ? -o nonempty --setuser appops --setgroup appops |
Nomal log: Error log: So , I strongly suspect that the problem is caused by "," |
maybe try without spaces and leading |
No, I tried you can have a look code, ceph-csi/internal/cephfs/mounter/fuse.go Line 50 in 3410687
|
And i think it's still a problem ---> "," |
The |
Warning FailedMount 2s kubelet MountVolume.MountDevice failed for volume "pvc-f1f5354a-42be-434e-8f05-ea1014f6025b" : rpc error: code = Internal desc = an error (exit status 33) occurred while running ceph-fuse args: [/var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-f1f5354a-42be-434e-8f05-ea1014f6025b/globalmount -m 10.18.112.6:6789,10.18.112.7:6789,10.18.112.8:6789 -c /etc/ceph/ceph.conf -n client.admin --keyfile=stripped -r /volumes/csi/csi-vol-12471e9c-9ca3-4ed3-a16b-88994c7cd756/4e7381ea-1b91-4147-9092-71b448d97213 -o nonempty,debug,setuser=appops --client_mds_namespace=yidunfs] stderr: 2024-03-07T14:24:26.938+0000 7f24ebff9580 -1 init, newargv = 0x557f5cf50120 newargc=17 Warning FailedMount 1s kubelet MountVolume.MountDevice failed for volume "pvc-bcc49106-8af5-4c16-9fc1-041a51553ada" : rpc error: code = Internal desc = an error (exit status 33) occurred while running ceph-fuse args: [/var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-bcc49106-8af5-4c16-9fc1-041a51553ada/globalmount -m 10.18.112.6:6789,10.18.112.7:6789,10.18.112.8:6789 -c /etc/ceph/ceph.conf -n client.admin --keyfile=stripped -r /volumes/csi/csi-vol-63904da8-2355-4cee-b84f-fc1ddd463cac/2015d940-9266-4c61-b192-3c5a30322560 -o nonempty,debug,setuser appops --client_mds_namespace=yidunfs] stderr: 2024-03-07T14:25:49.971+0000 7feaf8762580 -1 init, newargv = 0x56433e219120 newargc=17 look at it is , I tried, really can't |
that is unfortunate, it seems the I do not see a |
ceph-fuse -h usage: ceph-fuse mountpoint [options] general options: FUSE options: --conf/-c FILE read configuration from the given configuration file Aha,I checked the Can this parameter be supported? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation. |
pod error
Backgroup:
my pod run user is app, but my cephfs-csi created pvc storage is root
so ,I hope the running identity I created is a normal user app, not root, how to solve it
The text was updated successfully, but these errors were encountered: