-
Notifications
You must be signed in to change notification settings - Fork 559
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
cephfs static pv, rootPath is ignored by cephfs csi #1119
Comments
@agarwal-mudit can you please take a look at it? |
Checking, @md-shabbir need some information about the setup:
Not sure why it is not showing, cephfs plugin logs show that it was mounted properly:
|
Its working for me:
Have attached pvc/pv/pod definition, only difference is that I am using rook-ceph secret but that has nothing to do with mount failure. And my cephfs plugin has similar logs as I have pasted earlier:
|
Yes @agarwal-mudit I was trying dynamic and static both on the same setup. I destroyed the cluster and brought back a new one. Now I am not able to reproduce the issue. However, I got another issue with static PV, now mount is failing.
I edited the secret
Edited:
After edit, it worked. I also tried with new secret, created with admin creds, and It worked too. So, the issue |
That's a known thing, static CephFS PV works with userID not adminID, ite mentioned here However, you can create your own secret with userID/userKey and reference it in PV definition or edit rook-csi-cephfs-node (as you mentioned in last post) and use that. |
closing this one as it's not an issue |
I followed this doc to create static cephfs pv.
I have created following pv and pvc:
Then I created a pod to consume the volume. When I list mounts then I could see the expected path was not mounted.
I was expecting the path
/volumes/testGroup/testSubVolume
has to be mounted.Note: I am using
rook-ceph.cephfs.csi.ceph.com
csi driver, however in doc it iscephfs.csi.ceph.com
.Environment details
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) :Ceph plugin logs attached
cephplugin.log
The text was updated successfully, but these errors were encountered: