Azure / Azure/AzureLocal-Supportability

Readiness Check Fails if certain PSGallery Powershell Modules are installed

Offen
#272 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

**Bug description**
Readiness check completely fails to run if there are extra powershell modules installed, preventing any kind of update from running. The error produced from this failure doesn't provide any useful diagnostic information.
For example, running get-solution update results in this line:
HealthCheckResult : {Error reading readiness results for System}

**Repro steps**
Steps to reproduce the behavior:
1. Install VMFleet Powershell module on any node. (Or "cluster" powershell module from the PSGallery)
2. Attempt to run a readiness check

**Expected behavior**
1. Readiness check fails with an error that describes conflicting powershell modules that are installed.
2. When updates are run, there should be a prompt asking to uninstall the conflicting modules first.

**Environment (please complete the following information):**
- Azure Local 12.2509 (Currently being upgraded now)
- 4 node cluster
- Production
- East US Region

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduziere den Fehler, indem du das VMFleet- oder cluster PowerShell-Modul installierst. Führe anschließend eine readiness check und ein get-solution update aus. Verfolge die Einstiegspunkte von readiness-check und update, um zu ermitteln, wo der allgemeine System-Fehler erzeugt wird. Als abgeschlossen gilt die Aufgabe, wenn konfligierende Module eindeutig benannt werden und Updates zu ihrer Entfernung auffordern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
powershell
Bereich
infrastructure
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

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