On 6/12/12 8:32 AM, Gerard Petersen wrote:
Hi All,
I'm trying to set up some LXC containers combined with OVS on a Ubuntu 12.04
Server.
I apt-get installed OVS and configured a lxcbr0 switch. When I start the
container I end up with the following error:
# lxc-start --logpriority=DEBUG -n srvaa
lxc-start: failed to attach 'veth1KDOho' to the bridge 'lxcbr0' : Operation not
supported
lxc-start: failed to create netdev
lxc-start: failed to create the network
lxc-start: failed to spawn 'srvaa'
lxc-start: No such file or directory - failed to remove cgroup
'/sys/fs/cgroup/cpuset//lxc/srvaa'
The interesting part is the "Operation not supported". I've found another angle
where this is reproduced:
# brctl showmacs lxcbr0
read of forward table failed: Operation not supported
Here is my setup, at its works perfectly:
## Network
lxc.network.type = veth
lxc.network.flags = up
lxc.network.hwaddr = 00:FF:00:00:00:01
lxc.network.link = *mainbr*
lxc.network.name = eth0
lxc.network.ipv4 = 10.30.83.48/24
root@x:~# brctl show
bridge name bridge id STP enabled interfaces
*mainbr* 0000.002219675971 no br0
eth0
eth1
veth4shmIH
vethg7sDEA
vethiM4jhw
vethkx1irI
vethnJdzwd
vethrQzSUp
How did you create this lxcbr0 ?
--
Luiz Henrique Ozaki
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss