[Pkg-libvirt-maintainers] Bug#757644: Bug#757644: lxc: Failed to allocate free veth pair

Guido Günther agx at sigxcpu.org
Mon Aug 11 19:47:45 UTC 2014


reassign 757644 iproute2
found 757644 3.16.0-1
affects 757644 libvirt-daemon-system
tags 757644 +patch
thanks

On Mon, Aug 11, 2014 at 08:18:58AM +0800, Rodney Lorrimar wrote:
> Please find log and configs attached.

Thanks. I can confirm that it works with iproute2 3.15 and breaks with
3.16 so I'm reassigning to ipoute2. 

Dear iproute2 maintainers,

Libvirt breaks with iproute2 3.16 like

Aug 11 17:44:43 bogon libvirtd: 6966: debug : virCommandRunAsync:2299 : About to run ip link add vnet18 type veth peer name vnet19
Aug 11 17:44:43 bogon libvirtd: 6966: debug : virCommandRunAsync:2302 : Command result 0, with PID 7089
Aug 11 17:44:43 bogon libvirtd: 6966: debug : virCommandRun:2150 : Result invalid value 255, stdout: '' stderr: 'Error: argument "vnet18" is wrong
: Unknown device#012'

while it works with 3.15. This was caused by upstream commit

  9a02651a87d0fd56e2e7eedd63921a050a42b3ec

Removing the check makes things work again (see attached patch).
Cheers,
 -- Guido

> 
> Cheers,
> 
> Rodney

> Aug 11 07:33:02 aurora libvirtd[31076]: libvirt version: 1.2.7, package: 6 (root 2014-08-08-16:09:22 bogon)
> Aug 11 07:33:02 aurora libvirtd[31076]: Unable to initialize audit layer: Protocol not supported
> Aug 11 07:33:03 aurora dnsmasq[31158]: started, version 2.71 cachesize 150
> Aug 11 07:33:03 aurora dnsmasq[31158]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC
> Aug 11 07:33:03 aurora dnsmasq-dhcp[31158]: DHCP, IP range 172.16.2.128 -- 172.16.2.254, lease time 1h
> Aug 11 07:33:03 aurora dnsmasq-dhcp[31158]: DHCP, sockets bound exclusively to interface virbr1
> Aug 11 07:33:03 aurora dnsmasq[31158]: reading /etc/resolv.conf
> Aug 11 07:33:03 aurora dnsmasq[31158]: using nameserver 134.115.253.12#53
> Aug 11 07:33:03 aurora dnsmasq[31158]: using nameserver 134.115.253.10#53
> Aug 11 07:33:03 aurora dnsmasq[31158]: using nameserver 134.115.4.33#53
> Aug 11 07:33:03 aurora dnsmasq[31158]: using nameserver 134.115.253.11#53
> Aug 11 07:33:03 aurora dnsmasq[31158]: read /etc/hosts - 4 addresses
> Aug 11 07:33:03 aurora dnsmasq[31158]: read /var/lib/libvirt/dnsmasq/ccgdev.addnhosts - 0 addresses
> Aug 11 07:33:03 aurora dnsmasq-dhcp[31158]: read /var/lib/libvirt/dnsmasq/ccgdev.hostsfile
> Aug 11 07:33:03 aurora dnsmasq[31162]: started, version 2.71 cachesize 150
> Aug 11 07:33:03 aurora dnsmasq[31162]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC
> Aug 11 07:33:03 aurora dnsmasq-dhcp[31162]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h
> Aug 11 07:33:03 aurora dnsmasq-dhcp[31162]: DHCP, sockets bound exclusively to interface virbr0
> Aug 11 07:33:03 aurora dnsmasq[31162]: reading /etc/resolv.conf
> Aug 11 07:33:03 aurora dnsmasq[31162]: using nameserver 134.115.253.12#53
> Aug 11 07:33:03 aurora dnsmasq[31162]: using nameserver 134.115.253.10#53
> Aug 11 07:33:03 aurora dnsmasq[31162]: using nameserver 134.115.4.33#53
> Aug 11 07:33:03 aurora dnsmasq[31162]: using nameserver 134.115.253.11#53
> Aug 11 07:33:03 aurora dnsmasq[31162]: read /etc/hosts - 4 addresses
> Aug 11 07:33:03 aurora dnsmasq[31162]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
> Aug 11 07:33:03 aurora dnsmasq-dhcp[31162]: read /var/lib/libvirt/dnsmasq/default.hostsfile
> Aug 11 07:33:03 aurora libvirtd[31076]: libnuma: Warning: Cannot parse distance information in sysfs: Success
> Aug 11 07:33:03 aurora libvirtd[31076]: XML error: unexpected root element <domain>, expecting <domstatus>
> Aug 11 07:33:33 aurora libvirtd[31076]: internal error: Failed to allocate free veth pair after 10 attempts



> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-enforce-that-dev-already-exists.patch
Type: text/x-diff
Size: 949 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20140811/c94752a5/attachment.patch>


More information about the Pkg-libvirt-maintainers mailing list