"Device already mounted at /var/lib/kubelet/pods" with a shared=yes ZFS dataset #497
Labels
kind/bug
Categorizes issue or PR as related to a bug
triage/needs-information
Indicates an issue needs more information in order to work on it
What steps did you take and what happened:
I can't get two pods running on the same node to access to one given dataset.
I've been reading all the issues and docs I can about sharing a dataset between pods.
But I can't get out of
MountVolume.SetUp failed for volume "consume-pv" : rpc error: code = Internal desc = rpc error: code = Internal desc = verifyMount: device already mounted at [/var/lib/k0s/kubelet/pods/7f3fc9cd-5e94-4d32-9e59-3ae0caa41fc4/volumes/kubernetes.io~csi/import-pv/mount /host/var/lib/k0s/kubelet/pods/7f3fc9cd-5e94-4d32-9e59-3ae0caa41fc4/volumes/kubernetes.io~csi/import-pv/mount]
I don't get either the shared-yes param in my ZFSVolume as stated #152 (comment)
Here are my curated resources :
What did you expect to happen:
I'm expecting that the two pods share the same ZFS dataset to get only one destination to put my files (the two applications have dicern concerns depending on the files put in It).
Environment:
zfs-driver:2.4.0
kubectl version
):k0s v1.28.4+k0s.0
Odroid HC4
/etc/os-release
):Armbian 23.11.1 bookworm
6.1.63-current-meson64
Thanks in advance for providing me any clue about this..
The text was updated successfully, but these errors were encountered: