Hide Forgot
Description of problem: Host system RHEL6, guest system is RHEL5, guest system is set in autoboot state. When I reboot host system guest system stays paused. I suppose it should be running. Version-Release number of selected component (if applicable): libvirt-0.8.1-27.el6.x86_64 How reproducible: always Steps to Reproduce: 1. install RHEL5 guest system 2. set is autobooting 3. reboot host system Actual results: guest system is paused Expected results: guest system is running Additional info: virsh list Id Name State ---------------------------------- 1 hosea paused In /var/log/messages I can see error: libvirtd: 19:20:12.055: error : qemuMonitorJSONCheckError:316 : internal error unable to execute QEMU command 'cont': An incoming migration is expected before this command can be executed I can resume it: virsh resume hosea than uptime is longer than uptime of host (I suppose it is intentional) uptime 19:44:51 up 4 days, 4:37, 1 user, load average: 0.49, 0.11, 0.04
Correct version of RHEL is 6.0
Ping. Is somebody reading this?
Yes - in fact, this sounds suspiciously like this upstream patch is the solution: https://www.redhat.com/archives/libvir-list/2011-January/msg00877.html
Hello I see you have made patched version. Cam I try it now? Is it available to download?
(In reply to comment #7) > Hello I see you have made patched version. Cam I try it now? Is it available to > download? Yes, you can find some pre-release packages for testing at http://veillard.com/libvirt/6.1/
Perfect. I've updated libvirt from this source and it is working now! All guests have been resumed correctly after reboot. Thanks a lot.
Verified as Passed in below environment: # uname -a Linux dhcp-65-85.nay.redhat.com 2.6.32-112.el6.x86_64 #1 SMP Wed Feb 2 14:17:15 EST 2011 x86_64 x86_64 x86_64 GNU/Linux kernel-2.6.32-112.el6.x86_64 qemu-kvm-0.12.1.2-2.132.el6.x86_64 libvirt-0.8.7-6.el6.x86_64 Steps: 1. # cat /etc/sysconfig/libvirt-guest make sure the ON_BOOT=start,ON_SHUTDOWN=suspend 2. Make sure the guest is in running status, also do some operations in the guest. 3. Reboot the host,check the guest status and log. # virsh list --all Id Name State ---------------------------------- 1 libvirt5 running ------------- I can reproduce this bug with libvirt-0.8.1-27.el6.x86_64. # virsh list --all Id Name State ---------------------------------- 1 libvirt5 paused The log has below information: ... 16:42:43.444: debug : virJSONValueToString:1059 : result={"error":{"class":"MigrationExpected","desc":"An incoming migration is expected before this command can be executed","data":{}}} 16:42:43.444: debug : virEventRunOnce:593 : Poll on 8 handles 0x7f32e4081fd0 timeout -1 16:42:43.444: debug : qemuMonitorJSONCheckError:305 : unable to execute QEMU command {"execute":"cont"}: {"error":{"class":"MigrationExpected","desc":"An incoming migration is expected before this command can be executed","data":{}}} 16:42:43.444: error : qemuMonitorJSONCheckError:316 : internal error unable to execute QEMU command 'cont': An incoming migration is expected before this command can be executed 16:42:43.444: info : qemuSecurityDACRestoreSecurityFileLabel:80 : Restoring DAC user and group on '/var/lib/libvirt/qemu/save//libvirt5.save' ...
What kind of info do you need?
(In reply to comment #10) > Verified as Passed in below environment: > # uname -a > Linux dhcp-65-85.nay.redhat.com 2.6.32-112.el6.x86_64 #1 SMP Wed Feb 2 14:17:15 > EST 2011 x86_64 x86_64 x86_64 GNU/Linux > kernel-2.6.32-112.el6.x86_64 > qemu-kvm-0.12.1.2-2.132.el6.x86_64 > libvirt-0.8.7-6.el6.x86_64 > > Steps: > 1. # cat /etc/sysconfig/libvirt-guest > make sure the ON_BOOT=start,ON_SHUTDOWN=suspend > > 2. Make sure the guest is in running status, also do some operations in the > guest. > > 3. Reboot the host,check the guest status and log. > # virsh list --all > Id Name State > ---------------------------------- > 1 libvirt5 running > > > ------------- > I can reproduce this bug with libvirt-0.8.1-27.el6.x86_64. > > # virsh list --all > Id Name State > ---------------------------------- > 1 libvirt5 paused With this version: libvirt-0.8.7-5.el6.x86_64 it works correctly
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0596.html