| Summary: | guest system is paused after reboot | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Pavel Lisý <pavel.lisy> |
| Component: | libvirt | Assignee: | Eric Blake <eblake> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0 | CC: | eblake, jdenemar, mjenner, mzhan, xen-maint, yoyzhang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.8.7-5.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-19 13:25:39 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Pavel Lisý
2011-01-17 18:50:02 UTC
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 |