ceph-csi/internal
Prasanna Kumar Kalever d18eaceab4 rbd: healer detect Kubernetes version for right StagingTargetPath
Kubernetes 1.24 and newer use a different path for staging the volume.
That means the CSI-driver is requested to mount the volume at an other
location, compared to previous versions of Kubernetes. CSI-drivers
implementing the volumeHealer, must receive the correct path, otherwise
the after a nodeplugin restart the NBD mounts will bailout attempting
to NodeStageVolume() call and return an error.

See-also: kubernetes/kubernetes#107065

Fixes: #3176
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit 1da446d2f2)
2022-06-24 16:16:01 +00:00
..
cephfs cephfs: skip NetNamespaceFilePath if the volume is pre-provisioned 2022-06-03 12:47:27 +00:00
controller rbd: use leases for leader election 2022-04-15 10:24:19 +00:00
csi-addons rbd: return unimplemented error for block-mode reclaimspace req 2022-03-03 19:00:49 +00:00
csi-common rbd: remove unimplemented responses for node operations 2022-03-16 15:27:48 +00:00
journal journal: add StoreAttribute/FetchAttribute 2022-03-28 11:23:17 +00:00
kms rbd: create token and use it for vault SA 2022-06-17 14:10:18 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs nfs: delete the CephFS volume when the export is already removed 2022-05-05 03:27:30 +00:00
rbd rbd: healer detect Kubernetes version for right StagingTargetPath 2022-06-24 16:16:01 +00:00
util rbd: create token and use it for vault SA 2022-06-17 14:10:18 +00:00