Azure / Azure/AzureLocal-Supportability
Readiness Check Fails if certain PSGallery Powershell Modules are installed
- 主要言語
- PowerShell
- スター
- 78
- フォーク
- 60
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 5
説明
**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
コントリビューションガイド
調査の方向性
VMFleet または cluster PowerShell モジュールをインストールして失敗を再現し、その後 readiness check と get-solution update を実行します。readiness-check と update のエントリーポイントを追跡して、一般的な System エラーがどこで生成されるかを特定します。競合するモジュールが明確に示され、更新時にそれらの削除を促すようになれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell
- 領域
- infrastructure
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100