Skip to content
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

[PVC] ws-manager event workers hang forever once over 100 VolumeSnapshots and ws-manager restart #13007

Closed
Tracked by #7901
jenting opened this issue Sep 15, 2022 · 0 comments · Fixed by #12995
Closed
Tracked by #7901
Assignees
Labels
component: ws-manager team: workspace Issue belongs to the Workspace team type: bug Something isn't working

Comments

@jenting
Copy link
Contributor

jenting commented Sep 15, 2022

Bug description

The ws-manager contains 100 workers to handle the events from the workspace pod and volume snapshot.
If there are over 100 VolumeSnapshots are ready to the ws-manager be restart, the ws-manager can't handle any pod and volume snapshot event because all the workers hang forever.

Steps to reproduce

  • Create over 100 VolumeSnashots.
  • Try to open the workspace, the workspace pod can't be up and with Error state, and the workspace pod log is
    {"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","error":"socket did not appear before context was canceled: errors of connect to ws-daemon","level":"error","message":"cannot connect to daemon from ring0","ring":0,"serviceContext":{"service":"workspacekit","version":"commit-8d009263e19017f630e6f12436d3aa9186b8355c"},"severity":"ERROR","time":"2022-09-13T06:33:39Z","workspaceId":"gitpodio-empty-egk6yo5d3ix"}
    {"level":"info","message":"ring0 stopped","ring":0,"serviceContext":{"service":"workspacekit","version":"commit-8d009263e19017f630e6f12436d3aa9186b8355c"},"severity":"INFO","time":"2022-09-13T06:33:39Z","workspaceId":"gitpodio-empty-egk6yo5d3ix"}

Workspace affected

No response

Expected behavior

The workspace can be started.

Example repository

No response

Anything else?

#7901

https://gitpod.slack.com/archives/C04245JPHKL/p1663223540516549

@jenting jenting added the type: bug Something isn't working label Sep 15, 2022
@jenting jenting added component: ws-manager team: workspace Issue belongs to the Workspace team labels Sep 15, 2022
@jenting jenting self-assigned this Sep 15, 2022
@jenting jenting moved this to In Progress in 🌌 Workspace Team Sep 15, 2022
Repository owner moved this from In Progress to Awaiting Deployment in 🌌 Workspace Team Sep 15, 2022
@sagor999 sagor999 moved this from Awaiting Deployment to In Validation in 🌌 Workspace Team Sep 21, 2022
@jenting jenting moved this from In Validation to Done in 🌌 Workspace Team Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ws-manager team: workspace Issue belongs to the Workspace team type: bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant