Hi!
I am testing Kasten and currently face a problem with Exporting the snapshot of a PVC that belongs to a VM to S3.
Error:
- cause:
cause:
cause:
cause:
cause:
message: volume's storage class does not support block mode export
file: kasten.io/k10/kio/exec/phases/phase/artifactcopier.go:874
function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).maybeUseGenericBlockUploader
linenumber: 874
message: volume's storage class does not support block mode export
file: kasten.io/k10/kio/exec/phases/phase/artifactcopier.go:632
function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).getSnapshotConverters
linenumber: 632
message: blockModeUploader
file: kasten.io/k10/kio/exec/phases/phase/artifactcopier.go:268
function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).Copy
linenumber: 268
message: Error converting snapshots
file: kasten.io/k10/kio/exec/phases/phase/export.go:172
function: kasten.io/k10/kio/exec/phases/phFailed checking jobs in groupFailure in exporting restorepointJob failed to be executedFailed to copy artifactsError converting snapshotsblockModeUploadervolume's storage class does not support block mode exportvolume's storage class does not support block mode exportase.(*exportRestorePointPhase).Run
linenumber: 172
message: Failed to copy artifacts
message: Job failed to be executed
The snapshot completes successfully. The error above always shows when exporting to S3 (MinIO). But only when a PVC from a Virtual Machine is part of the snapshot. Other volumes on the same storageclass (RWX/RWO) all work fine.
I tested many things and just updated to the most recent version 6.5.8 because of the following line in the changelog:
- Fixed an issue where export with block mode volumes failed due to misconfigurations in the ephemeral pods' spec.
Updating this not solve this issue.
Any tips to tackle this issue?
If additional information is needed please let me know :)
Edit:
this is the less detailled error in the UI:
Failed checking jobs in groupFailure in exporting restorepointJob failed to be executedFailed to copy artifactsError converting snapshotsblockModeUploadervolume's storage class does not support block mode exportvolume's storage class does not support block mode export
Edit 2:
I think I found out what the setting is in the PVC that is causing the Export to fail.
By default when you describe a PVC that is created for a VM it will be set with the property:
- volumeMode: Block
I noticed pretty much none of the volumes have this. I created a new VM and manually set the volumeMode to Filesystem. I installed the OS on this PVC and made a new snapshot and exported this with success.
I did just now find this link that might contain information about the solution https://docs.kasten.io/latest/usage/protect.html → Block Mode Export