From 36099cadcb7d3d8cdbfba21b419ab150cf2deb00 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Wed, 6 May 2026 02:48:05 -0700 Subject: [PATCH] docs: record iscsi p6 mounted failover pass --- seaweed-block/internal/docs/current-plan.md | 22 +++++++++++----- .../iscsi-p6-alua-mpio-lab-validation.md | 26 +++++++++++++++++-- 2 files changed, 39 insertions(+), 9 deletions(-) diff --git a/seaweed-block/internal/docs/current-plan.md b/seaweed-block/internal/docs/current-plan.md index 16949c6f8e..336da48589 100644 --- a/seaweed-block/internal/docs/current-plan.md +++ b/seaweed-block/internal/docs/current-plan.md @@ -252,7 +252,7 @@ References: reconnect story. - Tasks: - - status: active after P5 QA green. + - status: QA green on `iscsi/csi-node-lifecycle@d1025f1`. - #design(iscsi-p6-alua-mpio-design) ALUA/MPIO policy and protocol shape: - owner: dev. - output: `internal/docs/ref/iscsi-p6-alua-mpio-design.md`. @@ -336,16 +336,23 @@ References: grouped both paths under `mpatha`. - non-claim: mounted workload failover still needs P6-E. - primary failover while mounted: - - status: P6-E script prepared; awaiting QA lab run. + - status: QA green on `iscsi/csi-node-lifecycle@d1025f1`. - script: `scripts/run-iscsi-alua-mounted-failover-smoke.sh`. - assignment: `internal/docs/qa-assignments/iscsi-p6-alua-mpio-lab-validation.md`. - - current claim under test: mounted Linux multipath device can read a + - verified claim: mounted Linux multipath device can read a pre-failover checksum and write a post-failover checksum after r1 is killed and r2 reaches `Healthy=true` at a newer epoch. - - #QA run Test 2 on M02 or another Linux host with `multipath-tools`. + - #QA Test 2 PASS on M02: + - artifact: + `/mnt/smb/work/share/g15d-k8s/20260506T094503Z-iscsi-p6-mounted-failover`. + - evidence: `/dev/mapper/mpatha` mounted, pre-failover checksum read + after failover, post-failover checksum written and verified, r2 + promoted to `Epoch=2`, old r1 gate-rejected stale writes/syncs, no + active sessions or multipath residue after cleanup. - old primary cannot serve stale successful I/O: - - status: partially covered by killing r1 in P6-E script; returned old - primary stale-success proof remains pending. + - status: QA green for killed-old-primary path on `d1025f1`. + - old-primary-return proof remains future soak/fault coverage, not required + for P6 alpha close. - Close bar: - real initiator sees correct ALUA/MPIO behavior, @@ -356,7 +363,8 @@ References: - QA/tooling: - #QA active-path ALUA OS script is ready. - - #QA needs mounted workload failover script after design is accepted. + - #QA two-path multipath script is green on M02. + - #QA mounted multipath failover script is green on M02. - do not rely on in-process protocol tests only. ## Milestone: iSCSI-P7 Performance And Backend Matrix diff --git a/seaweed-block/internal/docs/qa-assignments/iscsi-p6-alua-mpio-lab-validation.md b/seaweed-block/internal/docs/qa-assignments/iscsi-p6-alua-mpio-lab-validation.md index 130524e169..988999bb7e 100644 --- a/seaweed-block/internal/docs/qa-assignments/iscsi-p6-alua-mpio-lab-validation.md +++ b/seaweed-block/internal/docs/qa-assignments/iscsi-p6-alua-mpio-lab-validation.md @@ -1,6 +1,6 @@ # QA Assignment: iSCSI P6 ALUA / MPIO Lab Validation -Status: Test 1B QA green; Test 2 executable. +Status: Test 1B and Test 2 QA green. Branch: `iscsi/csi-node-lifecycle`. Scope: real Linux initiator validation for ALUA/MPIO and mounted failover. @@ -115,7 +115,7 @@ Non-claim: ## Test 2: Mounted Workload Failover -Status: ready for first lab run. +Status: PASS on `iscsi/csi-node-lifecycle@d1025f1`. Run: @@ -134,6 +134,26 @@ Expected: - old primary path cannot acknowledge stale successful I/O. - cleanup leaves no sw-block iSCSI sessions and no multipath residue. +QA evidence: + +- host: M02, Ubuntu 24.04.3 LTS, kernel 6.17.0-22-generic. +- artifact: + `/mnt/smb/work/share/g15d-k8s/20260506T094503Z-iscsi-p6-mounted-failover`. +- final line: + `[iscsi-failover] PASS: mounted multipath workload read/wrote through r1->r2 failover`. +- wire proof: + - before failover: r1 AAS `0x00`, r2 AAS `0x02`. + - after killing r1: r2 AAS `0x00`. + - `multipath -ll`: same `mpatha` map served the mounted filesystem. + - r2 status after failover: `Epoch=2`, `AuthorityRole=primary`, + `Healthy=true`, `FrontendPrimaryReady=true`. + - pre-failover `pre.bin` checksum read back after failover. + - post-failover `post.bin` checksum written and verified. + - r1 log showed stale primary lineage rejections for post-promotion + WRITE/SYNCHRONIZE_CACHE attempts. + - cleanup left no active iSCSI sessions, no multipath map, and no stray + blockmaster/blockvolume processes. + Evidence to collect: - pre-failover and post-failover checksum logs. @@ -150,6 +170,8 @@ Non-claim: - Test 2 does not prove Kubernetes-mounted failover. - Test 2 does not prove Windows MPIO. - Test 2 does not claim production HA soak. +- Test 2 covers one volume and one RF=2 pair, not multi-volume soak or + repeated fault injection. ## Report Format