-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
What steps did you take and what happened:
extension of #7292
We want to invalidate backupRepositories on server startup for all pre-existing BSLs.
Red Hat QE have found that after installing velero and running a successful backup with kopia
Scaling down velero deployment to 0 and deleting/recreating BSL with different prefix then scaling velero back to 1 replica.
Creating another kopia backup result in failed kopia backup
status:
completionTimestamp: "2024-01-08T11:19:25Z"
message: 'error to initialize data path: error to boost backup repository connection
ts-dpa-1-ocp-todolist-mariadb-kopia: error to connect backup repo: error to connect
repo with storage: error to connect to repository: repository not initialized
in the provided storage'
phase: Failed
progress: {}
startTimestamp: "2024-01-08T11:19:23Z"
and further, the BackupRepository were pointing to old resticIdentifier.
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 to velero 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 velerovelero backup describe <backupname>orkubectl get backup/<backupname> -n velero -o yamlvelero backup logs <backupname>velero restore describe <restorename>orkubectl get restore/<restorename> -n velero -o yamlvelero restore logs <restorename>
Anything else you would like to add:
Environment:
- Velero version (use
velero version): - Velero features (use
velero client config get features): - Kubernetes version (use
kubectl version): - Kubernetes installer & version:
- Cloud provider or hardware configuration:
- OS (e.g. from
/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.
- 👍 for "I would like to see this bug fixed as soon as possible"
- 👎 for "There are more important bugs to focus on right now"