On Tue, Nov 05, 2019 at 12:03:52PM +0100, Frédéric Guihéry wrote: > Hello, > > I'm having an issue when playing with kvm + libvirt + ovn + ovs. I've > successfully built a logical switch and logical ports with OVN. On the > hypervisor side, I was able to create an openvswitch bridge named > "br-int", and I've connected two KVM virtual machines to this bridge > with libvirt. When starting the virtual machines, the OVN controller > makes the correct binding between the logical configuration and the > hypervisor bridge/interfaces. I can see it in the ovn-controller log: > > 2019-11-04T14:26:48.955Z|13347|binding|INFO|Claiming lport > 00000000-0000-0000-0000-000000000002 for this chassis. > > 2019-11-04T14:26:48.956Z|13348|binding|INFO|00000000-0000-0000-0000-000000000002: > Claiming 02:02:02:02:02:05 192.168.2.2 > > Besides, the command "ovn-sbctl list Mac_Binding" shows me the good Mac > binding and "ovn-sbctl show" displays the correct Port binding: > > Port_Binding "00000000-0000-0000-0000-000000000002" > Port_Binding "00000000-0000-0000-0000-000000000003" > > Now, when I reset the OVN logical configuration and try to do exactly > the same with another bridge name (let's say "br-int2"), this doesn't > work. I'm also not able to create another bridge name with other mac/IP > configuration for my VM nics. The OVN controller (or maybe vswitchd ?) > doesn't make the binding between the logical configuration and the > hypervisor bridge/interfaces. It seems that I can't use another bridge > name and I'm stucked with "br-int". I've also tried to reinstall the > ovn/ovs packages and deleted the databases (/etc/openvswitch/*), but I'm > still stucked with "br-int".
It's not clear to me why you want to have more than one integration bridge. OVN only needs and only uses a single integration bridge (per hypervisor). You can configure the particular name it uses (see external-ids:ovn-bridge in ovn-controller(8)), though, if you want to name it br-int2. _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
