-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check on-disk bitmap status on StartVmBackup and on TransferDiskImage
Sometimes a bitmap can become invalid/corrupt without oVirt noticing this. For example if a hypervisor crashes, the active bitmap will become invalid. This means that the qcow2 volume does not contain the bitmap anymore, but oVirt thinks the bitmap still exists because it's in the database. This will currently cause oVirt to fail to create a NBDServer, as it will error with 'Bitmap does not exist in ...'. We use the QemuImageInfo to get all the on-disk bitmaps and compare them with the bitmaps in the oVirt database. If there is some inconsistency we remove all the bitmaps/checkpoints. Signed-off-by: Jean-Louis Dupond <[email protected]>
- Loading branch information
1 parent
109cbe4
commit 376c883
Showing
2 changed files
with
104 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters