Hide Forgot
Created attachment 529379 [details] Screenshot demonstrating problem Description of problem: Shutting down a RHEV guest (RHEL 6.0/6.1) causes it to go into the 'Paused' state instead of 'Shutdown'. I've tried: * 'Shut Down' on the guest from RHEV * 'poweroff' from the guest command line with the same result. Expected Result: Guest shuts down and goes into 'Powered Off' state. Actual Result: Guest shuts down and goes into 'Paused' state.
Would you provide the versions of vdsm, qemu-kvm, and libvirt, on you host? Please attach the relevant parts of /var/log/vdsm/vdsm.log and /var/log/libvirtd.log (which can become huge in size), and /var/log/libvirt/qemu/<vmname>.log. If you log into the host and run virsh -r list do you see your guest listed as paused? I'm asking all these questions because I think it is a libvirt or qemu bug.
Versions: vdsm-4.9-106.el6.x86_64 qemu-kvm-0.12.1.2-2.184.el6.x86_64 libvirt-0.9.4-16.el6.x86_64 Yep, it shows as paused: [root@rhev1 ~]# virsh -r list Id Name State ---------------------------------- 1 rhes-6 paused
Created attachment 529535 [details] Requested logs
guest most probably exited correctly 12:16:24.927: 3137: debug : qemuMonitorEmitRTCChange:913 : mon=0x7f96d80032f0 but qemu does not exit 12:16:27.546: 3137: debug : qemuMonitorEmitShutdown:873 : mon=0x7f96d80032f0 12:16:27.546: 3137: debug : qemuProcessHandleShutdown:466 : vm=0x7f96d8001ce0 12:16:27.546: 3137: debug : qemuProcessKill:3209 : vm=rhes-6 pid=29782 gracefully=1 12:16:27.548: 3137: debug : qemuMonitorEmitStop:903 : mon=0x7f96d80032f0 12:16:27.548: 3137: debug : qemuProcessHandleStop:489 : Got STOP event after SHUTDOWN, assuming we are stopping for shutdown 12:16:27.548: 3137: debug : qemuProcessHandleStop:494 : Transitioned guest rhes-6 to paused state, reason=shutdown since its command line has -no-shutdown.
(In reply to comment #3) > Versions: > vdsm-4.9-106.el6.x86_64 > qemu-kvm-0.12.1.2-2.184.el6.x86_64 > libvirt-0.9.4-16.el6.x86_64 This is a known bug with your version of qemu. See bug 747543, and upgrade to qemu-kvm-0.12.1.2-2.192.el6 or newer. *** This bug has been marked as a duplicate of bug 747543 ***