Automated test suite cannot restore internal snapshots with libvirt >= 11.2.0
When restoring a snapshot it fails like this:
The (internal nor external) snapshot usb-install-tails-greeter may be known by libvirt but it cannot be restored. To investigate, use 'virsh snapshot-list TailsToaster'. To clean up old dangling snapshots, use 'virsh snapshot-delete'.
Error: Call to virDomainRevertToSnapshot failed: operation failed: load of internal snapshot 'usb-install-tails-greeter' job failed: Device 'libvirt-1-format' is writable but does not support snapshots (RuntimeError)
Downgrading to 11.1.0-1 fixes the issue.
-
Reported upstream: https://gitlab.com/libvirt/libvirt/-/issues/771
-> minimal patch: https://gitlab.com/libvirt/libvirt/-/commits/889d2ae289cd95d612575ebc7a4e111ac33b0939
-
Reported to Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104735
-> MR for fix in Debian: https://salsa.debian.org/libvirt-team/libvirt/-/merge_requests/267
-> expected fixed version: 11.3.0-2
-
Unblock request with the patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107107
Edited by hefee