Bug 1209757 - lxc fail to start with error "Device or resource busy"
Summary: lxc fail to start with error "Device or resource busy"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-08 07:37 UTC by Shanzhi Yu
Modified: 2016-04-10 21:00 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-10 21:00:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Shanzhi Yu 2015-04-08 07:37:17 UTC
Description of problem:

lxc fail to start with error "Device or resource busy"

Version-Release number of selected component (if applicable):
libvirt-1.2.14-1.el7.x86_64


How reproducible:

100%

Steps to Reproduce:

1. Try to create a lxc
# virsh -c lxc:/// create /dev/stdin <<EOF
<domain type='lxc'>
<name>lxc</name>
<uuid>5f205071-0664-4a9f-872d-4d24fc7e5e27</uuid>
<memory unit='KiB'>500000</memory>
<currentMemory unit='KiB'>500000</currentMemory>
<vcpu placement='static'>1</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<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='9a:b5:91:06:f6:21'/>
<source network='default'/>
</interface>
<console type='pty'>
<target type='lxc' port='0'/>
</console>
</devices>
</domain>
EOF

error: Failed to create domain from /dev/stdin
error: internal error: guest failed to start: libvirt: error : Failed to terminate process 20203 with SIGKILL: Device or resource busy





Actual results:


Expected results:


Additional info:

Comment 3 Yang Yang 2016-01-25 08:53:45 UTC
I cannot reproduce it on neither libvirt-1.3.2-1.fc24_v1.3.1_34_g29cc45c.x86_64 nor libvirt-1.2.17-13.el7_2.2

Comment 4 Cole Robinson 2016-04-10 21:00:33 UTC
Closing due to Comment #3


Note You need to log in before you can comment on or make changes to this bug.