Open abh opened 7 months ago
Suggest to clean your environment before proceeding with backup and restore, because I found both ResticRepository
and BackupRespository
in the debug bundle.
They are not compatible. Please uninstall Velero(velero uninstall
. This command will delete the staled Velero CRD.) environment first, then install the Velero.
Please find more information about deprecation of the ResticRepository
in the Velero v1.10.0 release note. https://github.com/vmware-tanzu/velero/releases/tag/v1.10.0
Thanks @blackpiglet
I had gone through all the upgrade instructions (including for 1.10.0). The restic and backup repositories were going to different targets.
I did as suggested all the same and abandoned the old target in case the upgrade process had left old cruft.
The backups are working now (and I think actually they were before too). I think the issue I ran into was the confusing (but documented!) behavior that the client will talk to the valero / kube API and also talk directly to the object store; and when talking directly to the object store it's not using the "insecure" configuration from the backup location manifest.
Now I understand that, but it's still a pretty terrible UI because for example velero backups logs ...
will error out if --insecure-skip-tls-verify
is added (because it's not relevant there) but velero backups describe ...
requires it for me.
When not specified the output mostly look like things are working except a final confusing error message that I mistook as coming from the server.
velero backups logs ... will error out if --insecure-skip-tls-verify is added (because it's not relevant there)
Could you give more information about this command in your environment?
AFAIK, the velero backup log
CLI needs to download the backup log file from the backup repository, so, for the --insecure-skip-tls-verify
parameter, the velero backup log
and velero backup describe
CLI should have the same result.
By the way, I agree that it could be confusing different versions of the Velero works slightly differently.
What steps did you take and what happened:
I have a backup location defined as
It validates okay according to velero, but when I start a backup it errors out with this error:
What did you expect to happen:
The following information will help us better understand what's going on:
Bundle attached: [removed as it was unclear what was shared and maybe it wasn't relevant]