
Ping QiuandClaude Opus 4.6
5a9a52f2d0
feat: Phase 6 CP6-2 -- CSI control-plane integration + csi-sanity/k3s validation
CP6-2 wires the CSI driver to SeaweedFS master/volume-server control plane:
- Proto: block volume messages in master.proto/volume_server.proto, codegen
- Master registry: in-memory BlockVolumeRegistry with Pending->Active status,
full/delta heartbeat, inflight lock, placement (fewest volumes)
- VS gRPC: AllocateBlockVolume/DeleteBlockVolume handlers, shared naming
- Master RPCs: CreateBlockVolume (retry up to 3 servers), Delete, Lookup
- Heartbeat: block volume fields wired into bidirectional stream
- CSI Controller: VolumeBackend interface (Local + Master), returns volume_context
- CSI Node: reads volume_context for remote targets, staged map + IQN derivation
- Mode flag: --mode=controller/node/all, --master for control-plane
- K8s manifests: csi-driver.yaml, csi-controller.yaml, csi-node.yaml
csi-sanity conformance (33 pass, 58 skip) found 6 bugs:
- BUG-SANITY-1/2/3: missing VolumeCapabilities/VolumeCapability validation
- BUG-SANITY-4: NodePublish used mount instead of bind mount
- BUG-SANITY-5: NodeUnpublish didn't remove target path
- BUG-SANITY-6: NodeUnpublish failed on unmounted path
k3s Level 4 (PVC->Pod data persistence) found 1 bug:
- BUG-K3S-1: IsLoggedIn didn't handle iscsiadm exit code 21
226 CSI tests + 54 server tests = 280 new tests, all passing.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 11:01:08 -08:00
..
2026-02-20 18:42:00 -08:00
2026-03-04 11:01:08 -08:00
2026-02-16 15:09:01 -08:00
2026-02-11 11:04:08 -08:00
2026-02-13 15:47:29 -08:00
2026-02-20 18:42:00 -08:00
2025-06-16 22:25:22 -07:00
2026-02-13 15:47:29 -08:00
2026-02-20 18:42:00 -08:00
2026-01-07 13:06:08 -08:00
2025-10-26 22:48:58 -07:00
2025-10-26 22:48:58 -07:00
2026-01-28 17:21:14 -08:00
2026-01-01 19:20:59 -08:00
2026-02-02 17:55:04 -08:00
2026-02-19 13:30:59 -08:00
2026-01-28 17:21:14 -08:00
2026-02-11 14:17:21 -08:00
2026-02-24 07:32:13 -08:00
2025-12-15 21:39:27 -08:00
2023-03-08 01:48:28 -08:00
2024-11-21 00:37:38 -08:00
2024-06-02 14:12:25 -07:00
2022-11-14 00:19:27 -08:00
2026-03-02 09:34:00 -08:00
2026-03-02 11:34:06 -08:00
2025-11-17 21:19:55 -08:00
2025-12-02 17:00:05 -08:00
2026-01-23 16:38:36 -08:00
2026-02-16 15:09:01 -08:00
2026-02-16 15:09:01 -08:00
2025-10-20 16:11:29 -07:00
2026-01-28 17:21:14 -08:00
2026-02-06 10:58:43 -08:00
2025-06-30 13:57:28 -07:00
2026-02-16 02:15:14 -08:00
2026-02-06 10:58:43 -08:00
2019-04-17 22:04:49 -07:00
2025-06-16 22:05:06 -07:00
2026-02-13 15:47:29 -08:00
2026-02-13 15:47:29 -08:00
2022-07-29 00:17:28 -07:00
2026-01-29 14:16:42 -08:00
2026-01-16 19:19:18 -08:00
2022-11-23 15:59:38 -08:00
2026-01-28 17:21:14 -08:00
2026-02-08 19:08:10 -08:00
2026-01-16 19:19:18 -08:00
2025-06-16 22:25:22 -07:00
2026-02-16 02:15:14 -08:00
2026-02-16 14:44:37 -08:00
2026-01-28 17:21:14 -08:00
2025-10-16 12:21:51 -07:00
2025-07-30 12:38:03 -07:00