-
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
Restic podvolumerestore failure not causing restore to fail #2121
Comments
@dymurray do you have the log for the restore as well? |
@skriss Yup, here is the relevant portion of the restore logs:
|
@dymurray just coming back to this, I think there's potentially a race condition in some of the code that's collecting errors from the restic restore operations and propagating them back to the main velero restore. I'll look at fixing that. |
@skriss ah interesting thank you very much. I had been going down the path of trying to reproduce by running out of space on the restic volume but I think you may be on to something. Will help review your PR. |
Just want to note I cannot confirm this PR solved my issue above. I will do some testing and reopen if I still find this issue is valid. |
bummer -- will keep an eye out for more info |
What steps did you take and what happened:
[A clear and concise description of what the bug is, and what commands you ran.)
A restore was created which attempted to write 1 GB of data to a 1MB volume from restic. Restic errors out since it runs out of space to write data to, and the podvolumerestore fails. However, the associated Velero
restore
is in aCompleted
state even though the restic restore failed.What did you expect to happen:
I expected the Velero restore to fail.
Output of podvolumerestore
The text was updated successfully, but these errors were encountered: