Azure / Azure/AzureLocal-Supportability

Bug: Data loss if CSV created on node added to cluster, then node evicted later.

Đang mở
#253 1 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**
If a CSV is created on a four node cluster and then the fourth node is evicted from the cluster, the CSV that was created while the cluster had four hosts will have the wrong number of columns. As a result, the CSV becomes a loaded time bomb and will eventually cause workloads to seize up if enough data is added and/or changed on the CSV and the CSV will fail if it is expanded, causing data loss.

Any attempt at trying to bring the CSV online produces either "Access Denied" errors or Error Code 0x8007054f "An internal error occurred".

**Repro steps**
1. Join a node into a 3 node Azure Local cluster to make it into a 4 node cluster.
2. Create a new CSV with the fourth node joined and operable. Make sure that the fourth node owns it for a little while.
3. Move the ownership of the fourth newly created CSV to one of the other three nodes.
4. Evict the fourth node from the cluster using the remove-mocphysicalnode and remove-clusternode -cleanupdisks commands. (As if the cluster was being permanently shrunk.)
5. Take the fourth node offline.
6. Expand the size of the newly created fourth CSV by some amount (Such as 5 TB) using the WAC
7. Observe that newly created CSV goes into failed state and any running VM's on it will also fail.

(Note that all CSV's were encrypted, this may nor may not be reproducible with unencrypted CSV's.)

**Expected behavior**
1. Expanding a CSV should not cause a CSV to go offline. Nor should added CSV's have mismatched columns to the other CSV's, causing workloads to eventually seize up and fail after a certain period of time.
2. Mismatched columns between CSV's should be automatically corrected with the addition or subtraction of nodes in the cluster. There also should be code that automatically detects CSV's with mismatched columns and automatically corrects for it without user input, treating it no more differently than an automatic array repair after a disk is replaced.
3. The node eviction may have been done improperly. Where is the documentation for Azure Local?
4. Attempts at bringing the CSV online with Hyper-V tools shouldn't have produced errors, nor should attempts at trying to bring a failed CSV back online fail.

**Environment (please complete the following information):**
Build 12.2512.1002.16
4 node cluster
Production
East US

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

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

Hướng nghiên cứu

Bắt đầu với quy trình tái hiện gồm năm bước liên quan đến Azure Local, WAC, việc mở rộng CSV và các lệnh remove-mocphysicalnode và remove-clusternode -cleanupdisks. So sánh trạng thái lỗi quan sát được và các lỗi truy cập với hành vi mong đợi, sau đó tham khảo tài liệu Azure Local được yêu cầu trong issue; hoàn tất khi đã xác định được nguyên nhân và cách khắc phục được hỗ trợ cho việc loại bỏ nút và mở rộng CSV.

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

Đánh giá

Công nghệ
azure, powershell
Lĩnh vực
cloud, infrastructure
Loại issue
Lỗi
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/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.