[libvirt-users] Unable to start LXC on Gentoo w/ libvirt 1.0.4 or 1.0.5. 1.0.3 works

Dennis Jenkins dennis.jenkins.75 at gmail.com
Tue May 14 14:06:36 UTC 2013


Hello Daniel,

    Thank you for your quick response.  The logs you requested are below.

On Tue, May 14, 2013 at 8:55 AM, Daniel P. Berrange <berrange at redhat.com>wrote:

> On Tue, May 14, 2013 at 08:28:48AM -0500, Dennis Jenkins wrote:We need to
> get more debug info from this file. Stop libvirtd and edit
>
>   /etc/libvirt/lxc.conf
>
> and set
>
>   log_with_libvirtd=1
>
> and then run libvirtd with
>
>   LIBVIRT_LOG_OUTPUTS=1:stderr LIBVIRT_LOG_FILTERS="3:event 3:json
> 3:object 1:util 1:lxc" /usr/sbin/libvirtd
>
>
Done.



> and then try to start a container again. The container log
> file above should now get much more verbose data (i don't
> care about the log output from libvirtd itself - just the
> container log file).
>
> Daniel
>

ostara ~ # virsh -c lxc:/// start dwj-lnx-dev
error: Failed to start domain dwj-lnx-dev
error: internal error guest failed to start: '
'
2013-05-14 14:01:24.666+0000: 20695:


The log is large to place inline in an email (32K), so I posted it (no
expiration) to pastebin.  But below are the juicy bits.  If you want the
entire log in the email, I will resend it.

http://pastebin.com/nXcNQukz

2013-05-14 14:01:25.265+0000: 1: debug : lxcContainerMountBasicFS:712 :
Mount sysfs on /sys type=sysfs flags=1021, opts=(null)
2013-05-14 14:01:25.265+0000: 1: debug : lxcContainerMountBasicFS:736 :
Mount devfs on /dev type=tmpfs flags=2, opts=mode=755,size=65536
2013-05-14 14:01:25.265+0000: 1: debug : lxcContainerMountBasicFS:748 : rc=0

2013-05-14 14:01:25.265+0000: 1: debug : virFileMakePathHelper:1274 :
path=/dev/pts mode=0777
2013-05-14 14:01:25.265+0000: 1: debug : virFileMakePathHelper:1274 :
path=/dev mode=0777
2013-05-14 14:01:25.265+0000: 1: debug : lxcContainerMountFSDevPTS:802 :
Trying to move /.oldroot//var/run/libvirt/lxc/dwj-lnx-dev.devpts to /dev/pts
2013-05-14 14:01:25.265+0000: 1: error : lxcContainerMountFSDevPTS:808 :
Failed to mount /.oldroot//var/run/libvirt/lxc/dwj-lnx-dev.devpts on
/dev/pts: No such file or directory
2013-05-14 14:01:25.265+0000: 1: debug : virFileClose:72 : Closed fd 13
2013-05-14 14:01:25.265+0000: 1: debug : virFileClose:72 : Closed fd 9
2013-05-14 14:01:25.265+0000: 1: debug : virFileClose:72 : Closed fd 11
2013-05-14 14:01:25.265+0000: 20717: error : virLXCControllerRun:1481 :
error receiving signal from container: Input/output error
2013-05-14 14:01:25.265+0000: 20717: debug : virFileClose:72 : Closed fd 8
2013-05-14 14:01:25.265+0000: 20717: debug : virFileClose:72 : Closed fd 10
2013-05-14 14:01:25.265+0000: 20717: debug : virProcessAbort:96 : aborting
child process 20718
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130514/9ffa9132/attachment.htm>


More information about the libvirt-users mailing list