Azure / Azure/AzureLocal-Supportability

Readiness Check Fails if certain PSGallery Powershell Modules are installed

Open
#272 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
78
Forks
60
Avg merge
1d 6h
Merged PRs (30d)
5

Description

**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

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.