-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Velero crashes with an "invalid memory address or nil pointer dereference" #8440
Comments
Line 1050 in 1d4f147
The code that triggers the panic is clear, but it is still important to find out how this happens. The panic only happens when the DataUpload CR's related VolumeInfo doesn't have the |
I've added the volumeinfo.json to the gist. Could the issue be caused because there is a mix of CSI-based and non-CSI-based PVs on the cluster? The PV's it can't backup up because of that have The goal is to get rid of the non-CSI-based ones but that is a work in progress. In the meantime it can't backup the data from those non-CSI-based PVs but that is fine, though it shouldn't completely fail on it I think. |
Thanks for the information. |
Hi @sentia-be-ops, |
What steps did you take and what happened:
Installed velero v1.15.0 using the helm chart v8.0.0 on a k8s v1.30 cluster with vmware-csi based PVs.
Velero will start correctly after install. As soon as the first backup runs the velero pod gets into a CrashLoopBackoff state.
Error shown in the log mentions an "invalid memory address or nil pointer dereference".
I initially installed with the previous helm chart and figured it might be fixed by using chart v8.0.0 as that includes new CRD fields, but no change.
What did you expect to happen:
Velero to not crash and backup my cluster.
The following information will help us better understand what's going on:
Logs
Environment:
Other Info
Backup repository is backed by a NetApp based S3 bucket.
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: