Skip to content

Bug: Change Uninstall process of cli - sometimes it fails during controller uninstallation  #58

@narmidm

Description

@narmidm

📜 Description

The current uninstallation process for the CLI sometimes encounters failures specifically during the uninstallation of the controller component. This issue is causing inconvenience and potential data inconsistencies for users attempting to remove the Kubeslice from their systems.

👟 Reproduction steps

kubeslice-cli uninstall -c topology.yaml

👍 Expected behavior

✔ Successfully uninstalled KubeSlice Controller

👎 Actual Behavior

Failed to uninstall

Uninstalling KubeSlice Controller...
🏃 Running command: /home/linuxbrew/.linuxbrew/bin/helm --kube-context kind-controller --kubeconfig .kube/config uninstall kubeslice-controller --namespace kubeslice-controller
❌ Failed to run command
Output:
Error: Error: 1 error occurred:
* timed out waiting for the condition

🐚 Relevant log output

Uninstalling KubeSlice Controller...
🏃 Running command: /home/linuxbrew/.linuxbrew/bin/helm --kube-context kind-controller --kubeconfig .kube/config uninstall kubeslice-controller --namespace kubeslice-controller
❌ Failed to run command
Output:
Error: Error: 1 error occurred:
        * timed out waiting for the condition

Version

None

🖥️ What operating system are you seeing the problem on?

Windows

✅ Proposed Solution

first, we can delete crd to trigger the worker uninstallation then remove the controller form the system.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions