[one-users] haveing problem with vswitch

12navidb2 at gmail.com 12navidb2 at gmail.com
Wed Sep 4 03:28:28 PDT 2013


I read openvswitch document completely about openvswitch
http://opennebula.org/documentation:rel4.2:openvswitch

there is 2 way for using openvswitch, i can implant  second way
(*ovswitch_brcompat)
*but this way is deprecated
*Bridge compatibility is deprecated and may be removed no earlier than
February 2013*

now but when I'm using first way, (using from openvswith without  *brcompat
*and use from brctrl instead), opennebula when deploying new vm get error.



Wed Sep 4 06:05:28 2013 [VMM][I]: post: Executed "sudo /usr/bin/ovs-vsctl
set Port vnet0 tag=550".
Wed Sep 4 06:05:28 2013 [VMM][I]: ovs-ofctl: br0 is not a bridge or a socket
Wed Sep 4 06:05:28 2013 [VMM][E]: post: Command "sudo /usr/bin/ovs-ofctl
add-flow br0
in_port=,dl_src=02:00:ac:14:04:04,priority=40000,actions=normal" failed.
Wed Sep 4 06:05:28 2013 [VMM][E]: post: ovs-ofctl:
dl_src=02:00:ac:14:04:04: bad syntax for in_port
Wed Sep 4 06:05:28 2013 [VMM][E]: ovs-ofctl: dl_src=02:00:ac:14:04:04: bad
syntax for in_port

the main problem is that br0 is not created with openvswitch and create
with brctl :)

but for solve this problem, I create fake bridge with openvswith

 # ovs-vsctl add-br br0
# ovs-vsctl add-port br0 eth1
# ovs-vsctl add-br br10 br0 10
# ovs-vsctl list-br
br0
br10

so I inform to opennebula, br10 is my bridge
now problem is ovs-ofctl using br10 instead br0 and i get error from ovs-ofctl
.

in this situation, ovs-vsctl must use fake bridge (br10) and ovs-ofctl must
use real bridge (br0) until anything  work well
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130904/6f249494/attachment.htm>


More information about the Users mailing list