I have some longhorn volumes that are detached, but return a robustness of 'unknown' this hangs the draining phase.
The pvc at the moment is hte one for rancher-vcluster which i have disabled during the upgrade.
++ kubectl get
volumes.longhorn.io/pvc-ed112faa-fc30-41f3-8efe-f3bf6c680053 -n longhorn-system -o 'jsonpath={.status.robustness}'
+ robustness=unknown
+ '[' unknown = healthy ']'
+ '[' -f /tmp/skip-pvc-ed112faa-fc30-41f3-8efe-f3bf6c680053 ']'
+ echo 'Waiting for volume pvc-ed112faa-fc30-41f3-8efe-f3bf6c680053 to be healthy...'
+ sleep 10
Waiting for volume pvc-ed112faa-fc30-41f3-8efe-f3bf6c680053 to be healthy...