<div dir="ltr">I've installed opennebula and got it working with flat network, but i need to set up working openvswitch networking in my cloud. So i followed the manual from opennebula docs but i've got error while creating VM:<div>
<br></div><div>[VMM][I]: error: Unable to add bridge br0 port vnet0: Operation not supported<br></div><div><br></div><div>I've created bridge with ovs-vsctl add-br br0 and adding port ovs-vsctl add-port br0 eth1.</div>
<div><br></div><div>I'm using -n ovswitch while adding VM hypervisors</div><div><br></div><div>In the manual (<a href="http://docs.opennebula.org/4.4/administration/networking/openvswitch.html">http://docs.opennebula.org/4.4/administration/networking/openvswitch.html</a>) there is this:</div>
<div><ul class="">
<li><code><span class="">ovswitch</span></code>: Recommended for <code><span class="">kvm</span></code> hosts. Only works with <code><span class="">kvm</span></code>. Doesn’t require the <a class="" href="http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.bridge;hb=HEAD">Open vSwitch compatibility layer for Linux bridging</a>.</li>

<li><code><span class="">ovswitch_brcompat</span></code>: Works with <code><span class="">kvm</span></code> and <code><span class="">xen</span></code>. This is the only set that currently works with <code><span class="">xen</span></code>. Not recommended for <code><span class="">kvm</span></code>. Requires <a class="" href="http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.bridge;hb=HEAD">Open vSwitch compatibility layer for Linux bridging</a>.</li>
</ul><div>But only solution to my problem found in the internet is telling me to enable brcompat in my openvswitch. (<a href="http://n40lab.wordpress.com/2013/01/05/unable-to-add-bridge-brx-port-vnetx-invalid-argument-or-operation-not-supported/">http://n40lab.wordpress.com/2013/01/05/unable-to-add-bridge-brx-port-vnetx-invalid-argument-or-operation-not-supported/</a>) and it's not working.</div>
</div><div><br></div><div>Please help me solving my problem.</div><div><br></div></div>