I have an internal K8S cluster (build by K3S)
1 default storageclass csi-driver-nfs , I have 1 QNAP NAS device as NFS server
I installed k10 by Helm 3
I can manual backup and export a simple nginx app (small 50MB volume for /var/logs/nginx) to Amazon S3 , restore app to new cluster successfully.
Now I try to manual backup and export my Hashicorp Vault to Amazon S3 , the backup run ok
But the export run fail
phases:
- attempt: 3
endTime: 2023-10-06T04:08:19Z
errors:
- cause: '{"cause":{"cause":{"message":"Failure in exporting
restorepoint"},"fields":[{"name":"FailedSubPhases","value":[{"Err":{"cause":{"cause":{"cause":{"cause":{"cause":{"cause":{"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:319","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData.copyVolumeDataPodExecFunc.func1","linenumber":319,"message":"Failed
to get snapshot ID from create snapshot
output"},"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:129","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData","linenumber":129,"message":"Failed
to execute copy volume data pod
function"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1635","function":"kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert","linenumber":1635,"message":"Error
creating portable
snapshot"},"fields":[{"name":"type","value":"CSI"},{"name":"id","value":"k10-csi-snap-2w7cw2rbbpq4c22m"}],"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:442","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1","linenumber":442,"message":"Failed
to export snapshot
data"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:210","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).copy","linenumber":210,"message":"Error
converting
snapshots"},"file":"kasten.io/k10/kio/exec/phases/phase/export.go:168","function":"kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run","linenumber":168,"message":"Failed
to copy artifacts"},"fields":[],"message":"Job failed to be
executed"},"ID":"95db58bb-63fd-11ee-8867-1a89428adbaf","Phase":"Exporting
RestorePoint"}]}],"file":"kasten.io/k10/kio/exec/phases/phase/queue_and_wait_children.go:196","function":"kasten.io/k10/kio/exec/phases/phase.(*queueAndWaitChildrenPhase).processGroup","linenumber":196,"message":"Failure
in exporting
restorepoint"},"fields":[{"name":"manifestID","value":"8d9fa0be-63fd-11ee-8867-1a89428adbaf"},{"name":"jobID","value":"8da08c09-63fd-11ee-81c1-a63a2ec5ff99"},{"name":"groupIndex","value":0}],"file":"kasten.io/k10/kio/exec/phases/phase/queue_and_wait_children.go:96","function":"kasten.io/k10/kio/exec/phases/phase.(*queueAndWaitChildrenPhase).Run","linenumber":96,"message":"Failed
checking jobs in group"}'
message: Job failed to be executed
- cause: '{"cause":{"cause":{"message":"Failure in exporting
restorepoint"},"fields":[{"name":"FailedSubPhases","value":[{"Err":{"cause":{"cause":{"cause":{"cause":{"cause":{"cause":{"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:319","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData.copyVolumeDataPodExecFunc.func1","linenumber":319,"message":"Failed
to get snapshot ID from create snapshot
output"},"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:129","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData","linenumber":129,"message":"Failed
to execute copy volume data pod
function"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1635","function":"kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert","linenumber":1635,"message":"Error
creating portable
snapshot"},"fields":[{"name":"type","value":"CSI"},{"name":"id","value":"k10-csi-snap-2w7cw2rbbpq4c22m"}],"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:442","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1","linenumber":442,"message":"Failed
to export snapshot
data"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:210","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).copy","linenumber":210,"message":"Error
converting
snapshots"},"file":"kasten.io/k10/kio/exec/phases/phase/export.go:168","function":"kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run","linenumber":168,"message":"Failed
to copy artifacts"},"fields":[],"message":"Job failed to be
executed"},"ID":"95db58bb-63fd-11ee-8867-1a89428adbaf","Phase":"Exporting
RestorePoint"}]}],"file":"kasten.io/k10/kio/exec/phases/phase/queue_and_wait_children.go:196","function":"kasten.io/k10/kio/exec/phases/phase.(*queueAndWaitChildrenPhase).processGroup","linenumber":196,"message":"Failure
in exporting
restorepoint"},"fields":[{"name":"manifestID","value":"8d9fa0be-63fd-11ee-8867-1a89428adbaf"},{"name":"jobID","value":"8da08c09-63fd-11ee-81c1-a63a2ec5ff99"},{"name":"groupIndex","value":0}],"file":"kasten.io/k10/kio/exec/phases/phase/queue_and_wait_children.go:96","function":"kasten.io/k10/kio/exec/phases/phase.(*queueAndWaitChildrenPhase).Run","linenumber":96,"message":"Failed
checking jobs in group"}'
message: Job failed to be executed
- cause: '{"cause":{"cause":{"message":"Failure in exporting
restorepoint"},"fields":[{"name":"FailedSubPhases","value":[{"Err":{"cause":{"cause":{"cause":{"cause":{"cause":{"cause":{"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:319","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData.copyVolumeDataPodExecFunc.func1","linenumber":319,"message":"Failed
to get snapshot ID from create snapshot
output"},"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:129","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData","linenumber":129,"message":"Failed
to execute copy volume data pod
function"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1635","function":"kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert","linenumber":1635,"message":"Error
creating portable
snapshot"},"fields":[{"name":"type","value":"CSI"},{"name":"id","value":"k10-csi-snap-2w7cw2rbbpq4c22m"}],"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:442","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1","linenumber":442,"message":"Failed
to export snapshot
data"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:210","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).copy","linenumber":210,"message":"Error
converting
snapshots"},"file":"kasten.io/k10/kio/exec/phases/phase/export.go:168","function":"kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run","linenumber":168,"message":"Failed
to copy artifacts"},"fields":[],"message":"Job failed to be
executed"},"ID":"95db58bb-63fd-11ee-8867-1a89428adbaf","Phase":"Exporting
RestorePoint"}]}],"file":"kasten.io/k10/kio/exec/phases/phase/queue_and_wait_children.go:196","function":"kasten.io/k10/kio/exec/phases/phase.(*queueAndWaitChildrenPhase).processGroup","linenumber":196,"message":"Failure
in exporting
restorepoint"},"fields":[{"name":"manifestID","value":"8d9fa0be-63fd-11ee-8867-1a89428adbaf"},{"name":"jobID","value":"8da08c09-63fd-11ee-81c1-a63a2ec5ff99"},{"name":"groupIndex","value":0}],"file":"kasten.io/k10/kio/exec/phases/phase/queue_and_wait_children.go:96","function":"kasten.io/k10/kio/exec/phases/phase.(*queueAndWaitChildrenPhase).Run","linenumber":96,"message":"Failed
checking jobs in group"}'
message: Job failed to be executed
name: Exporting Metadata
startTime: 2023-10-06T04:05:28Z
state: failed
updatedTime: 2023-10-06T04:08:19Z
- attempt: 3
endTime: 2023-10-06T04:07:11Z
errors:
- cause: '{"cause":{"cause":{"cause":{"cause":{"cause":{"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:319","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData.copyVolumeDataPodExecFunc.func1","linenumber":319,"message":"Failed
to get snapshot ID from create snapshot
output"},"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:129","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData","linenumber":129,"message":"Failed
to execute copy volume data pod
function"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1635","function":"kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert","linenumber":1635,"message":"Error
creating portable
snapshot"},"fields":[{"name":"type","value":"CSI"},{"name":"id","value":"k10-csi-snap-2w7cw2rbbpq4c22m"}],"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:442","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1","linenumber":442,"message":"Failed
to export snapshot
data"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:210","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).copy","linenumber":210,"message":"Error
converting
snapshots"},"file":"kasten.io/k10/kio/exec/phases/phase/export.go:168","function":"kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run","linenumber":168,"message":"Failed
to copy artifacts"}'
message: Job failed to be executed
- cause: '{"cause":{"cause":{"cause":{"cause":{"cause":{"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:319","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData.copyVolumeDataPodExecFunc.func1","linenumber":319,"message":"Failed
to get snapshot ID from create snapshot
output"},"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:129","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData","linenumber":129,"message":"Failed
to execute copy volume data pod
function"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1635","function":"kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert","linenumber":1635,"message":"Error
creating portable
snapshot"},"fields":[{"name":"type","value":"CSI"},{"name":"id","value":"k10-csi-snap-2w7cw2rbbpq4c22m"}],"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:442","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1","linenumber":442,"message":"Failed
to export snapshot
data"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:210","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).copy","linenumber":210,"message":"Error
converting
snapshots"},"file":"kasten.io/k10/kio/exec/phases/phase/export.go:168","function":"kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run","linenumber":168,"message":"Failed
to copy artifacts"}'
message: Job failed to be executed
- cause: '{"cause":{"cause":{"cause":{"cause":{"cause":{"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:319","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData.copyVolumeDataPodExecFunc.func1","linenumber":319,"message":"Failed
to get snapshot ID from create snapshot
output"},"file":"kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:129","function":"kasten.io/k10/kio/kanister/function.CopyVolumeData","linenumber":129,"message":"Failed
to execute copy volume data pod
function"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1635","function":"kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert","linenumber":1635,"message":"Error
creating portable
snapshot"},"fields":[{"name":"type","value":"CSI"},{"name":"id","value":"k10-csi-snap-2w7cw2rbbpq4c22m"}],"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:442","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1","linenumber":442,"message":"Failed
to export snapshot
data"},"file":"kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:210","function":"kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).copy","linenumber":210,"message":"Error
converting
snapshots"},"file":"kasten.io/k10/kio/exec/phases/phase/export.go:168","function":"kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run","linenumber":168,"message":"Failed
to copy artifacts"}'
message: Job failed to be executed
name: Exporting RestorePoint
startTime: 2023-10-06T04:05:28Z
state: failed
updatedTime: 2023-10-06T04:07:11Z
Please give me some advices, thank you very much.