Hello,

I've encountered the following error, trying to start a domain:

error: internal error Child process 
(PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LIBVIRT_DEBUG=2 LIBVIRT_LOG_OUTPUTS=2:syslog:libvirtd /usr/libexec/libvirt_lxc 
--name vm_14 --console 18 --handshake 21 --background --veth veth1) status 
unexpected: exit status 1

I see nothing relevant in syslog, google searches have returned nothing. 
Starting libvirt_lxc manually seems to work (the process never returns), but of 
course the VMs do not start.

I am at a loss on what to do next. I'm running Ubuntu 10.04, which is itself a 
guest system running under virtual box (host is OSX Lion). I've compiled 
libvirt from git (using /usr as the --prefix, after removing the OS package), 
LXC containers are installed from a PPA, as the default Ubuntu kernel doesn't 
enable network namespaces. LXC itself doesn't appear to be a problem, as I can 
start VMs with lxc-start. Since I required libvirt's API, using LXC directly is 
not desirable.

Does anyone have any tips on what I should be looking for? Thanks.


-- Stephen


-- Domain definition follows:

<domain type='lxc'>
  <name>vm_14</name>
  <uuid>9243fb5b-6b26-44af-7408-69c7f2d4ff03</uuid>
  <memory>262144</memory>
  <currentMemory>262144</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='x86_64'>exe</type>
    <init>/sbin/init</init>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>preserve</on_crash>
  <devices>
    <emulator>/usr/libexec/libvirt_lxc</emulator>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/var/lib/lxc/vmpea/rootfs/'/>
      <target dir='/'/>
      <readonly/>
    </filesystem>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/home/lxcadmin/repositories/14'/>
      <target dir='/home/lxcmaster'/>
    </filesystem>
    <interface type='network'>
      <mac address='52:54:00:10:7a:e7'/>
      <source network='default'/>
      <target dev='veth0'/>
    </interface>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
  </devices>
</domain>



_______________________________________________
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users

Reply via email to