I’m running K10 (v6.0.8) on an OpenShift (4.12.24) cluster with storage backed by NetApp ONTAP and provisioned though Astra Trident. Snapshotting applications (and locally restoring) works fine, but when I tried to export a snapshot to my location profile (NetApp Storage GRID) it fails to export the RestorePoint with "Failed to get snapshot ID from create snapshot output\" (see full output below).
Can anyone point me in the right direction where to look further? Thanks!
$ oc get --raw /apis/actions.kio.kasten.io/v1alpha1/namespaces/postgresql/exportactions/manualbackup-f4d5f-b65qz/details | jq
{
"kind": "ExportAction",
"apiVersion": "actions.kio.kasten.io/v1alpha1",
"metadata": {
"name": "manualbackup-f4d5f-b65qz",
"namespace": "postgresql",
"uid": "eaa786e5-71a7-11ee-b9cd-0a580a810270",
"resourceVersion": "400",
"creationTimestamp": "2023-10-23T13:27:30Z",
"labels": {
"k10.kasten.io/appName": "postgresql",
"k10.kasten.io/appNamespace": "postgresql"
}
},
"status": {
"state": "Failed",
"startTime": "2023-10-23T13:27:30Z",
"endTime": "2023-10-23T13:30:25Z",
"restorePoint": {
"name": ""
},
"result": {
"name": ""
},
"error": {
"cause": "{\"cause\":{\"cause\":{\"message\":\"Failure in exporting restorepoint\"},\"fields\":s{\"name\":\"FailedSubPhases\",\"value\":e{\"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\":s{\"name\":\"type\",\"value\":\"CSI\"},{\"name\":\"id\",\"value\":\"k10-csi-snap-t7x2nx4wj98bqd8g\"}],\"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\":s],\"message\":\"Job failed to be executed\"},\"ID\":\"ec17c739-71a7-11ee-b9cd-0a580a810270\",\"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\":s{\"name\":\"manifestID\",\"value\":\"eaa786e5-71a7-11ee-b9cd-0a580a810270\"},{\"name\":\"jobID\",\"value\":\"eaa8a6dc-71a7-11ee-92bc-0a580a81026e\"},{\"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"
},
"actionDetails": {
"phases": s
{
"attempt": 3,
"endTime": "2023-10-23T13:30:25Z",
"errors": s
{
"cause": "{\"cause\":{\"cause\":{\"message\":\"Failure in exporting restorepoint\"},\"fields\":s{\"name\":\"FailedSubPhases\",\"value\":e{\"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\":s{\"name\":\"type\",\"value\":\"CSI\"},{\"name\":\"id\",\"value\":\"k10-csi-snap-t7x2nx4wj98bqd8g\"}],\"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\":s],\"message\":\"Job failed to be executed\"},\"ID\":\"ec17c739-71a7-11ee-b9cd-0a580a810270\",\"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\":s{\"name\":\"manifestID\",\"value\":\"eaa786e5-71a7-11ee-b9cd-0a580a810270\"},{\"name\":\"jobID\",\"value\":\"eaa8a6dc-71a7-11ee-92bc-0a580a81026e\"},{\"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\":s{\"name\":\"FailedSubPhases\",\"value\":e{\"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\":s{\"name\":\"type\",\"value\":\"CSI\"},{\"name\":\"id\",\"value\":\"k10-csi-snap-t7x2nx4wj98bqd8g\"}],\"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\":s],\"message\":\"Job failed to be executed\"},\"ID\":\"ec17c739-71a7-11ee-b9cd-0a580a810270\",\"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\":s{\"name\":\"manifestID\",\"value\":\"eaa786e5-71a7-11ee-b9cd-0a580a810270\"},{\"name\":\"jobID\",\"value\":\"eaa8a6dc-71a7-11ee-92bc-0a580a81026e\"},{\"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\":s{\"name\":\"FailedSubPhases\",\"value\":e{\"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\":s{\"name\":\"type\",\"value\":\"CSI\"},{\"name\":\"id\",\"value\":\"k10-csi-snap-t7x2nx4wj98bqd8g\"}],\"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\":s],\"message\":\"Job failed to be executed\"},\"ID\":\"ec17c739-71a7-11ee-b9cd-0a580a810270\",\"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\":s{\"name\":\"manifestID\",\"value\":\"eaa786e5-71a7-11ee-b9cd-0a580a810270\"},{\"name\":\"jobID\",\"value\":\"eaa8a6dc-71a7-11ee-92bc-0a580a81026e\"},{\"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-23T13:27:32Z",
"state": "failed",
"updatedTime": "2023-10-23T13:30:25Z"
},
{
"attempt": 3,
"endTime": "2023-10-23T13:29:18Z",
"errors": s
{
"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\":s{\"name\":\"type\",\"value\":\"CSI\"},{\"name\":\"id\",\"value\":\"k10-csi-snap-t7x2nx4wj98bqd8g\"}],\"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\":s{\"name\":\"type\",\"value\":\"CSI\"},{\"name\":\"id\",\"value\":\"k10-csi-snap-t7x2nx4wj98bqd8g\"}],\"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\":s{\"name\":\"type\",\"value\":\"CSI\"},{\"name\":\"id\",\"value\":\"k10-csi-snap-t7x2nx4wj98bqd8g\"}],\"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-23T13:27:32Z",
"state": "failed",
"updatedTime": "2023-10-23T13:29:18Z"
}
]
},
"progress": 100,
"progressDetails": {
"processedBytes": 0,
"readBytes": 0,
"totalBytes": 2147483648,
"transferredBytes": 0,
"processingRate": 0,
"totalVolumes": 1,
"completedVolumes": 0,
"updatedTime": "2023-10-23T13:29:18Z"
}
},
"spec": {
"subject": {
"apiVersion": "apps.kio.kasten.io/v1alpha1",
"kind": "RestorePoint",
"name": "manualbackup-f4d5f",
"namespace": "postgresql"
},
"receiveString": "bIzAPpoanmFT5Bh570dGvcw5RHMlBkWc0S2X10M0abM8NfxXzX2QfYG/O9y9lqAbAhjOzKuNGU+u7zELhTr9gBIftgMtAsigTbGp+di+85uOovpi23BdIjyb74fqMqNhf9BS4FFI0sNFibOQ7NyT72GjTYHi+UgE6m3xFF6WxuaV5osaAGuQkX+d6X7/Lg1BpqtCQNmChHVi00o3MTiL9929XXSzHSjrpihH94zbaJdioYyeZS3AdosHtK2Qh965Mo7HaaGfapx9WH7zvllp7zHf9uTfZ/nJ0wGMBil5TnFyRmCJuGo/tjj5vt7P8Is3hkkvJN5FhHILmohm2DGcEuVN4odVZA8G3o40jdHz/JSkw1KEmdnDujohggisgTFp+p7xPJxSyLP1Qml4gNmrPR2kkb4RRqmG/gT6mo5FNHIAkOEALNiLZyZjHV3B0u7jNguB/7t/LaCxVBsVvEgmHmjy38sitOsoPDT/aXpKpLUdqxdC2FqgHghKLnpYHZGv1baUdxHCgi8+9pBurE3w3D5Gs/4IZNO4ejRybsOo1T9mvd5BcJTsFhoZJQfxFiHDExBYmxlUoYc/5Sw8q7pA8MwkVYWNk9wp6DCNM8S4JOA2rv+Xmj4KOdB1LoALGeCuxATmJZ0RvLXUPAYyzg",
"profile": {
"name": "goldmedal",
"namespace": "kasten-io"
},
"migrationToken": {
"name": "export-1698067650519285037-migration-token",
"namespace": "kasten-io"
},
"exportData": {
"enabled": true
}
}
}