On Tue, Dec 8, 2015 at 1:05 PM, Russell Bryant <[email protected]> wrote:
> On 12/08/2015 02:35 PM, Yoshio Turner wrote: > > In the OVN tutorial > > (https://github.com/openvswitch/ovs/blob/master/tutorial/OVN-Tutorial.md > ), > > the "simple two-port setup" example works fine for me from within the > > sandbox environment. > > > > I'm looking for pointers to help debug a similar setup I created outside > > the sandbox, using veth interfaces for lport1 and lport2. After running > > the setup.sh script, the OVN_Southbound database Chassis table is empty > > for some reason. Also, flow tables 0, 32, 33, 34 are missing from > > br-int. Packets sent between the two ports are dropped due to "no > > match". I'm running on Ubuntu 15.10 with Ubuntu kernel 4.2.0-18-generic, > > and OVS master branch fetched on Dec 4 > > (commit 6422372c103d280450eb400ed7fe955b74deeb2a). > > If the Chassis table is missing, you probably missed some ovn-controller > configuration. Check the ovn-controller log file. It probably is > giving an error. > > The configuration is documented in the ovn-controller man page. > > http://openvswitch.org/support/dist-docs/ovn-controller.8.html > > Here's what ovs-sandbox does: > > ovs-vsctl set open . external-ids:ovn-remote=unix:"$sandbox"/db.sock > ovs-vsctl set open . external-ids:ovn-encap-type=geneve > ovs-vsctl set open . external-ids:ovn-encap-ip=127.0.0.1 > > You need to set those values as appropriate. > Thanks, Russell. Unfortunately, the only exceptions shown in ovn-controller.log are two "connection failed" WARN-level messages early on. Each is immediately followed by a successful reconnect. Logs in ovn-northd.log and /var/log/syslog also seem innocuous. My setup invoked the following command (from INSTALL.Docker.md): ovs-vsctl set Open_vSwitch . external_ids:ovn-remote="tcp:$CENTRAL_IP:6640" \ external_ids:ovn-encap-ip=$LOCAL_IP external_ids:ovn-encap-type="$ENCAP_TYPE" where I had set CENTRAL_IP and LOCAL_IP to the host's network-visible address, and ENCAP_TYPE=geneve. I just verified the settings by running "ovsdb-client dump Open_vSwitch Open_vSwitch". Yoshio
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
