Azure / Azure/aksArc

[BUG] Uninstall-AKSHCI will remove Clustered VM roles named ca-

Open
#200 0 comments 0 reactions 1 assignee Claimed by @madhanrm View on GitHub
Bug
Dominant language
PowerShell
Stars
118
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Uninstall-AKSHCI will remove Clustered VM roles.

The cluster was previously uninstalled, and I ran the command a second time.

PS C:\> uninstall-akshci -Verbose
WARNING: Uninstall-AksHci will delete AKS on Azure Stack HCI. Run command 'Get-Help Uninstall-AksHci' for more
information

Confirm
Are you sure you want to perform this action?
Performing the operation "Uninstall-AksHci" on target "Azure Stack HCI deployment".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
VERBOSE: [07/28/2022 13:17:11] [AksHci] Initializing environment
VERBOSE: [07/28/2022 13:17:11] [AksHci] Importing Configuration
VERBOSE: Performing the operation "Remove-ClusterGroup" on target "ca-web".
VERBOSE: Removing group 'ca-web'.
VERBOSE: [07/28/2022 13:17:36] [AksHci] Saving Configuration for Module AksHci to configuration file
VERBOSE: [07/28/2022 13:17:36] [AksHci] Resetting Configuration.
VERBOSE: [07/28/2022 13:17:36] [AksHci] Resetting Configuration Directory.
VERBOSE: Connecting to cluster on local computer HCC1N1.
VERBOSE: Connecting to cluster on local computer HCC1N1.
VERBOSE: [07/28/2022 13:17:38] [AksHci] Done

**Expected behavior**
Do not remove unrelated objects from the Windows Failover Cluster.

**Environment (please complete the following information):**
- OS: Server 2019 Datacenter

The cluster isn't installed, so there's no logs it can gather.

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.