Closed brovoca closed 5 months ago
It seems Restic backup is incremental. They need previous backups to work. I'm not sure this causes the backups cannot be deleted.
@blackpiglet some of our restic backups can be deleted, others not. Also, I know that borg backup has no problem deleting any backup, even if all are incremental.
Closing this issue as this is for an old version of Velero and there is no update for long time. Please try with the latest version of Velero under the Kopia path, feel free to reopen it if the problem could be reproduced.
What steps did you take and what happened:
Backups have been running as normal until we added a lot of small files to our PVs. This has caused the AKS nodes to OOMKill Restic while running the
jenkins
schedule. The OOMKill issue is being investigated with Azure, but yet still, the backups can not be deleted. Deletion of e.g.jenkins-20220205003047
has been attempted, but it's stuck. I've restarted the velero deployment and restic daemonset, but it didn't help.What did you expect to happen:
Backup is deleted :-)
The following information will help us better understand what's going on:
If you are using velero v1.7.0+:
Please use
velero debug --backup <backupname> --restore <restorename>
to generate the support bundle, and attach to this issue, more options please refer tovelero debug --help
jenkins-20220209003046-bundle-2022-02-09-09-43-38.tar.gz
The backups
monitoring-20220202000044
andmonitoring-20220201000043
were successful, but yet fail to delete. Unable to obtain bundle for those +jenkins-20220205003047
since the logs have been deleted:Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
velero version
):velero client config get features
): NOT SETkubectl version
):/etc/os-release
): N/AVote 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.