[libvirt-users] issue on fedora21 with libvirt-1.2.13 and 1.2.14 - containers won't start at all

Thierry Parmentelat thierry.parmentelat at inria.fr
Sat Apr 11 12:00:36 UTC 2015


Hi there

I am using fedora21 for hosts and guests, using lxc containers, and was on vanilla 1.2.9 as exposed by the fedora yum repo

The other day I was needing the ability to grant mknod capability to some guests, some chap on IRC kindly pointed me at the <capabilities> tag 
However I was told that needed 1.2.11

So I went and rebuilt from this download
http://libvirt.org/sources/libvirt-1.2.14-1.fc21.src.rpm
using plain rmbuild —rebuild

Once I had upgraded my host with these new rpms it looked like everything was going fine, and my guests indeed were able to mknod

However once I rebooted the host, virsh unpleasantly refused to start any of my containers, and complained like this after hanging for 5 to 10 seconds:

2015-04-11 07:44:10.295+0000: 37843: error : virLXCProcessStart:1263 : internal error: guest failed to start: libvirt:  error : Failed to terminate process 37905 with SIGKILL: Device or resource busy

—
At that point I redid the same with 1.2.13, which gave me the same behaviour, and then 1.2.12 which seems to work for me right now

—
So it looks like 1.2.13 brings me a regression of some kind
I am attaching the XML config for one sample domain, mostly they all look alike

Should I file a bug report, and if so where should I do that ?

thanks 


—
root at buzzcocks ~ # virsh -c lxc:/// dumpxml testmaster
setlocale: No such file or directory
<domain type='lxc' id='1528'>
  <name>testmaster</name>
  <uuid>18989592-f964-4d51-90af-7ecf7719b758</uuid>
  <memory unit='KiB'>1048576</memory>
  <currentMemory unit='KiB'>1048576</currentMemory>
  <vcpu placement='auto'>1</vcpu>
  <numatune>
    <memory mode='strict' placement='auto'/>
  </numatune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64'>exe</type>
    <init>/sbin/init</init>
  </os>
  <features>
    <acpi/>
  </features>
  <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>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/vservers/testmaster'/>
      <target dir='/'/>
    </filesystem>
    <interface type='bridge'>
      <mac address='52:54:00:ae:8b:47'/>
      <source bridge='br0'/>
      <target dev='viftestmaster'/>
      <guest dev='eth0'/>
    </interface>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='lxc' port='0'/>
      <alias name='console0'/>
    </console>
  </devices>
</domain>





More information about the libvirt-users mailing list