[libvirt] LXC: autostart feature does set all interfaces to state up.

Richard Weinberger richard at nod.at
Mon Jul 1 07:45:22 UTC 2013


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.

Thanks,
//richard




More information about the libvir-list mailing list