-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
unable to execute QEMU command 'transaction': Bitmap already exists #9
Comments
it seems your setup is losing checkpoint information if resource is removed.Thats an issue with your environment rather than virtnbdbackup. Information about checkpoints and its bitmaps is stored at two places:
virtnbdbackup attempts to create the checkpoint because according to libvirt it doesnt exist, but the qcow image still You have to find out why your "pcs resource disable vm-template" command removes the checkpoint information but leaves You now need to use qemu direct commands like block-dirty-bitmap-remove to remove the dangling bitmap from the qcow image information using the QMP layer (see: https://qemu-project.gitlab.io/qemu/interop/bitmaps.html) |
Thanks, going to check, probably because VMs are transient in Pacemaker Was able to dump checkpoint to file first
then recreate it after stop/start
Thinking about implementing "redefine lost transient VM checkpoints using virtnbdbackup logs " as a workaround |
yes, most probably. I think qemu-img also has an bitmap option that can remove bitmaps from qcow files. |
Ive pushed a small fix to master branch. Virtnbdbackup should now thaw the filesystems if starting the backup job fails with an exception, that should at least not block your filesystems within the VM in case such an situation happens again :) |
Hi
could you please explain what's wrong with following scenario:
root@d02l:~#
(It's a pacemaker cluster, therefore pcs resource disable/enable instead of
virsh shutdown/start)
The text was updated successfully, but these errors were encountered: