Hi, I have deployed longhorn storageclass on a RKE...
# rke2
n
Hi, I have deployed longhorn storageclass on a RKE2 cluster and created a PV which is attached to one of the worker nodes. Now, the worker node deletion is stuck with the below resource busy error when I am trying to delete the worker node containing the longhorn volume,
+ rm -rf /var/lib/kubelet
rm: cannot remove '/var/lib/kubelet/plugins/kubernetes.io/csi/driver.longhorn.io/6b4db5540e47c3751c4283356ae5c4f436f3339fd0a234f690cb5104141bfd8e/globalmount': Device or resource busy
I have tried the following steps from my master node, • Drain the worker node • Delete the volumeattachments on the worker node • Delete the worker node from longhorn system But the node deletion is still expecting the longhorn volume path to be unmounted manually for uninterrupted node deletion. I don't want to find out the longhorn mount path manually on the worker node and then unmount it. So, please share me a standard procedure to unmount the longhorn path from worker node that I can automatically run during a worker node deletion.