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

chectl server:delete does not delete CheManager #19758

Closed
4 tasks done
sparkoo opened this issue May 6, 2021 · 0 comments
Closed
4 tasks done

chectl server:delete does not delete CheManager #19758

sparkoo opened this issue May 6, 2021 · 0 comments
Assignees
Labels
area/chectl Issues related to chectl, the CLI of Che 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.
Milestone

Comments

@sparkoo
Copy link
Member

sparkoo commented May 6, 2021

Describe the bug

chectl server:delete does not delete CheManager, which results in some leftovers in devworkspace-che namespace, namely gateway deployment and pod. This blocks manual namespace delete. Also manual delete of CheManager instance is not easy, because it has devworkspace-che finalizer, which no longer exists.

Che version

  • nightly

Steps to reproduce

  1. install Che with devworkspace engine support chectl server:deploy --platform=openshift --workspace-engine=dev-workspace
  2. uninstall Che chectl server:delete
  3. check devworkspace-che namespace
    1. kubectl get deployments -n devworkspace-che -> deployment still there
    2. kubectl get pods -n devworkspace-che -> gateway pod still there
    3. kubectl get chemanager -n devworkspace-che -> chemanager instance still there

Expected behavior

No leftovers left after server:delete. I believe that chectl has to delete CheManager first, in similar way how it deletes CheCluster. Only when all CheManagers are removed, continue with delete process.

Runtime

  • Openshift (include output of oc version)

Screenshots

Installation method

  • chectl

Environment

  • RHPDS

Eclipse Che Logs

Additional context

@sparkoo sparkoo added kind/bug Outline of a bug - must adhere to the bug report template. area/chectl Issues related to chectl, the CLI of Che team/deploy labels May 6, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label May 6, 2021
@tolusha tolusha added severity/P1 Has a major impact to usage or development of the system. and removed team/deploy labels May 6, 2021
@yhontyk yhontyk removed the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label May 7, 2021
@tolusha tolusha mentioned this issue May 24, 2021
47 tasks
@flacatus flacatus self-assigned this May 24, 2021
@flacatus flacatus closed this as completed Jun 1, 2021
@tolusha tolusha added this to the 7.32 milestone Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che 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.
Projects
None yet
Development

No branches or pull requests

5 participants