You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps did you take and what happened:
When setting useOwnerReferencesInBackup to true, velero is unable to restore Backup resoruces unless the uid of the parent schedule is the same as when it was created.
Not sure if that is clear... So here in steps:
create cluster
install velero
create schedule with name x with useOwnerReferencesInBackup: true
wait for schedule to trigger and make a backup
destroy cluster
create cluster
install velero
create schedule with name x with useOwnerReferencesInBackup: true
wait for velero to restore previous Backup - FAIL
Logs will gladly say it was a success:
time="2023-09-22T04:19:09Z" level=info msg="Found 1 backups in the backup location that do not exist in the cluster and need to be synced" backupLocation=velero/aws controller=backup-sync logSource="pkg/controller/backup_sync_controller.go:135"
time="2023-09-22T04:19:09Z" level=info msg="Attempting to sync backup into cluster" backup=velero-testmeschedule-20230922040030 backupLocation=velero/aws controller=backup-sync logSource="pkg/controller/backup_sync_controller.go:143"
time="2023-09-22T04:19:09Z" level=info msg="Successfully synced backup into cluster" backup=velero-testmeschedule-20230922040030 backupLocation=velero/aws controller=backup-sync logSource="pkg/controller/backup_sync_controller.go:185"
Similar problem:
create cluster a
create cluster b
install velero in both
create schedule with name a and b with useOwnerReferencesInBackup: true where a takes backup of cluster a resource and similar for b.
wait for schedule to trigger on a and make a backup
on b wait for velero to restore previous Backup for a - FAIL
What did you expect to happen:
velero-testmeschedule-20230922040030 is correctly restore as a child of the new x.
or
backups made on cluster a is visible on cluster b.
The following information will help us better understand what's going on:
Anything else you would like to add:
Other bugs with similar problem: #4456 #4093
Environment:
Velero version (use velero version): 1.11.1
Velero features (use velero client config get features): none
Kubernetes version (use kubectl version): 1.27.3 and 1.28.2
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"
The text was updated successfully, but these errors were encountered:
What steps did you take and what happened:
When setting useOwnerReferencesInBackup to true, velero is unable to restore
Backup
resoruces unless theuid
of the parent schedule is the same as when it was created.Not sure if that is clear... So here in steps:
x
with useOwnerReferencesInBackup: truex
with useOwnerReferencesInBackup: trueBackup
- FAILLogs will gladly say it was a success:
Similar problem:
a
b
a
andb
with useOwnerReferencesInBackup: true wherea
takes backup of clustera
resource and similar forb
.a
and make a backupb
wait for velero to restore previousBackup
fora
- FAILWhat did you expect to happen:
velero-testmeschedule-20230922040030
is correctly restore as a child of the newx
.or
backups made on cluster
a
is visible on clusterb
.The following information will help us better understand what's going on:
Anything else you would like to add:
Other bugs with similar problem:
#4456
#4093
Environment:
velero version
): 1.11.1velero client config get features
): nonekubectl version
): 1.27.3 and 1.28.2Vote 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: