I believe that virt-install utility is trying to attach VM's port as if br0 was 
Linux Bridge (instead of treating br0 as OVS bridge). Can you verify the VM's 
XML configuration file generated by virt-install against guidelines defined in 
INSTALL.Libvirt? 

Also brcompat was deprecated in OVS 1.10. 

Regards, 
Ansis 

----- Original Message -----

From: "Ramana Reddy" <gtvrre...@gmail.com> 
To: "Ben Pfaff" <b...@nicira.com> 
Cc: "discuss@openvswitch.org ML" <discuss@openvswitch.org> 
Sent: Wednesday, February 26, 2014 8:42:48 AM 
Subject: Re: [ovs-discuss] Libvirtd throwing some error in kvm in 
openvswitch-2.0.0 

@sachin: Yes I referred the document. But the xml file only comes after 
creating the VM. 
This error is throwing while creating the VM. I tried any way also: I created 
VM after creating br0 using brctl command, 
and deleted br0 and created br0 using ovs-vsctl and modified xml file, but 
still getting the same error when I start the VM. 

@Ben: When I used ubuntu 12.04, KVM with libvirtd version 0.9.8 ( default one) 
and openvswitch-1.7.1 
Its successfully creating the VMs. There is no need of modifying the xml file. 

Libvirtd version 0.9.8 requires both openvswitch kernel module and brcompat 
kernel module. 
I installed both and created br0 using ovs-vsctl command and created VM in 
bridge mode. Its perfect. 

Where as INSTALL.Libvirt is referring libvirtd version no at least 0.9.11 or 
above. Now I tried with ubuntu 13.10 
with openvswith-2.0.0 and libvirtd ( default version no 1.1.1), But openvswitch 
2.0.0 does not support 
brcompat module, so I Installed openvswitch kernel module only and created 
bridge br0, and trying to create 
VM in bridge mode, but its throwing the error. 

Is some thing missing in my setup. Is the case that linux bridge module is 
needed along with openvswitch kernel 
module. I tried all the combinations, but getting the same error. Help in this 
case is highly appreciated. 

Thanks, 
Ramana. 




On Wed, Feb 26, 2014 at 9:39 PM, Ben Pfaff < b...@nicira.com > wrote: 



On Wed, Feb 26, 2014 at 12:45:58PM +0530, Ramana Reddy wrote: 
> I have installed openvswitch-2.0.0 on ubuntu 13.10 ( kernel: 
> 3.8.0-34-generic), and 
> created a bridge br0. Now I started virt-manager to install VM. I selected 
> bridge 
> mode and given br0 as bridge name. After that when I click finish button 
> its 
> throwing the following error (libvirtd version is 1.1.1). 

The error messages you provided don't give any hint as to the problem, 
or even whether Open vSwitch is involved. For us to help, you will need 
to provide additional information showing what libvirtd did and how it 
failed. 





_______________________________________________ 
discuss mailing list 
discuss@openvswitch.org 
https://urldefense.proofpoint.com/v1/url?u=http://openvswitch.org/mailman/listinfo/discuss&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=%2BXk50J8yLqbRhlVkuC%2BJEmVDkOTsHuSfu5t%2FO7oEwWU%3D%0A&m=hJBp5V1g3KqGn1ylH4SUlaSDRuzN1lTMyfALppkUFfo%3D%0A&s=5307837a92f2309e00e32f549652b35d7482a46079f8a7211a3b257ff628e3f8
 

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to