-
Notifications
You must be signed in to change notification settings - Fork 528
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
failed to mount cephfs inside pod #3927
Comments
@dbenduga Delete and recreate cephfs sc too to remove debug option. Are you using cephcsi canary image? |
@Rakshith-R Yes, We are using cephcsi canary image. Stoarge class is created with debug mountOptions. Cephfs is getting mounted without any issue only on the pod schedule on particular node having this issue. We have cordoned problematic node and restart pod and pod started. Unable to find anything on that node. worker nodes are getting added using node pool and using same configuration and OS setting. |
@dbenduga |
@Rakshith-R is it safe to remove mountoptions from SC? Or shall update the Cephfs plugins daemon set and update image from canary to specific version |
@dbenduga ^ Sc.MountOptions should only contain options that acceptable to both This is a breaking change that will be in release 3.9. |
@Rakshith-R Thanks for your inputs :) apiVersion: storage.k8s.io/v1 - debug |
SC is immutable, you need to delete and recreate. |
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. |
Just in case someone needs to update all their PVs like I had to:
|
I had the same issue. |
Pod failed to run with below error. On other worker node cephfs getting mounted without any issue. Problem is with one worker node only.
[Wed Jun 21 16:00:45 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:00:46 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:00:49 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:00:51 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:00:55 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:01:03 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:01:20 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:01:52 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:02:56 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:04:58 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:07:00 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:09:02 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:11:04 2023] libceph: bad option at 'debug'
[Wed Jun 21 16:13:07 2023] libceph: bad option at 'debug'
Events:
Type Reason Age From Message
Normal SuccessfulAttachVolume 29s attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-3fb608ca-e402-4d64-b3f3-7d7b4c619a47"
Warning FailedMount 22s kubelet MountVolume.MountDevice failed for volume "pvc-3fb608ca-e402-4d64-b3f3-7d7b4c619a47" : rpc error: code = Internal desc = an error (exit status 32) occurred while running mount args: [-t ceph 10.x.xx:6789,10.x.x.x:6789,10.x.x.x:6789:/volumes/cephfs_data/csi-vol-b5a94d6a-191d-4083-ad70-37bee074ae53/5cd83e54-89c5-4214-8c71-6c91ff5bdd52 /var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-3fb608ca-e402-4d64-b3f3-7d7b4c619a47/globalmount -o name=admin,secretfile=/tmp/csi/keys/keyfile-2256350680,mds_namespace=cephfs,debug,_netdev] stderr: unable to get monitor info from DNS SRV with service name: ceph-mon
2023-06-21T15:17:02.442+0000 7fe8e3f060c0 -1 failed for service _ceph-mon._tcp
mount error 22 = Invalid argument
The text was updated successfully, but these errors were encountered: