Azure / Azure/AzureLocal-Supportability

Azure Local Cannot redeploy AKS

Offen
#57 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PowerShell
Sterne
78
Forks
60
Ø Merge
1 T. 6 Std.
Gemergte PRs (30 T.)
5

Beschreibung

> **IMPORTANT**: Do not share any personal data in the bug report. This repository is a public forum and this report will also be public.

**Bug description**
Deploy Azure Local cluster on the previous build 2411.1 then deploy an AKS cluster. Upgrade the cluster to 2411.3 and delete the previous AKS cluster, then attempt to redeploy AKS with the same information. The deployment will fail and upon further investigation all AKS images are in a failure state leaving non-available for deployment.

Deployment is failing with citing the following error:
admission webhook "vhybridakscluster.kb.io" denied the request: {
"result": "Failed",
"validationChecks": [
{
"name": "K8sVersionValidation",
"message": "Kubernetes version 1.29.4 is not ready for use on Linux. Please go to https://aka.ms/aksarccheckk8sversions for details of how to check the readiness of Kubernetes versions.",
"recommendation": "Please check https://aka.ms/AKSArcValidationErrors/K8sVersionValidation for recommendations"
}
]
}

Using Azure CLI all AKS gallery images are in a failure state:

![Image](https://github.com/user-attachments/assets/bac4d721-8148-4b18-bf4b-8dadd9cff978)

Following the troubleshooting guide in the deployment error message and running the following command:
az rest --headers "Authorization=Bearer $token" "Content-Type=application/json;charset=utf-8" --uri $url --method DELETE

Does not appear to delete anything as all kubernetesVersions/default still exist in an error state with no change.

**Repro steps**
Steps to reproduce the behavior:
1. Deploy Azure Local cluster on the previous build 2411.1
2. Deploy an AKS cluster
3. Upgrade the cluster to 2411.3
4. Delete the previous AKS cluster
5. Redeploy AKS cluster with same information
6. Deployment errors out stating that any Kubernetes version you have selected is "not ready for use on "

**Expected behavior**
AKS images should not all be in an error state and the AKS cluster should successfully deploy.

**Environment (please complete the following information):**
- Build 10.2411.3.2
- Two node switchless
- Non-production
- Region EastUS

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Keine Repository-Datei oder kein Test ist genannt. Beginnen Sie damit, die Upgrade-, AKS-Lösch- und erneute Bereitstellungssequenz für Azure Local 10.2411.3.2 zu reproduzieren, untersuchen Sie dann die Zustände der AKS-Gallery-Images mit Azure CLI und prüfen Sie die zitierte K8sVersionValidation-Anleitung. Als erledigt gilt die Aufgabe, wenn die Fehler aufgrund veralteter Images behoben sind und ein Ersatz-AKS-Cluster erfolgreich mit denselben Informationen bereitgestellt wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, kubernetes
Bereich
cli, cloud, infrastructure
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.