Azure / Azure/AzureLocal-Supportability

Readiness Check Fails if certain PSGallery Powershell Modules are installed

Đang mở
#272 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PowerShell
Star
78
Fork
60
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tái hiện lỗi bằng cách cài đặt module PowerShell VMFleet hoặc cluster, sau đó chạy readiness check và get-solution update. Truy vết các entry point của readiness-check và update để xác định nơi tạo ra lỗi System chung; được coi là hoàn tất khi các module xung đột được nêu tên rõ ràng và các bản cập nhật nhắc người dùng gỡ bỏ chúng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
powershell
Lĩnh vực
infrastructure
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.