<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I have installed OVS from sources using the installation steps mentioned on this link: <a href="http://docs.openvswitch.org/en/latest/intro/install/general/">http://docs.openvswitch.org/en/latest/intro/install/general/</a></div><div dir="ltr"><br></div><div>I had installed libvrt, KVM, QEMU and all the necessary packages using apt-get. My KVM-QEMU hypervisor has been running well.</div><div><br></div><div>To add a VM with the port attached to OVS bridge I changed the XML domain file as per the instructions on this page: <a href="http://docs.openvswitch.org/en/latest/howto/libvirt/">http://docs.openvswitch.org/en/latest/howto/libvirt/</a></div><div><br></div><div>But the when I start the VM using the Virtual Machine Manager I get the following error: </div><div><div><b>Error starting domain: internal error: Unable to add port vnet0 to OVS bridge br0</b></div><div>Traceback (most recent call last):</div><div>  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 90, in cb_wrapper</div><div>    callback(asyncjob, *args, **kwargs)</div><div>  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 126, in tmpcb</div><div>    callback(*args, **kwargs)</div><div>  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn</div><div>    ret = fn(self, *args, **kwargs)</div><div>  File "/usr/share/virt-manager/virtManager/domain.py", line 1402, in startup</div><div>    self._backend.create()</div><div>  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1035, in create</div><div>    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)</div><div>libvirtError: internal error: Unable to add port vnet0 to OVS bridge br0</div></div><div><br></div><div>My output for ovs-vsctl show:</div><div><div>3c28f516-dd5c-43cf-bea1-7c068668d1f6</div><div>    Bridge "br0"</div><div>        Port "enp0s31f6"</div><div>            Interface "enp0s31f6"</div><div>        Port "br0"</div><div>            Interface "br0"</div><div>                type: internal</div><div>    ovs_version: "2.11.90"</div></div><div><br></div><div><b>However, when OVS is installed using apt-get rather than installing from source or tarball, all these steps work very well.</b></div><div><b><br></b></div><div>Please guide me why this error is occurring. I am using Ubuntu 16.04 LTS as my host machine. Many users are facing this issue and they have reported it on OVS and other mailing lists. But, none is able to give a satisfactory solution.</div><div><br></div><div>Regards,</div><div>Harsh</div><div><br></div></div></div></div></div></div>