-
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
VolumeSnapshotContents Synced across clusters are rePUT because of incorrect source #7978
Comments
Initial fix is done in #7924 |
@anshulahuja98 @blackpiglet For 1.14.1, I think the initial fix #7924 is enough right? |
@Lyndon-Li we also need to merge - #7983 |
Post that I can help with cherry pick of both commits |
Put more comments about this fix for the user to understand how this fix works and its limitations. The fix resets the But this modification is not persisted in the backup's metadata in the Backup's object storage, so the VolumeSnapshotContent in the backup's That should be fixed in the v1.15.0 Velero release by removing the VolumeSnapshotContent from the backup metadata. |
Reopen for cherry-picks |
Close as completion. |
What steps did you take and what happened:
Velero syncs VolumeSnapshotContents across clusters with same BSL as part of Backup Sync flow.
Here earlier Velero used to sync them with spec.source.snapshotHandle set, whereas now it is populated with VolumeHandle.
This leads to CSI driver to again trigger createSnapshot - https://github.com/kubernetes-csi/external-snapshotter/blame/master/pkg/sidecar-controller/snapshot_controller.go#L88
This further leads to throttling /high load on the CSI driver leading to other consequences.
What did you expect to happen:
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
If you are using earlier versions:
Please provide the output of the following commands (Pasting long output into a GitHub gist or other pastebin is fine.)
kubectl logs deployment/velero -n velero
velero backup describe <backupname>
orkubectl get backup/<backupname> -n velero -o yaml
velero backup logs <backupname>
velero restore describe <restorename>
orkubectl get restore/<restorename> -n velero -o yaml
velero restore logs <restorename>
Anything else you would like to add:
Environment:
velero version
):velero client config get features
):kubectl version
):/etc/os-release
):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: