This message was deleted.
# longhorn-storage
a
This message was deleted.
q
the application is Z2JH (Zero to Jupyter Hub). Kubernetes is a microk8s distribution. CSI is longhorn.
The error is for a PV backed by longhorn used by the Jupyter single user pod. PV/PVC are assigned to each user and kept when pods are not running. Those pods are automatically terminated after 8h of not being used. The volume should then get detached properly. It is reattached the next time the same user restarts his/her Jupyter server.
in the past, this error was related to multipath not being configured properly on the longhorn nodes. But this is fixed.
the crazy part is that it happens a lot with one particular volume of a specific user. She has the multi attachment error at least once a week and often more.
It's being driving me crazy, not finding much in the logs to help me
b
The error you've encountered originates from a propagation message triggered by this line during an attempt to save the detach error to a VA that no longer exists. The actual detachment error should look like this. I am not sure if this can be fixed by Longhorn, as it appears to be related to the csi-attacher. I suggest you can create an issue with relevant context, reproducing step and support-bundle so we can analyse the issue further.
q
thanks for the answer and the pointers to the source code! I'll dig even more in the logs.