Describe the bug
When having a backend with two virtual pools, one for LUKS and one for non LUKS, and a default without LUKS, we can create LUKS encrypted volumes. Then, we can create a snapshot of the volume. But when we try to import the volume with tridentctl import, the import itself succeeds, but the volume cannot be mounted to a pod due to the following error:
kubelet MountVolume.MountDevice failed for volume "pvc-72b02d9a-3198-47c2-8318-5a85a858036c" : rpc error: code = Internal desc = failed to stage volume: LUN trident_pvc_72b02d9a_3198_47c2_8318_5a85a858036c, device dm-11 already formatted with other filesystem: crypto_LUKS
Environment
Provide accurate information about the environment to help us reproduce the issue.
Describe the bug When having a backend with two virtual pools, one for LUKS and one for non LUKS, and a default without LUKS, we can create LUKS encrypted volumes. Then, we can create a snapshot of the volume. But when we try to import the volume with
tridentctl import
, the import itself succeeds, but the volume cannot be mounted to a pod due to the following error:Environment Provide accurate information about the environment to help us reproduce the issue.
To Reproduce
tridentctl import
Expected behavior The pod should be able to mount and read/write to the volume