Skip to content
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

fix: wait for backing image restoration finished before checking volume restoration #1916

Merged

Conversation

ChanYiLin
Copy link
Contributor

ref: longhorn/longhorn#8515

We should check if BackingImage is restored and before checking volume is restored.
Because Volume needs to wait until BackingImage to restored.
It may timeout checking the status , because Volume is not finished yet.

@ChanYiLin ChanYiLin requested a review from c3y1huang May 24, 2024 09:09
@ChanYiLin ChanYiLin self-assigned this May 24, 2024
@ChanYiLin ChanYiLin requested a review from a team as a code owner May 24, 2024 09:09
@ChanYiLin
Copy link
Contributor Author

ChanYiLin commented May 24, 2024

Testing PASSED

@ChanYiLin ChanYiLin force-pushed the LH5085_support_system_backup_backingimage branch 6 times, most recently from 99a2d05 to b854c8d Compare May 24, 2024 10:20
@innobead innobead requested a review from yangchiu May 24, 2024 10:22
@ChanYiLin ChanYiLin force-pushed the LH5085_support_system_backup_backingimage branch from b854c8d to 8f82537 Compare May 24, 2024 11:01
c3y1huang
c3y1huang previously approved these changes May 27, 2024
…me restoration

ref: longhorn/longhorn 8515

Signed-off-by: Jack Lin <jack.lin@suse.com>
@ChanYiLin
Copy link
Contributor Author

Hi @yangchiu
I have fixed the comment
While testing, I found there is a bug which make the test flaky
I have created the PR to fix it: longhorn/longhorn-manager#2823

You can wait for the fix PR to be merged, and test it and merge it after.

@yangchiu
Copy link
Member

Merge this first to reveal the issue of longhorn/longhorn-manager#2823.

@yangchiu yangchiu merged commit af4fd95 into longhorn:master May 31, 2024
7 checks passed
@ChanYiLin
Copy link
Contributor Author

ChanYiLin commented May 31, 2024

Hi @yangchiu
We can first verified the system restore with BackingImage in this issue and close the issue first: longhorn/longhorn#8515

Then for e2e flaky issue because of backup failure
The fix has changed to this implementation: longhorn/longhorn-manager#2835
We can use this issue to verified: longhorn/longhorn#8650

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants