Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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 ?
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.
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.