Skip to main content

Hi,

 

I have an issue while backup the NFS PVC with Kasten, below the logs from console

- cause:
cause:
fields:
- name: pvcName
value: nfs-claimattachmentdev
- name: pvName
value: pv-attachmentdev
- name: storageClassName
value: ""
- name: namespace
value: dfms-dev
file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:230
function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
linenumber: 230
message: '{"message":"Failed to determine if PVC requires a
GenericStorageBackup","function":"kasten.io/k10/kio/exec/phases/phase.checkIfGVSEnabled","linenumber":257,"file":"kasten.io/k10/kio/exec/phases/phase/snapshot.go:257","cause":{"message":"Could
not get
storageclass","function":"kasten.io/k10/kio/kube.ForceGVSOnStorageClass","linenumber":21,"file":"kasten.io/k10/kio/kube/storage.go:21","fields"::{"name":"scName","value":""}],"cause":{"message":"resource
name may not be empty"}}}'
file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:153
function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
linenumber: 153
message: Failed to fetch the snapshot session
message: Job failed to be executed
- cause:
cause:
fields:
- name: pvcName
value: nfs-claimattachmentdev
- name: pvName
value: pv-attachmentdev
- name: storageClassName
value: ""
- name: namespace
value: dfms-dev
file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:230
function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
linenumber: 230
message: '{"message":"Failed to determine if PVC requires a
GenericStorageBackup","function":"kasten.io/k10/kio/exec/phases/phase.checkIfGVSEnabled","linenumber":257,"file":"kasten.io/k10/kio/exec/phases/phase/snapshot.go:257","cause":{"message":"Could
not get
storageclass","function":"kasten.io/k10/kio/kube.ForceGVSOnStorageClass","linenumber":21,"file":"kasten.io/k10/kio/kube/storage.go:21","fields"::{"name":"scName","value":""}],"cause":{"message":"resource
name may not be empty"}}}'
file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:153
function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
linenumber: 153
message: Failed to fetch the snapshot session
message: Job failed to be executed
- cause:
cause:
fields:
- name: pvcName
value: nfs-claimattachmentdev
- name: pvName
value: pv-attachmentdev
- name: storageClassName
value: ""
- name: namespace
value: dfms-dev
file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:230
function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
linenumber: 230
message: '{"message":"Failed to determine if PVC requires a
GenericStorageBackup","function":"kasten.io/k10/kio/exec/phases/phase.checkIfGVSEnabled","linenumber":257,"file":"kasten.io/k10/kio/exec/phases/phase/snapshot.go:257","cause":{"message":"Could
not get
storageclass","function":"kasten.io/k10/kio/kube.ForceGVSOnStorageClass","linenumber":21,"file":"kasten.io/k10/kio/kube/storage.go:21","fields"::{"name":"scName","value":""}],"cause":{"message":"resource
name may not be empty"}}}'
file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:153
function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
linenumber: 153
message: Failed to fetch the snapshot session
message: Job failed to be executed

Appreciate if you guys can help me to assist how to solve it.

 

Thank you So much!

Hi @hafesi if you are using NFS PVCs, you need to enable the GenericStorageBackup as the below link.

https://docs.kasten.io/latest/install/generic.html?highlight=generic%20volume%20snapshot

 

BR,

Ahmed Hagag


Comment