chectl server:delete does not delete CheManager #19758
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
Describe the bug
chectl server:delete
does not delete CheManager, which results in some leftovers indevworkspace-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
Steps to reproduce
chectl server:deploy --platform=openshift --workspace-engine=dev-workspace
chectl server:delete
devworkspace-che
namespacekubectl get deployments -n devworkspace-che
-> deployment still therekubectl get pods -n devworkspace-che
-> gateway pod still therekubectl get chemanager -n devworkspace-che
-> chemanager instance still thereExpected behavior
No leftovers left after
server:delete
. I believe that chectl has to deleteCheManager
first, in similar way how it deletesCheCluster
. Only when all CheManagers are removed, continue with delete process.Runtime
oc version
)Screenshots
Installation method
Environment
Eclipse Che Logs
Additional context
The text was updated successfully, but these errors were encountered: