Multi-Attach error for volume "pvc-xxxxxxxxx-yyyy-zzzz-nnnn-726db97dcac5" when creating a new workspace in devspaces, volume is already used by another workspace
Issue
- Error mounting the persistent volume when creating a new workspace. We can see in the events at creating a workspace in openshift-devspaces namespace:
oc get events -n openshift-devspaces
...
53s Warning FailedAttachVolume pod/workspace09ce89ed92d442d8-659b99bfbf-4bkcm Multi-Attach error for volume "pvc-xxxxxxxxx-yyyy-zzzz-nnnn-726db97dcac5" Volume is already used by pod(s) workspace930c52dc225a40cf-7964577557-stdsg
...
- this multi-attach error is because the volume is RXO. See root cause section.
Environment
- Red Hat Openshift Container Platform 4.X
- Red Hat OpenShift Dev Spaces 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.