mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-01 12:46:14 +09:00
linstor-csi implements the CSI GroupController since v1.11 and creates the snapshots of a group in one LINSTOR call, so the volumes of a multi-disk VM are captured at the same instant. Velero needs that for application-consistent backups of Windows VMs with three or more disks: taken one by one, the snapshots outlast the 10 s VSS allows a freeze. piraeus-operator decides the csi-snapshotter gate from an API probe it runs only at startup, so on an upgraded cluster the gate would stay off until the operator restarted. The gate is set in the LinstorCluster pod template instead, and a default VolumeGroupSnapshotClass carries the label Velero selects a group snapshot class by. Both render only when the apiserver serves all three v1beta2 group snapshot kinds. With the gate on and the API missing, csi-snapshotter waits for its group snapshot caches before it starts the ordinary snapshot workers, so every VolumeSnapshot would stall, and a v1beta2 VolumeGroupSnapshotClass would fail the upgrade. Otherwise the operator's own probe decides the gate. Assisted-by: LLM Signed-off-by: Mattia Eleuteri <mattia@hidora.io>