Hide Forgot
Description of problem: Host OS will be restart after start LXC domain guest Version-Release number of selected component (if applicable): libvirt-0.8.7-7.el6.x86_64 qemu-kvm-0.12.1.2-2.145.el6.x86_64 qemu-img-0.12.1.2-2.145.el6.x86_64 kernel-2.6.32-113.el6.x86_64 How reproducible: 5/5 Steps to Reproduce: 1.# cat vm1.xml <domain type='lxc'> <name>vm1</name> <uuid>386f5b25-43ee-9d62-4ce2-58c3809e47c1</uuid> <memory>500000</memory> <currentMemory>500000</currentMemory> <vcpu>1</vcpu> <os> <type arch='x86_64'>exe</type> <init>/bin/sh</init> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/libvirt_lxc</emulator> <interface type='network'> <mac address='52:54:00:f2:2c:ac'/> <source network='default'/> <target dev='veth0'/> </interface> <console type='pty'> <target port='0'/> </console> </devices> </domain> 2.Defined and start the LXC domain guest. # virsh -c lxc:/// define vm1.xml Domain vm1 defined from vm1.xml # virsh -c lxc:/// start vm1 Domain vm1 started After that host OS will be restart. Actual results: Host OS will be restart after start LXC domain guest Expected results: After start LXC domain guest,host OS should be works fine. Additional info: Note:If I change kernel to verison :(kernel-2.6.32-71.17.1.el6.x86_64),host os will works fine after start LXC domain guest.
Can you describe what happens to the host OS in more details. Are you getting a kernel panic ? Or is it an instant reboot ? Or does it shutdown gracefully & reboot ?
Created attachment 480707 [details] Kernel panic seen when launching a container
Further points of reference: - 2.6.32-109.el6.x86_64 - crashes - 2.6.32-94.el6.x86_64 - works fine The crash can be avoided by removing the <interface> element from the XML for the guest. The panic in comment #2 also includes networking functions in the stack trace. So these two things point to a regression in the networking stack vs 6.0 kernels
Created attachment 480723 [details] host crash&restart message log The host os first crash and then will be restart. The details message please sees the attachment.
tested with libvirt-0.8.7-8.el6.x86_64 qemu-kvm-0.12.1.2-2.147.el6.x86_64 kernel-2.6.32-117.el6.x86_64 Steps to Reproduce: 1.# cat vm1.xml <domain type='lxc'> <name>vm1</name> <uuid>386f5b25-43ee-9d62-4ce2-58c3809e47c1</uuid> <memory>500000</memory> <currentMemory>500000</currentMemory> <vcpu>1</vcpu> <os> <type arch='x86_64'>exe</type> <init>/bin/sh</init> </os> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/libvirt_lxc</emulator> <interface type='network'> <mac address='52:54:00:f2:2c:ac'/> <source network='default'/> <target dev='veth0'/> </interface> <console type='pty'> <target port='0'/> </console> </devices> </domain> 2.Defined and start the LXC domain guest. # virsh -c lxc:/// define vm1.xml Domain vm1 defined from vm1.xml # virsh -c lxc:/// start vm1 Domain vm1 started Tried 5 times , and kernel panic twice . So with the new version the reproducible percentage is not 100%
*** This bug has been marked as a duplicate of bug 677786 ***