Not sure how exactly it happened, but virt-manager lost track of one of my VMs run state. It was permanently stuck as 'Running' in the manager window, regardless of whether I started or stopped it with virsh. When it was off, if I tried to 'stop' it in the UI, it would rightly error (from libvirt) that the VM was already shut off, but the UI didn't update. In the debug output, I could see that libvirt was delivering the start/stop signals and virt-manager was logging a bit, but it didn't seem to make a difference updating the manager window at least.
I've seen this twice tonight during installs to fresh VMs. The first one was with an OSGeo Live (Lubuntu 14.04) guest and the second with a Fedora 20 guest. The symptom was the same in both cases - go through the standard install procedure and initiate a shutdown inside the guest. It shuts down, the console goes blank but Virtual Machine Manager shows the guest as still running. Restarting Virtual Machine Manager gives the correct state of the guest.
I've seen this intermittently in as well.
Is there some kind of logging either already in place or something we can enable? It seemed pretty reproducible to me - it happened twice. If we had logging I could go through my standard install sequence until it happened.
*** Bug 1158408 has been marked as a duplicate of this bug. ***
Created attachment 1008626 [details] virt-manager --debug output on F20 I see this on F20 with a qemu://session connection. I seem to be able to reproduce it just after 'installing' a live iso image (not to disk, just so I can boot the iso in a VM) In the attached debug output, I installed the live iso (Choosing to install an existing disk image and selecting the F21 Workstation iso - I also had to delete the qemu-ga channel to workaround bug #1105274) Then the VM was shut off from the gnome top-right menu: the "Viewer disconnected" line came when the vm finished shutting off. Then you can see I closed the VM details window and saw the main virt-manager window reported that it was still running. I reopened the VM details window and it told me it was not running, but the main window still didn't realise this. Then I close virt-manager, waited for the qemu://session libvirtd to time out and re-opened it and it no longer reported that the VM was running. I I repeated the boot and shutdown cycle and this time virt-manager reported it was no longer running. Packages installed: virt-manager-1.0.1-5.fc20.noarch libvirt-1.1.3.9-1.fc20.x86_64
I could reproduce with F21 host, but never notice that with a F22 host.
I haven't seen this on f22 and later either... so since the root issue was never found it's unlikely to be fixed on f21. So just closing this as CURRENTRELEASE for f22