[ovs-discuss] Problems

Federico Alves sales at minixel.com
Thu Sep 29 06:32:18 UTC 2011


On  RHEl, I followed all the instruction to use openvswitch as a drop-in
replacement for the Linux bridge.
Nevertheless, I get this error when I try to add a bridge:

brctl addbr br0
add bridge failed: No such process

But everything needed is loaded

ps -auxx | grep ovs
root      1382  0.0  0.1  39552  1844 ?        Ss   02:17   0:00
ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock
--remote=db:Open_vSwitch,manager_options --private-key=db:SSL,private_key
--certificate=db:SSL,certificate --bootstrap-ca-cert=db:SSL,ca_cert
--pidfile --detach
root      1384  0.0  0.1  40008  1368 ?        Ss   02:17   0:00
ovs-vswitchd --pidfile --detach
root      1382  0.0  0.1  39552  1844 ?        Ss   02:17   0:00
ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock
--remote=db:Open_vSwitch,manager_options --private-key=db:SSL,private_key
--certificate=db:SSL,certificate --bootstrap-ca-cert=db:SSL,ca_cert
--pidfile --detach
 
And the modules as well
lsmod 
Module                  Size  Used by
autofs4                27683  3
dm_mirror              14067  0
dm_region_hash         12136  1 dm_mirror
dm_log                 10120  2 dm_mirror,dm_region_hash
brcompat_mod            5647  0
openvswitch_mod        85042  1 brcompat_mod

If I add a bridge like this:

ovs-vsctl add-br br0

Then if I do "brctl show"

bridge name bridge id STP enabled interfaces
br0 /sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
/sys/class/net/br0/bridge: No such file or directory
0000.96aa85596141 no

What am I doing wrong?

Federico



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20110929/30e2e7cf/attachment.html>


More information about the discuss mailing list