[libvirt] LXC: autostart feature does set all interfaces to state up.
Gao feng
gaofeng at cn.fujitsu.com
Wed Jul 3 10:04:07 UTC 2013
Hi,
On 07/01/2013 03:45 PM, Richard Weinberger wrote:
> Hi!
>
> If you have multiple LXC containers with networking and the autostart feature enabled libvirtd fails to
> up some veth interfaces on the host side.
>
> Most of the time only the first veth device is in state up, all others are down.
>
> Reproducing is easy.
> 1. Define a few containers (5 in my case)
> 2. Run "virsh autostart ..." on each one.
> 3. stop/start libvirtd
>
> You'll observe that all containers are running, but "ip a" will report on the host
> side that not all veth devices are up and are not usable within the containers.
>
> This is not userns related, just retested with libvirt of today.
I can not reproduce this problem on my test bed...
maybe you should wait some seconds for the starting of these containers.
Thanks!
More information about the libvir-list
mailing list