You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps did you take and what happened:
When we try to use Velero backup for CSI volumes via incorrect Backup CR config, the backup fails due to nil pointer dereference and velero pod restarts. For example:
This backup CR will cause incomplete execution of the velero-plugin-for-csi as the includedResources only consists of PVC and thus excluded VolumeSnapshots, VolumeSnapshotContents etc.
Error logs in velero pod as velero tries to delete resources that do not exist:
2022/09/15 02:23:35 info Waiting for CSI driver to reconcile volumesnapshot mssql-persistent/velero-mssql-pvc-f7x6j. Retrying in 5s
2022/09/15 02:23:40 info Waiting for CSI driver to reconcile volumesnapshot mssql-persistent/velero-mssql-pvc-f7x6j. Retrying in 5s
2022/09/15 02:23:45 info Waiting for CSI driver to reconcile volumesnapshot mssql-persistent/velero-mssql-pvc-f7x6j. Retrying in 5s
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1a8b3cd]
goroutine 2372 [running]:
github.com/vmware-tanzu/velero/pkg/controller.(*backupController).deleteVolumeSnapshot.func1(0xc000d5e140)
/remote-source/src/github.com/vmware-tanzu/velero/pkg/controller/backup_controller.go:949 +0xad
created by github.com/vmware-tanzu/velero/pkg/controller.(*backupController).deleteVolumeSnapshot
/remote-source/src/github.com/vmware-tanzu/velero/pkg/controller/backup_controller.go:945 +0xf7
What did you expect to happen:
Backup to complete successfully
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
👍 for "I would like to see this bug fixed as soon as possible"
👎 for "There are more important bugs to focus on right now"
The text was updated successfully, but these errors were encountered:
What steps did you take and what happened:
When we try to use Velero backup for CSI volumes via incorrect Backup CR config, the backup fails due to nil pointer dereference and velero pod restarts. For example:
This backup CR will cause incomplete execution of the velero-plugin-for-csi as the
includedResources
only consists of PVC and thus excluded VolumeSnapshots, VolumeSnapshotContents etc.Error logs in velero pod as velero tries to delete resources that do not exist:
What did you expect to happen:
Backup to complete successfully
Vote on this issue!
This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.
The text was updated successfully, but these errors were encountered: