Hello, I have an issue with a policy, when then runs I get this problem:
- cause:
cause:
cause:
cause:
cause:
fields:
- name: pvcName
value: dashboard-ace
file: kasten.io/k10/kio/kanister/pod.go:178
function: kasten.io/k10/kio/kanister.PodOptions
linenumber: 178
message: Failed to find kanister-sidecar container with required volume mounted
file: kasten.io/k10/kio/kanister/snapshots/snapshots.go:360
function: kasten.io/k10/kio/kanister/snapshots.kanisterOptions
linenumber: 360
message: Failed to get workload options.
fields:
- name: pvcName
value: dashboard-ace
- name: namespace
value: cp4i
file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:885
function: kasten.io/k10/kio/exec/phases/backup.basicVolumeSnapshot.basicVolumeSnapshot.func1.func2
linenumber: 885
message: Error snapshotting volume
fields:
- name: appName
value: dashboard-ace-dash
- name: appType
value: deployment
- name: namespace
value: cp4i
file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:896
function: kasten.io/k10/kio/exec/phases/backup.basicVolumeSnapshot
linenumber: 896
message: Failed to snapshot volumes
file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:406
function: kasten.io/k10/kio/exec/phases/backup.processVolumeArtifacts
linenumber: 406
message: Failed snapshots for workload
the way we installed kasten was:
helm install k10 kasten/k10 \
--namespace kasten-io \
--version 8.0.9 \
--set scc.create=true \
--set route.enabled=true \
--set route.path="/k10" \
--set auth.tokenAuth.enabled=true \
--set genericStorageBackup.token="adsfa…." \
we tried before adding the flag: --set injectGenericVolumeBackupSidecar.enabled=true\
But the project we need to backup doesn’t have the correct permission to create and execute the kanister sidecard containers. So we don’t know the way to take backup of the kind of PVC
they use file Storage CSI Driver of IBM and doesn’t have snapshot capability so we try to use GSB but we have this issue with the sidecar.
BTW, the app we need to backup we can not change the permissions.
