-
Notifications
You must be signed in to change notification settings - Fork 276
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(backups): disable CBT when CBT is unusable #8313
Conversation
d71a2fe
to
c9e6146
Compare
Hi @fbeauchamp, i want to comment on this one. It’s not needed to disable cbt on the vdi itself, just removing all cbt snapshots and run a new full is enough to resolve the problems with invalid cbt here. We have seen some rare issues with disabling CBT on a running VM causing the vdi to get stucked into paused state. So i think it’s better to not run that command unsupervised without knowing what can happen. |
c9e6146
to
bf0b696
Compare
this won't be run automatically, at least for now. It will be used when manually disabling Changed Block Tracking , as an additional way to clean up any remaining data, broken cbt chain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me apart from the little typos in the comments
66d6ad6
to
e6c8950
Compare
Co-authored-by: Bastien Nollet <150058367+b-Nollet@users.noreply.github.com>
Co-authored-by: Bastien Nollet <150058367+b-Nollet@users.noreply.github.com>
e6c8950
to
9089550
Compare
introduced by #8313 Co-authored-by: Bastien Nollet <150058367+b-Nollet@users.noreply.github.com>
After installing this update we ran into this error on a cvm "SR_BACKEND_FAILURE_82(, Failed to snapshot VDI [opterr=['MAP_DUPLICATE_KEY', 'VDI', 'sm_config', 'OpaqueRef:69fc25e1-45a5-4aa1-80af-365773dd2fa9', 'paused']], )" i have seen it before when u try to disable cbt on running vms. this happened from the backup job. Seems like this has been initiated because the cbt for this vm was invalid. |
Description
Short explanation of this PR (feel free to re-use commit message)
Checklist
Fixes #007
,See xoa-support#42
,See https://...
)Introduced by
CHANGELOG.unreleased.md
Review process
Notes: