Azure / Azure/aksArc

[BUG] No clean / complete uninstall with Disable-AksHciArcConnection

Open
#238 4 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
PowerShell
Stars
118
Forks
63
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
After connecting a cluster to Azure Arc with `Enable-AksHciArcConnection -name ` one pod does not complete:
![image](https://user-images.githubusercontent.com/6702311/194672562-32dd6332-47c2-4385-95ae-710c5b6f9857.png)

I've tried to solve the issue by re-installing with `Disable-AksHciArcConnection` followed by `Enable-AksHciArcConnection`. This fails with a very long error message and by scrolling through it I found:

_WARNING: cli.azext_connectedk8s._utils: The helm release 'azure-arc' is present but the azure-arc namespace/configmap
is missing. Please run 'helm delete azure-arc --no-hooks' to cleanup the release before onboarding the cluster again._

![image](https://user-images.githubusercontent.com/6702311/194672968-a3d88d73-94f9-49fe-85cd-3af3285c5247.png)
After doing this `Enable-AksHciArcConnection` finished successful without any issue and all pods a green in the azure-arc namespace.

**To Reproduce**
Enable the Arc connection, disable it and enable it again.

**Expected behavior**
Disable Arc connection should do a clean uninstall.

**Screenshots**

**Environment (please complete the following information):**
- Version 1.1.39
- AKS-HCI Version August 2022
- Kubernetes Version 1.23.5

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.