Bug 1209757

Summary: lxc fail to start with error "Device or resource busy"
Product: [Community] Virtualization Tools Reporter: Shanzhi Yu <shyu>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: crobinso, dyuan, jdenemar, jsuchane, lhuang, mzhan, rbalakri, xuzhang, yanyang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-10 21:00:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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