vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.45k stars 1.37k forks source link

Error uploading log file SignatureDoesNotMatch #7688

Open dploeger opened 3 months ago

dploeger commented 3 months ago

What steps did you take and what happened: Create backups from schedule. The backup is marked as "failed". Using velero backup logs on the failed backup yields in "File not found" - apparently, Velero started the backup and Kopia actually produced snapshots and stored them on S3, but Velero wasn't able to store its backup and the logs to s3.

What did you expect to happen: The backups run successfully

The following information will help us better understand what's going on: bundle-2024-04-16-11-44-25.tar.gz

Anything else you would like to add: We've deployed Velero on our local Tanzu cluster with the AWS plugin to store the backup on our local Cloudian HyperStore. Until friday everything went fine.

A problem I can think of is, that we used the :latest tag with our aws-plugin init container and on Friday the most current image version was pulled and deployed.

However, we now fixed the version to 1.9.1 (which is the recommended version for 1.13.1) but the problem still persists.

Environment:

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.

reasonerjt commented 3 months ago

@dploeger Have you checked with older version of aws-plugins like v1.8.1. We have seen issue on S3-compatible storage after adding checksum to the request. Similar to https://github.com/vmware-tanzu/velero/issues/7534 Some vendor reports 403 but it's misleading.

Could you please also check the workaround provided in aws-plugin v1.9.2 where you can skip adding the checksum to request header?

dploeger commented 3 months ago

@reasonerjt Thank you! Yes, both work: Downgrading to 1.8.1 and disabling the checksum in 1.9.2.

If this is the way to go, disabling the checksum should be documented somewhere.