-
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
[ws-manager] workspaces failed to start #10315
Comments
Thanks for the heads up, we initially addressed in generation 44. Therefore, there's still some work to do, scheduled. |
I believe this is due to failure to make prior backup, like when ws-daemon crashes. |
@sagor999 the example workspace ids provided are from fresh starts (of a project with prebuilds) that failed and a few minutes later, trying again, started working. |
which was due to redis\ipfs\cache issues that we saw before.
|
@atduarte moving back into "scheduled" for now. Feel free to close this as well, as I think it might have been resolved since then. |
@sagor999 I'm sorry I missed this.
It was a fresh workspace start, that has a prebuild. I will close it |
We're still seeing this issue, in the saas on gen54, and it's been reported in self-hosted given the May release.
Scheduling |
Here is what happens: First workspace failed with:
Then one minute later, second workspace is started (I assume webapp is retrying here):
This is because of this check (I suspect): gitpod/components/server/src/workspace/workspace-starter.ts Lines 274 to 276 in 0945a99
That for some reason I think might be saying that it has a validBackup, when in reality it doesn't. Probably due to this: https://console.cloud.google.com/logs/query;cursorTimestamp=2022-07-14T10:00:52.387485Z;query=%22322c0ace-3122-4798-b180-145f122a254c%22%0Atimestamp%3D%222022-07-14T10:00:52.322Z%22%0AinsertId%3D%220cy55592tyj86y6s%22;timeRange=2022-07-14T00:32:00.000Z%2F2022-07-14T22:16:00.000Z?project=gitpod-191109 We received an empty "failed" condition overriding an existing one!
Upon further investigation, I believe this is what "clears up" prior failed state: gitpod/components/ws-manager/pkg/manager/status.go Lines 349 to 357 in 0945a99
PR incoming soon. |
need to redo the fix, as #11419 was reverted due to introduced bug. |
Bug description
Tried opening workspaces for a side-project and it failed to start at least two times.
Two errors I didn't have time to read showed up in quick succession, and the workspace stopped before it actually started. When I clicked in the "Open Workspace" button that showed up in the "Stopped" page, I got the following error: "cannot initialize workspace: cannot initialize workspace: no backup found".
Steps to reproduce
It was happening for every workspace started, but not anymore.
Workspace affected
atduarte-revispt-960nm6i1khz, atduarte-revispt-jsh4ofkpnyz
Expected behavior
No response
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: