-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard: Can't delete workspaces which failed to be created due to lack of memory on pod #8274
Comments
I think this is for @gitpod-io/engineering-webapp to handle this case appropriately. |
@felladrin How long did you wait between 1) workspace failed and 2) try to delete?
@sagor999 What did you do? Manipulate the DB? Or remove the pod from the k8s control plane? 🤔 |
It failed on Feb 16th at 11:15 AM, and I tried to delete it on Feb 17th at 12:38 PM, so a difference >25h.
I believe @sagor999 was talking about removing the tag "team: workspace" (which I added when I created the issue) (and adding "team: webapp" in place of it) on this issue. Cause the workspaces records are still listed in my dashboard: |
Ok. We'll need to investigate. 👍 |
Scheduled for investigation |
@geropl I believe this happens when workspace never had a chance to actually start. Due to this out of memory error, pod was scheduled and ws-manager considered it to be started. But it was never actually started. |
💡 That is indeed the case: So far the (implicit) contract has been that once the |
This might be more common with an upcoming workspace PR (#9438 ), so we should prioritize this. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
this is also happened to me. |
Is there any workaround here? Kind of delete with notice? I experienced this yesterday |
Bug description
After trying to open https://github.com/gitpod-io/gitpod repository on Gitpod and failing due to lack of memory, the workspaces that failed to open (it failed two times, as you can see in the screenshot below) got stuck in the dashboard, with “Failed” status. Then when I click the Delete Workspace button, it's not deleting them (triggering the error in the screenshot below).
Steps to reproduce
Workspaces affected
Note: Both workspaces were automatically deleted by the garbage collector on 2022-03-02. [1]
Expected behavior
The workspace should disappear from my dashboard after clicking the Delete Workspace button.
Example repository
I can't share the workspace either. As it failed to be created, when I click the Share button, it triggers the following error:
Anything else?
No response
The text was updated successfully, but these errors were encountered: