-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduled config from helm chart config fails backup with ValidationError #8262
Comments
I could really use some help with this. I finally got describe on the failed backup.
I am creating a BackupStorageLocation in my helm chart:
this does not explain why manual schedules work and helm chart schedules don't. Manual schedules don't specify storageLocation or volumeSnapshotLocations. I have tied everything so I guess the question is what should the schedule chart config look like? |
|
I made the change you suggested and results with:
but my volume snapshot class is not |
I don't think I know how to help without cluster access atm. |
I really do appreciate your response. I found a typo in schedule definition.
That part of the failurevalidation is resolved. I removed volumeSnapshotLocations and it appears it does not need to present but it still failing - now with some kind of time out. I don't have these issues with manually created schedules. Here is the describe. You reply is appcreciated. |
I removed the empty labelSelector:{} because I found this: #2083. It is now failing because it
but they look configured correctly. The volume snapshot class has the label and the storage class has the annotation.
What am I doing wrong? |
After working on this for over a week, I am beginning to think this implementation is broken but waiting for someone to prove me wrong. I don't know what else to try soI am grateful for any reply or ai am going to have to abandon this approach. |
Can you get backup/schedule yaml? |
Prob one of these errors velero/pkg/backup/item_collector.go Line 556 in 42de654
|
What steps did you take and what happened:
Configuring schedules from the velero helm chart:
Great a backup from this schedule gives a message and the backup fails;
But if I create the schedule manually and create a backup from that, I will still get the message gut the backup succeeds.
What did you expect to happen:
I would expect backups from helm chart schedule to run successfully and with no info message
The following information will help us better understand what's going on:
We are using aws eks, k8sv 1.28, velero v 1.14.1 velero chart version 7.2.1
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 tovelero debug --help
The backup name is different but it is the same result regardless
bundle-2024-10-03-18-08-09.tar.gz
Anything else you would like to add:
Environment:
velero version
): 1.14.1velero client config get features
): Not Set but I am usingfeatures: EnableCSI
kubectl version
): 1.28`/etc/os-release
): Amazon LinuxVote 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: