-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
workspaces which cannot be scheduled to a cluster get stuck in Pending #11397
Comments
note: this may not be a problem with ws-manager, in hindsight, it might be a problem on the webapp side, but needs work to confirm. |
Similar to #11673. |
No, the #11673 is to make a retry within 30 mins (we wait for the workspace pod to be running with 7 mins timeout). The good news is the workspace pod be removed after 30 mins, and the bad news is the dashboard displays the workspace in a Pending state. |
I believe Pending is a phase that indicates webapp has not selected a cluster (yet) for the workspace to land on. @geropl reassigning for now. wdyt? |
👋 @geropl hey, we had to do some workspace clean-up in the database last week when decommissioning to |
@kylos101 Done, set to next week. |
Linked to: #6770 |
Bug description
Workspaces which cannot be scheduled to a cluster get stuck in Pending.
Steps to reproduce
In a preview environment,
kubectl cordon
the node. Try starting a workspace. It'll stay stuck in Pending for-ev-er!Workspace affected
n/a
Expected behavior
The workspace should fail, and land in a permanent Failed phase
Example repository
n/a
Anything else?
This becomes a problem when you're trying to delete a cluster, because
ws-manager-bridge
reports that there are still active workspaces in the database for the cluster, even though there are no workspace pods in the governed workspace cluster.This prevented the delete of
us53
(which was empty, and had no workspace clusters), until we ran the following queries:The text was updated successfully, but these errors were encountered: