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

feat(backups/CBT): retry data_destroy when error is VDI_IN USE #7960

Merged
merged 4 commits into from
Sep 10, 2024

Conversation

fbeauchamp
Copy link
Collaborator

sometimes the capi take too long to detach the VDI
in this case, the timeout is fixed at 4s, non modifiable
when the timeout is reached the xapi raise a VDI_IN_USE error

this is an internal process of the xapi

This commit add a retry on XO side to give more room for the xapi
to work through this process, as XO already do it one vdi destroying

fix #7826

Description

Short explanation of this PR (feel free to re-use commit message)

Checklist

  • Commit
    • Title follows commit conventions
    • Reference the relevant issue (Fixes #007, See xoa-support#42, See https://...)
    • If bug fix, add Introduced by
  • Changelog
    • If visible by XOA users, add changelog entry
    • Update "Packages to release" in CHANGELOG.unreleased.md
  • PR
    • If UI changes, add screenshots
    • If not finished or not tested, open as Draft

@fbeauchamp fbeauchamp marked this pull request as ready for review September 4, 2024 09:22
@fbeauchamp fbeauchamp requested a review from b-Nollet September 5, 2024 09:52
Copy link
Contributor

@b-Nollet b-Nollet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog entry is missing, otherwise LGTM

@fbeauchamp fbeauchamp requested a review from julien-f September 10, 2024 07:49
@julien-f julien-f force-pushed the feat_retry_remove_snapshot branch from aaa8bc1 to 7b1cb16 Compare September 10, 2024 10:15
fbeauchamp and others added 4 commits September 10, 2024 12:17
sometimes the capi take too long to detach the VDI
in this case, the timeout is fixed at 4s, non modifiable
when the timeout is reached the xapi raise a VDI_IN_USE error

this is an internal process of the xapi

This commit add a retry on XO side to give more room for the xapi
to work through this process, as XO already do it one vdi destroying

fix #7826
@julien-f julien-f force-pushed the feat_retry_remove_snapshot branch from 7b1cb16 to 67a9dfa Compare September 10, 2024 10:17
@julien-f julien-f merged commit 9504132 into master Sep 10, 2024
1 check passed
@julien-f julien-f deleted the feat_retry_remove_snapshot branch September 10, 2024 10:19
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.

Couldn't deleted snapshot data
3 participants