vmware-tanzu / velero

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

error getting backup volume info: - context deadline exceeded #7939

Closed edhunter665 closed 3 months ago

edhunter665 commented 3 months ago

What steps did you take and what happened: When trying to describe a backup or restore it takes long time until in runs into an error similar to <error getting backup volume info: Get "https://xxx.xxx.int/tanzu-velero-backup/backups/backup09/backup09-volumeinfo.json.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=6lpdesbK8STCD6zA0ptO%2F20240626%2Fminio%2Fs3%2Faws4_request&X-Amz-Date=20240626T145524Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&x-id=GetObject&X-Amz-Signature=a3e2ed0451b69cdb91a41a1ead1ad59e297f64e8885ca666e3f1222e764de105": context deadline exceeded>

What did you expect to happen: Backup volume info correctly displayed

The following information will help us better understand what's going on: It worked in the beginning. Same issue on different backup locations (MinIO), on different kubernetes clusters on different versions. Happens also on new installations.

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 to velero debug --help

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.

blackpiglet commented 3 months ago

/area CLI

blackpiglet commented 3 months ago

context deadline exceeded This error usually means the CLI fails to connect to the object storage. Could you check whether you can download the VolumeInfo metadata from that link directly at where you run the Velero CLI?

edhunter665 commented 3 months ago

Thank you for that. However, when testing today the error is magically gone. No changes were made. We will keep an eye on that but for now this can be closed.

edhunter665 commented 3 months ago

solved