ceph-csi/internal
Prasanna Kumar Kalever 9e55f015de rbd: avoid supplying map options on unmap
Thanks to the random unmap failure on my local machine:

I0901 17:08:37.841890 2617035 cephcmds.go:55] ID: 11 Req-ID:
0001-0024-fed5480a-f00f-417a-a51d-31d8a8144c03-0000000000000003-024983f3-0b47-11ec-8fcb-e671f0b9f58e
an error (exit status 22) occurred while running rbd args: [unmap
rbd-pool/csi-vol-024983f3-0b47-11ec-8fcb-e671f0b9f58e --device-type nbd
--options try-netlink --options reattach-timeout=300 --options
io-timeout=0]

Noticed the map args are also getting passed to/as unmap args, which is not
correct. We have separate things for mapOptions and unmapOptions. This PR
makes sure that the map args are not passed at the time of unmap.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-09-06 15:59:30 +00:00
..
cephfs cephfs: remove explicit size setting of cloned volume 2021-09-01 09:32:29 +00:00
controller cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
csi-common cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
journal cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
kms util: NewK8sClient() should not panic on non-Kubernetes clusters 2021-09-02 11:22:14 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
rbd rbd: avoid supplying map options on unmap 2021-09-06 15:59:30 +00:00
util util: create ceph configuration files if not present 2021-09-03 14:14:43 +00:00