when creating a backup with pv and pvc I get this error:
cause:
cause:
fields:
- name: pvcName
value: example-pvc-2
- name: pvName
value: example-pv
- name: storageClassName
value: local-path-kasten
- name: namespace
value: default
file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:243
function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
linenumber: 243
message: Volume Snapshots are not supported for this storage provider.Try K10's
Generic Storage Backup
method(https://docs.kasten.io/latest/install/generic.html?#generic-storage-backup-and-restore)
or contact contact@kasten.io
file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:148
function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
linenumber: 148
message: Failed to fetch the snapshot session
message: Job failed to be executed
- cause:
cause:
fields:
- name: pvcName
value: example-pvc-2
- name: pvName
value: example-pv
- name: storageClassName
value: local-path-kasten
- name: namespace
value: default
file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:243
function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
linenumber: 243
message: Volume Snapshots are not supported for this storage provider.Try K10's
Generic Storage Backup
method(https://docs.kasten.io/latest/install/generic.html?#generic-storage-backup-and-restore)
or contact contact@kasten.io
file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:148
function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
linenumber: 148
message: Failed to fetch the snapshot session
message: Job failed to be executed
- cause:
cause:
fields:
- name: pvcName
value: example-pvc-2
- name: pvName
value: example-pv
- name: storageClassName
value: local-path-kasten
- name: namespace
value: default
file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:243
function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
linenumber: 243
message: Volume Snapshots are not supported for this storage provider.Try K10's
Generic Storage Backup
method(https://docs.kasten.io/latest/install/generic.html?#generic-storage-backup-and-restore)
or contact contact@kasten.io
file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:148
function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
linenumber: 148
message: Failed to fetch the snapshot session
message: Job failed to be executed
/etc/configmaps$ curl https://docs.kasten.io/tools/k10_primer.sh | bash
Namespace option not provided, using default namespace
Checking for tools
--> Found kubectl
--> Found helm
--> Found jq
--> Found cat
--> Found base64
--> Found tr
Checking if the Kasten Helm repo is present
--> The Kasten Helm repo was found
Checking for required Helm version (>= v3.9.0)
--> No Tiller needed with Helm v3.13.1
K10Primer image
--> Using Image (gcr.io/kasten-images/k10tools:6.5.0) to run test
Checking access to the Kubernetes context kubernetes-admin@kubernetes
--> Able to access the default Kubernetes namespace
K10 Kanister tools image
--> Using Kanister tools image (gcr.io/kasten-images/k10tools:6.5.0) to run test
Running K10Primer Job in cluster with command
./k10tools primer
serviceaccount/k10-primer created
clusterrolebinding.rbac.authorization.k8s.io/k10-primer created
job.batch/k10primer created
Pod k10primer-dng8x is in Pending phase
Pod k10primer-dng8x is in Pending phase
Pod Ready!
================================================================
Kubernetes Version Check:
Valid kubernetes version (v1.27.3) - OK
RBAC Check:
Kubernetes RBAC is enabled - OK
Aggregated Layer Check:
The Kubernetes Aggregated Layer is enabled - OK
CSI Capabilities Check:
Using CSI GroupVersion snapshot.storage.k8s.io/v1 - OK
Validating Provisioners:
hostpath.csi.k8s.io:
Is a CSI Provisioner - OK
Storage Classes:
csi-hostpath-sc
Valid Storage Class - OK
Volume Snapshot Classes:
csi-hostpath-snapclass
Has k10.kasten.io/is-snapshot-class annotation set to true - OK
Has deletionPolicy 'Delete' - OK
kubernetes.io/no-provisioner:
Storage Classes:
default
Supported via K10 Generic Volume Backup. See https://docs.kasten.io/latest/install/generic.html.
local-path-kasten
Supported via K10 Generic Volume Backup. See https://docs.kasten.io/latest/install/generic.html.
Validate Generic Volume Snapshot:
Pod created successfully - OK
GVS Backup command executed successfully - OK
Pod deleted successfully - OK
================================================================
serviceaccount "k10-primer" deleted
clusterrolebinding.rbac.authorization.k8s.io "k10-primer" deleted
job.batch "k10primer" deleted