Workspace PVCs aren't deleted when pods get created in one namespace #9431
Labels
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.
Description
When workspace objects are created in one shared namespace (either in a namespace with server itself or their own dedicated namespace), workspace deletion does not delete associated pvcs. As a result, each deleted workspace leaves 2 pvcs hanging out there. They are bound to PVs, thus making them unavailable for new workspaces.
Reproduction Steps
Deploy Che to OpenShift with
CHE_INFRA_OPENSHIFT_PROJECT=eclipse-che
or any other namespaceCreate and start a workspace
Stop & delete a workspace.
PVCs have not been deleted.
I've run into a problem with lack of pvs when testing https://github.com/eclipse/che/tree/templates where templates define the following behavior:
QA tests failed at some point, because workspaces are created and deleted during QA cycle, and in a short while OpenShift cluster was unable to satisfy more claims.
The text was updated successfully, but these errors were encountered: