microsoft / azure_arc

Automated Azure Arc, Edge, and Platform environments
https://aka.ms/ArcJumpstart
Creative Commons Attribution 4.0 International
741 stars 549 forks source link

Cannot delete Azure Arc AKS cluster in JumpStartHCIBox #2862

Open mshamim69 opened 17 hours ago

mshamim69 commented 17 hours ago

Note: For ease of issues and pull requests management and tracking, we kindly ask you to provide a meaningful and concise title to this issue and answer all questions to the best of your ability.

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?

JumpStart HCIBox

Describe the issue or the bug Cannot delete the AKS cluster created by the Configure-AKSWorkloadCluster.ps1 of JumpStart HCIBox. I have been successful to delete and recreate the cluster couple of times earlier. But now there is timeout in deleting Nodepool. Even GitOps configuration and flux extension cannot be deleted.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Azure Arc cluster from Portal'
  2. Click on 'Delete'
  3. Delete jobs keeps on running and fails
  4. Tried also with az aksarc delete .. command from HCIBox-Client machine. No success. Timeout.

Expected behavior The AKS cluster is deleted and removed from the Resource Group.

Environment summary

PS C:\HCIBox> az --version azure-cli 2.65.0 core 2.65.0 telemetry 1.1.0 Extensions: aksarc 1.4.23 customlocation 0.1.3 Dependencies: msal 1.31.0 azure-mgmt-resource 23.1.1

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\hciboxdemo.azure\cliextensions'

Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]

Have you looked at the Troubleshooting and Logs section?

Screenshots Image

Additional context

I have another JumpStart HCIBox AKS cluster running in another resource group. Tried to delete that. No success.

microsoft-github-policy-service[bot] commented 17 hours ago

Hi mshamim69! Thank you for opening this issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on the Arc Jumpstart.