Wind River Support Network

HomeDefectsOVP-895
Fixed

OVP-895 : lxc:error receiving signal from container: Input/output error

Created: Sep 24, 2013    Updated: Mar 11, 2016
Resolved Date: Oct 29, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.9
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

when use
<domain type='lxc'>
  <name>vm3</name>
  <memory>500000</memory>
  <os>
    <type>exe</type>
    <init>/bin/sh</init>
  </os>
  <vcpu>1</vcpu>
  <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'>
      <source network='default'/>
    </interface>
    <console type='pty' />
  </devices>
</domain>


I get below error

device veth0 entered promiscuous mode
ADDRCONF(NETDEV_UP): veth0: link is not ready
virbr0: port 1(veth0) entered disabled state
device veth0 left promiscuous mode
virbr0: port 1(veth0) entered disabled state
error: Failed to start domain vm3
error: internal error: guest failed to start: PATH=/bin:/sbin TERM=linux container=lxc-libvirt container_uuid=fcc64f01-8486-4ea3-a7e4-b3776854c915 LIBVIRT_LXC_UUID=fcc64f01-8486-4ea3-a7e4-b3776854c915 LIBVIRT_LXC_NAME=vm3 /bin/bash
error receiving signal from container: Input/output error

Steps to Reproduce

just build with ovp-kvm rootfs, and boot with selinux disabled 

start lxc with 
<domain type='lxc'>
  <name>vm3</name>
  <memory>500000</memory>
  <os>
    <type>exe</type>
    <init>/bin/sh</init>
  </os>
  <vcpu>1</vcpu>
  <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'>
      <source network='default'/>
    </interface>
    <console type='pty' />
  </devices>
</domain>
Live chat
Online