Change default pvcStrategy using chectl with operator #16007
Labels
area/chectl
Issues related to chectl, the CLI of Che
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
Describe the bug
Che installed by chectl using the operator in default configuration uses
pvcStrategy: common
, but the PV has access mode set toReadWriteOnce
. This combination results in problems when multiple workspaces are started. It can happen that one workspace starts on one node, another workspace starts in another node - and then, because of ReadWriteOnce access, only the first one can access the PV. The solution could be to change the defaultpvcStrategy
fromcommon
toper-workspace
.Che version
Steps to reproduce
chectl server:start -a operator -p openshift
Expected behavior
From time to time workspace starts, but usually, it fails with the message
Multi-Attach error for volume <pvc> Volume is already used by pod(s) <pod_id>
.Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Installation method
The text was updated successfully, but these errors were encountered: