MountVolume.MountDevice failed after Node restart

Hello together,

I hope I can find some help here:
Every once and then I stumble upon the issue, that a pod can not mount a longhorn volume (encrypted) after a node restart / update of a node. I receive the following message:

MountVolume.MountDevice failed for volume "pvc-592bb0e6-42b9-43f5-a3b2-638a5444479b" : rpc error: code = Internal desc = failed to execute: /usr/bin/nsenter [nsenter --mount=/host/proc/5038/ns/mnt --ipc=/host/proc/5038/ns/ipc cryptsetup luksOpen /dev/longhorn/pvc-592bb0e6-42b9-43f5-a3b2-638a5444479b pvc-592bb0e6-42b9-43f5-a3b2-638a5444479b -d /dev/stdin], output , stderr Cannot use device /dev/longhorn/pvc-592bb0e6-42b9-43f5-a3b2-638a5444479b which is in use (already mapped or mounted). : exit status 5

I already checked everywhere, but this volume is not used by any other pod / process.
I use 4 nodes with rke2 (v1.30.6+rke2r1) and longhorn (v1.7.2).
I already tried to close the cryptsetup with no success (cryptsetup close pvc-592bb0e6-42b9-43f5-a3b2-638a5444479b).
I also tried to restart the pod - no effect.

Has anybody discovered the same issue and can help me out?
Thank you in advance.

Would you check if it is caused by multipathd?

Thank you for the answer. As this is a sporadic issue, it is hard to test, but I will apply the solution of your link and check if it happens again.