[one-users] haveing problem with vswitch

Dmitri Chebotarov dchebota at gmu.edu
Wed Sep 4 05:20:36 PDT 2013


Can you create br0 with real interfaces before you add host to ONE and use br0 in network config section? The same way you created fake br10, but use ethXX . This should work...

You don't need brctl, OVS takes care of creating br0 with 'ovs-vsctl addbr'.

________________________________
From: users-bounces at lists.opennebula.org <users-bounces at lists.opennebula.org> on behalf of 12navidb2 at gmail.com <12navidb2 at gmail.com>
Sent: Wednesday, September 04, 2013 6:28 AM
To: users at lists.opennebula.org
Subject: [one-users] haveing problem with vswitch

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/8be5f9a1/attachment-0002.htm>


More information about the Users mailing list