Bug 769752
Summary: | Fail to start LXC guest | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Rita Wu <rwu> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3 | CC: | acathrow, ajia, berrange, cwei, dallan, dyuan, eblake, mzhan, whuang |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.9.9-1.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 06:39:48 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rita Wu
2011-12-22 04:48:08 UTC
Dan, does this look familiar? Fix upstream commit 4d82fa688ee4a1d30013e8b3be0151f2c4deace1 Author: Daniel P. Berrange <berrange> Date: Thu Dec 8 14:57:13 2011 +0000 When checking nttyFDs to see if it is != 1, be sure to use '1' and not '-1' * src/lxc/lxc_controller.c: Fix check for tty count The issue has been fixed on libvirt-0.9.9-1.el6.x86_64: # virsh -c lxc:/// define toy.xml Domain toy defined from toy.xml # virsh -c lxc:/// start toy Domain toy started # virsh -c lxc:/// list Id Name State ---------------------------------- 24091 toy running For libvirt-0.9.10-0rc2.el6.x86_64, you will meet the following known issue: # virsh -c lxc:/// start toy error: Failed to start domain toy error: internal error Child process (PATH=/sbin:/usr/sbin:/bin:/usr/bin LIBVIRT_DEBUG=3 LIBVIRT_LOG_OUTPUTS=3:stderr /usr/libexec/libvirt_lxc --name toy --console 48 --handshake 51 --background --veth veth1) status unexpected: exit status 1 The above issue has been fixed on upstream: commit d474dbaddebfce8a2f6cfc4d2c4a9c50c2fab6df Author: Daniel P. Berrange <berrange> Date: Wed Feb 8 14:21:28 2012 +0000 Populate /dev/std{in,out,err} symlinks in LXC containers Some applications expect /dev/std{in,out,err} to exist. Populate them during container startup as symlinks to /proc/self/fd (In reply to comment #6) > For libvirt-0.9.10-0rc2.el6.x86_64, you will meet the following known issue: > > # virsh -c lxc:/// start toy > error: Failed to start domain toy > error: internal error Child process (PATH=/sbin:/usr/sbin:/bin:/usr/bin > LIBVIRT_DEBUG=3 LIBVIRT_LOG_OUTPUTS=3:stderr /usr/libexec/libvirt_lxc --name > toy --console 48 --handshake 51 --background --veth veth1) status unexpected: > exit status 1 > > The above issue has been fixed on upstream: > > commit d474dbaddebfce8a2f6cfc4d2c4a9c50c2fab6df > Author: Daniel P. Berrange <berrange> > Date: Wed Feb 8 14:21:28 2012 +0000 > > Populate /dev/std{in,out,err} symlinks in LXC containers > > Some applications expect /dev/std{in,out,err} to exist. Populate > them during container startup as symlinks to /proc/self/fd It works fine with libvirt-0.9.10-1.el6 now. I can reproduce this bug in RHEL7 libvirt-0.9.7-3.el7.x86_64 qemu-kvm-0.15.1-3.2.el7.x86_64 add comment to track this bug ,we will test it again after RHEL7 libvirt upgrade to 0.9.10 from 0.9.7 . Wenlong Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0748.html |