Azure / aksArc

# Welcome to the Azure Kubernetes Service on Azure Stack HCI repo This is where the AKS-HCI team will track features and issues with AKS-HCI. We will monitor this repo in order to engage with our community and discuss questions, customer scenarios, or feature requests. Checkout our projects tab to see the roadmap for AKS-HCI!
MIT License
109 stars 45 forks source link

[BUG] Uninstall-AksHci does not clean up appliance load balancer VIP correctly #299

Closed shobhit-kumar-code closed 1 year ago

shobhit-kumar-code commented 1 year ago

Describe the bug While creating an AKS cluster on azure stack HCI, the install-AksHci failed at first go. As per the doc, i ran Uninstall-AksHci and then Install-AksHci. However, I get an error saying: image

To Reproduce Steps to reproduce the behavior: Run the following commands:

$vnet1 = New-AksHciNetworkSetting -name vnet1 -vSwitchName "ConvergedSwitch(mgmt)" -k8sNodeIpPoolStart "10.232.172.90" -k8sNodeIpPoolEnd "10.232.172.96" -vipPoolStart "10.232.172.230" -vipPoolEnd "10.232.172.233" -ipAddressPrefix "10.232.172.0/22" -gateway "10.232.172.1" -dnsServers "10.232.172.10"

Set-AksHciConfig -imageDir c:\clusterstorage\hpe-2-hci-vol\image -workingDir c:\ClusterStorage\hpe-2-hci-vol\working -cloudConfigLocation c:\clusterstorage\hpe-2-hci-vol\config -vnet $vnet1 -cloudservicecidr "10.232.172.0/22"

Set-AksHciRegistration -subscriptionId $SubscriptionId -ResourceGroupName $ResourceGroupName -TenantId $TenantId -Credential $Credential

Install-AksHci

Expected behavior The installation should proceed without a failure.

Workaround needed: Is there a way to manually cleanup what is being complained by the installer?

Environment (please complete the following information): OS: azure stack hci 21H2 AKS-HCI Version (1.1.60)

Collect log files akshcilogspff3bpk3.dkc.zip

shobhit-kumar-code commented 1 year ago

Looks like, it is unrelated to AKSHCI. so i will close it. will reopen if i find it is related to AKSHCI