You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c58f023
Browse filesBrowse the repository at this point in the historyBrowse files
test(vmdisk): run the VMDisk backup/restore round-trip un-gated in CI
Make vmdisk-2-backup-roundtrip actually exercise a Velero backup/restore in
CI instead of exiting on the gate. It is the in-CI proof that the
cozy-default-velero-vmdisk path works end to end: a CSI VolumeSnapshot of
the LINSTOR `replicated` block disk, moved to S3 by Velero's data mover
(kopia), then restored back to a Bound, Ready disk. The platform ships a
default VolumeSnapshotClass for linstor.csi.linbit.com and runs Velero with
features: EnableCSI + deployNodeAgent, so the machinery is present in the
sandbox.
VMDisk (not VMInstance) is the un-gated CI case on purpose: it drives the
same Velero + CSI-data-mover + S3 path but captures only HelmRelease + PVC
(+ configmaps) — no nested VM boot, no guest-agent freeze, no 20Gi image —
so it is fast and reliable enough for kind. The heavier VMInstance
round-trip stays gated behind VMI_E2E_S3_ROUNDTRIP=1.
The platform cozy-default BSL derives the EXTERNAL S3 ingress endpoint,
which is unroutable inside kind (the same reason the postgres round-trip
targets the in-cluster endpoint). So the harness stands up a throwaway BSL
cozy-e2e-vmdisk pointing at the in-cluster seaweedfs endpoint with
insecureSkipTLSVerify (kind cannot trust the self-signed SeaweedFS CA) and
checksumAlgorithm="" (the velero-plugin-for-aws v1.14 / AWS-SDK-v2 vs
SeaweedFS incompatibility) — the #3236 fixes applied at
the BSL — reusing the platform bucket + cozy-backups-creds under a distinct
prefix. The example scripts stay generic and just consume
BACKUP_STORAGE_LOCATION. Runs in tenant-root so the data-mover DataUpload
Pods reach seaweedfs over same-tenant egress; the finally tears down the
throwaway BSL alongside the example cleanup.
Assisted-by: LLM
Signed-off-by: Andrey Kolkov <[email protected]>
0 commit comments