[ovs-discuss] ovn-bridge-mappings configuration issue.
JaiSingh.Rana at cavium.com
Tue Aug 22 10:14:55 UTC 2017
Thanks for quick reply. Yes i created external network on controller node with
neutron net-create NET-EXT --provider:network_type flat --provider:physical_network br-ex --router:external=true --shared
Once i corrected option '--provider' option with '--provider:physical_network provider', its working fine on compute node.
From: Russell Bryant <russell at ovn.org>
Sent: 21 August 2017 21:17
To: Rana, JaiSingh
Cc: ovs-discuss at openvswitch.org
Subject: Re: [ovs-discuss] ovn-bridge-mappings configuration issue.
On Mon, Aug 21, 2017 at 7:43 AM, Rana, JaiSingh
<JaiSingh.Rana at cavium.com> wrote:
> For configuring external gateway, ovn-controller man page says:
> A list of key-value pairs that map a physical network
> name to a local ovs bridge that provides connectivity
> to that network. An example value mapping two
> physical network names to two ovs bridges would be: phys‐
> Created bridge br-ex and attached an interface p1p2 having external
> # ovs-vsctl --may-exist add-br br-ex -- set bridge br-ex
> # ovs-vsctl set open . external-ids:ovn-bridge-mappings=provider:br-ex
> # ovs-vsctl --may-exist add-port br-ex p1p2
> After configuring Openstack with external networks, ovn-controller on
> compute actually looks for bridge named "provider" in
> ovn/controller/patch.c : add_bridge_mappings, which of-course is not created
> but throws error that "br-ex" not found as can be seen in ovn-controller.log
> "2017-08-18T11:20:30.477Z|04536|patch|ERR| bridge not found for localnet
> port 'provnet-031111bf-ad69-4225-b69c-0cd23d7969af' with network name
> When this external-id is defined as ovn-bridge-mappings=br-ex:br-ex, it
> works fine and no error is thrown.
> Is this a bug or the field before ":" in this external-id represents bridge
The error message indicates that a "localnet" was created with a
"network_name" of "br-ex". The "network_name" should be set to
"provider" in this example.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss