Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Acorn won't uninstall if the controller is in an error state #1909

Closed
thedadams opened this issue Jul 10, 2023 · 1 comment
Closed

Acorn won't uninstall if the controller is in an error state #1909

thedadams opened this issue Jul 10, 2023 · 1 comment
Assignees
Milestone

Comments

@thedadams
Copy link
Contributor

If you have any project and/or an app running with a delete job and the controller is erroring for some reason, then it is not possible to uninstall the runtime. The uninstall will hang because the CRDs are not able to be cleaned up.

To reproduce:

  1. Deploy runtime and deploy an app in the acorn project with a delete job.
  2. Scale the controller to 0 with kubectl -n acorn-system scale deployment acorn-controller --replicas 0.
  3. Uninstall the runtime with acorn uninstall -af.

The uninstall will hang. This should not happen.

@thedadams thedadams self-assigned this Jul 10, 2023
@thedadams thedadams added this to the v0.8.0 milestone Jul 10, 2023
thedadams added a commit that referenced this issue Jul 11, 2023
Ensure uninstall even if the runtime is unable to process objects (#1909)
@sangee2004
Copy link
Contributor

sangee2004 commented Jul 17, 2023

Tested with acorn version - acorn version v0.8.0-alpha7-98-gbb130866+bb130866

  1. Deployed runtime and deploy an app in the acorn project with a delete job.
  2. Scale the controller to 0 with kubectl -n acorn-system scale deployment acorn-controller --replicas 0.
  3. Uninstall the runtime with acorn uninstall -af

Acorn uninstall succeeds.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants