ceph-csi/internal/rbd
Ilya Dryomov 64f3361ff4 rbd: enable mapping and unmapping from a network namespace
Make rbdplugin pod work in a non-initial network namespace (i.e. with
"hostNetwork: false") by skipping waiting for udev events when mapping
and unmapping images.  CSI use case is very simple: all that is needed
is a device node which is immediately fed to mkfs, so we should be able
to tolerate udev not being finished with the device just fine.

Fixes: #1323
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 04644c1d58)
2021-01-13 17:28:25 +00:00
..
clone.go cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
controllerserver.go cleanup: add a helper function storeImageID 2020-12-07 11:03:27 +00:00
driver.go rbd: add minsnapshotsonimage flag 2020-11-18 05:59:20 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
nodeserver_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
nodeserver.go rbd: volJournal.Connect() return wrongly pushed to caller 2020-10-20 12:45:51 +00:00
rbd_attach.go rbd: enable mapping and unmapping from a network namespace 2021-01-13 17:28:25 +00:00
rbd_journal.go cleanup: add a helper function storeImageID 2020-12-07 11:03:27 +00:00
rbd_util_test.go cleanup: Remove support for Delete and Unmounting v1.1.0 PVC 2020-07-10 16:07:13 +00:00
rbd_util.go cleanup: add a helper function storeImageID 2020-12-07 11:03:27 +00:00
snapshot.go rbd: replace klog with util logger in snapshot.go 2020-08-19 14:38:12 +00:00