The Snapshot manager is greyed out, and the mouseover tells me that « Libvirt connection does not support snapshots ». If I try to launch virt-manager with --debug --no-fork: Exception ignored in: <function virDomainSnapshot.__del__ at 0x7fcc49fa7c10> Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/libvirt.py", line 7030, in __del__ [dim., 11 oct. 2020 21:28:32 virt-manager 82974] DEBUG (connection:1076) network=default status=Actif added [dim., 11 oct. 2020 21:28:32 virt-manager 82974] DEBUG (connection:691) storage pool refresh event: pool=ISOs if self._o is not None: AttributeError: 'virDomainSnapshot' object has no attribute '_o' Same thing happens with python3.7 and also with virt-manager-2.2.1-r3. It seems that using virsh to manage snapshot is still working great, but only has a workaround… Reproducible: Always Steps to Reproduce: 1. Try to manage snapshot of a VM 2. Icon is greyed out 3. Impossible to take snapshot with virt-manager Actual Results: No snapshot management available. Expected Results: Snapshot management available.
Did you try upgrading libvirt to the latest version?
I'm currently using app-emulation/libvirt-6.8.0.
Here are more info: - Kernel: 5.9.0-gentoo-x86_64, - app-emulation/libvirt-6.8.0, - app-emulation/libvirt-glib-3.0.0, - dev-python/libvirt-python-6.8.0, - app-emulation/virt-manager-3.1.0, - app-emulation/spice-0.14.3, - app-emulation/spice-protocol-0.14.1, - net-misc/spice-gtk-0.38, - media-libs/libglvnd-1.3.2-r1, - media-libs/virglrenderer-0.8.2, - app-emulation/qemu-5.1.0-r1.
After some little investigations, I found a « workaround »: - downgrade app-emulation/libvirt to 6.7.0, - downgrade dev-python/libvirt-python to 6.7.0. It seems that virt-manager is not yet compatible with: - app-emulation/libvirt-6.8.0, - dev-python/libvirt-python-6.8.0. Especially with dev-python/libvirt-python-6.8.0. Scripts from that package (in this version) are complaining when used by virt-manager.
It seams that using the following works: - app-emulation/libvirt-6.9.0-r1, - dev-python/libvirt-python-6.9.0. The issue was a bug in libvirt-python-6.8.0 upstream. There was no problem in app-emulation/virt-manager, actually. No more issue now. :)
I have slightly different problem with a stable app-emulation/virt-manager-2.2.1-r3: it doesn't list VMs that have snapshots. Upgrading from libvirt-6.8.0 to 6.9.0 fixes that.
@Julien: Thank you for this report, it was really useful. @Alexander: I tried app-emulation/virt-manager-3.1.0 and it has the same issue you describe, I too had eventually to upgrade app-emulation/libvirt and dev-python/libvirt-python to 6.9.0 instead of simply downgrading to 6.7.0, in order to fix both issues.
It appears that this was fixed with virt-manager-3.1.0 and libvirt-6.9.0. I pushed up virt-manager-3.2.0 and libvirt-6.10.0 this week - could someone affected by this please try this combination and see if the issue remains there?
(In reply to Jonathan Davies from comment #8) > It appears that this was fixed with virt-manager-3.1.0 and libvirt-6.9.0. > > I pushed up virt-manager-3.2.0 and libvirt-6.10.0 this week - could someone > affected by this please try this combination and see if the issue remains > there? I just tested things and it worked for me with app-emulation/libvirt-6.10.0-r2 dev-python/libvirt-python-6.10.0 app-emulation/virt-manager-3.1.0
(In reply to hfk22 from comment #9) > (In reply to Jonathan Davies from comment #8) > > It appears that this was fixed with virt-manager-3.1.0 and libvirt-6.9.0. > > > > I pushed up virt-manager-3.2.0 and libvirt-6.10.0 this week - could someone > > affected by this please try this combination and see if the issue remains > > there? > > I just tested things and it worked for me with > > app-emulation/libvirt-6.10.0-r2 > dev-python/libvirt-python-6.10.0 > app-emulation/virt-manager-3.1.0 As a word of warning, although the above packages did fix the problem with snapshots, it also broke usb devices such as a camera and headset. Reverting to app-emulation/libvirt-6.8.0-r2 dev-python/libvirt-python-6.8.0 app-emulation/virt-manager-3.1.0 fixes the issues with the external devices, but then snapshots remain broken. Mostly, I mention this because fixing one issue may break another, so it's not quite as easy as a version bump.
*** Bug 760872 has been marked as a duplicate of this bug. ***