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

Workspace is not deleted when another workspace is running in the same user namespace #23337

Open
artaleks9 opened this issue Feb 10, 2025 · 5 comments · May be fixed by eclipse-che/che-dashboard#1318
Assignees
Labels
area/factory/dashboard Issues related to factories frontend (che user dashboard side) kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. team/A This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che

Comments

@artaleks9
Copy link
Contributor

artaleks9 commented Feb 10, 2025

Describe the bug

Deleting workspace does not work properly, when there is running another workspace in the same user namespace.
Workaround exists:
need to stop running workspace, then after a bit delay, the deleting workspace will be deleted.

Che version

next (development version)

Steps to reproduce

  • deploy Che
  • configure CheCluster to run more one workspace
spec:
  devEnvironments:
    maxNumberOfRunningWorkspacesPerUser: 10000
  • run two workspaces from Dashbord samples
  • try to delete a workspace

Expected behavior

Running workspace can be deleted

Runtime

OpenShift

Screenshots

Image
Image
Image

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

Additional context

No response

@artaleks9 artaleks9 added area/factory/dashboard Issues related to factories frontend (che user dashboard side) kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. team/A This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che labels Feb 10, 2025
@olexii4 olexii4 linked a pull request Feb 17, 2025 that will close this issue
@ibuziuk ibuziuk added severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. and removed severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. severity/P1 Has a major impact to usage or development of the system. labels Feb 18, 2025
@ibuziuk
Copy link
Member

ibuziuk commented Feb 18, 2025

@artaleks9 marking as blocker given that this is a regression
maybe you have details about Eclipse Che version / commit when this bug started to happen?

@ibuziuk
Copy link
Member

ibuziuk commented Feb 18, 2025

@artaleks9 also could you please confirm that the issue is reproducible for both per-user and per-workspace

@ibuziuk ibuziuk moved this from 📋 Backlog to Unplanned Tasks in Eclipse Che Team A Backlog Feb 18, 2025
@dmytro-ndp
Copy link
Contributor

dmytro-ndp commented Feb 18, 2025

I have just successfully removed one of the running workspaces on the Che Dogfooding instance, observing a delay of a 14 seconds, which looks acceptable, IMHO.

Screencast: https://github.com/user-attachments/assets/b0b90bb3-8ff9-423a-af42-147d791b4983

@ibuziuk ibuziuk added severity/P1 Has a major impact to usage or development of the system. and removed severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. labels Feb 19, 2025
@ibuziuk
Copy link
Member

ibuziuk commented Feb 19, 2025

@dmytro-ndp @artaleks9 moving back to P1 since my understanding is that the issue is not reproducible with per-workspace. Regarding per-user I suspect that problem might have always been there, when there is a single PVC with RWO and multiple pods are truing to attach

@artaleks9
Copy link
Contributor Author

artaleks9 commented Feb 20, 2025

@ibuziuk Unfortunately, it's reproduced on Che-next even with per-workspace
See the screenshot and screencast:

Che-ws-delete-bug-per-ws.mp4

Image
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/factory/dashboard Issues related to factories frontend (che user dashboard side) kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. team/A This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che
Projects
Status: Unplanned Tasks
Development

Successfully merging a pull request may close this issue.

4 participants