Azure / Azure/AzureLocal-Supportability

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

Aperta
#253 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PowerShell
Stelle
78
Fork
60
Merge medio
1g 6h
PR unite (30g)
5

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con la riproduzione in cinque passaggi che coinvolge Azure Local, WAC, l’espansione di CSV e i comandi remove-mocphysicalnode e remove-clusternode -cleanupdisks. Confronta lo stato di errore osservato e gli errori di accesso con il comportamento previsto, quindi consulta la documentazione di Azure Local richiesta nell’issue; il lavoro è completato quando sono state stabilite la causa e la correzione supportata per l’eviction del nodo e l’espansione di CSV.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, powershell
Ambito
cloud, infrastructure
Tipo di issue
Bug
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.