ceph-csi/internal
Prasanna Kumar Kalever 84ec797dda rbd: detect krbd features in runtime and fallback to nbd
Currently, we recognize and warn for the provided image features based on
our prior intelligence at ceph-csi (i.e based on supportedFeatures map
and validateImageFeatures) at image/PV creation time. It might be very
much possible that the cluster is heterogeneous i.e. the PV creation and
application container might both be on different nodes with different
kernel versions (krbd driver versions).

This PR adds a mechanism to check for the supported krbd features during
mount time, if the krbd driver doesn't have the specified image feature
then it will fall back to rbd-nbd mounter.

Fixes: #478
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-11-01 08:17:36 +00:00
..
cephfs cleanup: move mount functions to new pkg 2021-09-23 06:39:37 +00:00
controller cleanup: simplify checkStaticVolume function and remove unwanted vars 2021-09-07 12:51:30 +00:00
csi-common util: NodeGetVolumeStatsResponse.Usage may not contain negative values 2021-10-20 07:18:48 +00:00
journal cleanup: replace parentName to snapParentName in checkReservation 2021-09-14 05:32:54 +00:00
kms util: set defaults for Vault config before converting 2021-10-28 14:41:53 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
rbd rbd: detect krbd features in runtime and fallback to nbd 2021-11-01 08:17:36 +00:00
util rbd: add unittests for IsMigrationSecret and ParseAndSetSecretMapFromMigSecret 2021-10-27 18:35:00 +00:00