You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the common PVC cleanup job fails and all workspaces are deleted, the workspace which had the failed PVC cleanup job will be stuck in an errored state and won't be removed.
How To Reproduce
First, ensure the common PVC cleanup job will fail by modifying the PVC cleanup job spec in cleanup.go:
Description
This issue was initially found by @amisevsk here.
If the common PVC cleanup job fails and all workspaces are deleted, the workspace which had the failed PVC cleanup job will be stuck in an errored state and won't be removed.
How To Reproduce
First, ensure the common PVC cleanup job will fail by modifying the PVC cleanup job spec in
cleanup.go
:Then do the following:
oc apply -f samples/theia-next.yaml
yq '.metadata.name="theia-next-2"' samples/theia-next.yaml | kubectl apply -f -
oc delete dw theia-next
oc delete dw --all
kubectl get devworkspace -n $NAMESPACE
(Thank you to @amisevsk for the instructions on how to reproduce)
Expected behavior
The workspaces which are in the error state (from the PVC cleanup job failing) should be removed automatically.
Additional context
This bug arose from #846 and will only be apparent when that PR is merged.
The text was updated successfully, but these errors were encountered: