[ovs-discuss] ovs-dpctl-top: KeyError: 'src'

2018-05-06 Thread Paul Greenberg
Hi All, Encountered the following bug with OVS/OVN 2.9.0: ```bash # ovs-dpctl-top Traceback (most recent call last): File "/usr/bin/ovs-dpctl-top", line 1290, in sys.exit(main()) File "/usr/bin/ovs-dpctl-top", line 1282, in main flows_top(args) File "/usr/bin/ovs-dpctl-top", line

Re: [ovs-discuss] Openvswitch and LXC integration on Ubuntu 18.04

2018-05-14 Thread Paul Greenberg
-scripts_ifdown-ovs for examples. Regards, Paul Get Outlook for iOS<https://aka.ms/o0ukef> From: den...@exemail.com.au <den...@exemail.com.au> Sent: Monday, May 14, 2018 6:55:22 AM To: Paul Greenberg Cc: Orabuntu-LXC; ovs-discuss@openvswitch.org Subje

[ovs-discuss] could not add network device ovn-xxxxxx-0 to ofproto (Address family not supported by protocol)

2018-04-27 Thread Paul Greenberg
When IPv6 is disables in `/boot/grub2/grub.cfg`: ``` linux16 ... ipv6.disable=1 ``` Then GENEVE interface does not come up properly. ``` # ovs-vsctl show Port "ovn-14a54f-0" Interface "ovn-14a54f-0" type: geneve options: {csum="true",

Re: [ovs-discuss] Openvswitch and LXC integration on Ubuntu 18.04

2018-05-13 Thread Paul Greenberg
Before you rebuild, I suggest you ping at the interval of 0.01, then, take "ovs-ofctl dump-flows br-int" and save it to a file. The relevant columns are table and n_packets. Wait a couple of seconds, then take the dump again. Compare and find the entries that increment at the rate of your ping.

[ovs-discuss] openvswitch-kmod: on uninstall, get depmod: ERROR: fstatat

2018-06-18 Thread Paul Greenberg
Build Fedora RPM from 2.9.90. On "yum remove", get the following errors: Erasing: openvswitch-kmod-2.9.90-1.el7.x86_64 3/6 depmod: ERROR: fstatat(4, vport-gre.ko): No such

Re: [ovs-discuss] OVN Clustered Database Service Model

2018-06-14 Thread Paul Greenberg
Schema version: 7.15.1 Best Regards, Paul Greenberg From: ovs-discuss-boun...@openvswitch.org on behalf of Paul Greenberg Sent: Thursday, June 14, 2018 3:55:17 PM To: Ben Pfaff Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] OVN Clustered Database

Re: [ovs-discuss] OVN Clustered Database Service Model

2018-06-14 Thread Paul Greenberg
Hi Ben, it is 2.9.0. What is the minimally required version? Best Regards, Paul Greenberg From: Ben Pfaff Sent: Thursday, June 14, 2018 3:52:03 PM To: Paul Greenberg Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] OVN Clustered Database Service Model

Re: [ovs-discuss] OVN Clustered Database Service Model

2018-06-14 Thread Paul Greenberg
Ack. Will compile 2.9.2. Best Regards, Paul Greenberg From: Ben Pfaff Sent: Thursday, June 14, 2018 4:30:41 PM To: Paul Greenberg Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] OVN Clustered Database Service Model Schema version != ovs version

[ovs-discuss] OVN Clustered Database Service Model

2018-06-14 Thread Paul Greenberg
All, Any experience, and potentially notes, on how to set up clustered database? My initial attempt to run “ovsdb-tool create-cluster” (per man ovsdb) resulted in “unknown command”. Any help on the subject is being welcomed! :-) Best Regards, Paul Greenberg

[ovs-discuss] OVSDB server echo

2018-06-15 Thread Paul Greenberg
. and the message would not be empty. For example, the message (params) could be the ID of last processed message. Any opinions on the above? Unreasonable expectations? Best Regards, Paul Greenberg ___ discuss mailing list disc...@openvswitch.org https

Re: [ovs-discuss] OVSDB server echo

2018-06-15 Thread Paul Greenberg
FC, it occurred to me that this is how it works. Thank you for the clarification! Best Regards, Paul Greenberg Best Regards, Paul Greenberg From: Ben Pfaff Sent: Friday, June 15, 2018 3:28:32 PM To: Paul Greenberg Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-

[ovs-discuss] OVN IPAM

2018-06-17 Thread Paul Greenberg
All, I want to get an IP address from OVN without using DHCP. I did not find a command line option to do so. How could one do it through OVSDB queries? Did anyone attempt it? Best Regards, Paul Greenberg ___ discuss mailing list disc

Re: [ovs-discuss] OVN IPAM

2018-06-19 Thread Paul Greenberg
Thank you, Guru! Will do. Best Regards, Paul Greenberg From: Guru Shetty Sent: Tuesday, June 19, 2018 2:51:18 PM To: Paul Greenberg Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] OVN IPAM In tests/ovn.at<http://ovn.at>, search for "ipam&qu

Re: [ovs-discuss] GRE key rules

2018-05-28 Thread Paul Greenberg
Hi Bilal, I think you might be looking for "tun_id" field matching. It is described in http://www.openvswitch.org/support/dist-docs/ovs-fields.7.txt Tunnel ID Field Name:tun_id (aka tunnel_id) William gave a sound advice. However, consider the following. A controller

Re: [ovs-discuss] GRE key rules

2018-05-30 Thread Paul Greenberg
how Geneve interface works in OVN. There, you have a single point-to-multipoint Geneve tunnel interface. Additionally, there are rules to set outer header destination IP address. Regards, Paul Best Regards, Paul Greenberg From: William Tu Sent: Wednesday, May 30, 20

Re: [ovs-discuss] openvswitch-kmod: on uninstall, get depmod: ERROR: fstatat

2018-06-23 Thread Paul Greenberg
the following line if running into ERROR: No build ID note found in error: %undefine _missing_build_ids_terminate_build Regards, Paul Best Regards, Paul Greenberg From: Gregory Rose Sent: Friday, June 22, 2018 6:36:25 PM To: Paul Greenberg; ovs-discuss@openvswitch.org

Re: [ovs-discuss] openvswitch-kmod: on uninstall, get depmod: ERROR: fstatat

2018-06-21 Thread Paul Greenberg
Hi Gregory, I compiled from fedora spec, but the underlying OS is RHEL 7.5 Best Regards, Paul Greenberg From: ovs-discuss-boun...@openvswitch.org on behalf of Gregory Rose Sent: Thursday, June 21, 2018 5:23:12 PM To: ovs-discuss@openvswitch.org Subject: Re

Re: [ovs-discuss] Tunnel packets from unknown VTEPs

2018-08-22 Thread Paul Greenberg
better  joking! I totally understand the point of it being "one off". Regards, Paul From: Ben Pfaff Sent: Tuesday, August 21, 2018 1:55 PM To: Paul Greenberg Cc: ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] Tunnel packets from unknown VTEPs On T

[ovs-discuss] Tunnel packets from unknown VTEPs

2018-08-21 Thread Paul Greenberg
All, Currently, when a VXLAN packet comes to a host, but the source ip (chassis) of the packet is not in OVN SB database, packets are being dropped prior to getting to openvswitch. How to make the packets reach the switch? Best Regards, Paul Greenberg

Re: [ovs-discuss] "ovs|01253|reconnect|ERR|tcp:127.0.0.1:50814: no response to inactivity probe after 5.01 seconds, disconnecting" messages and lost packets

2018-09-27 Thread Paul Greenberg
. If a client, does not do that in time, the server drops the client. So something in this openstack driver is broken, because it does not respond to server probes. Best Regards, Paul Greenberg From: 20230277700n behalf of Sent: Thursday, September 27, 2018 3:40 PM

Re: [ovs-discuss] Prometheus Exporter for OVN

2018-10-16 Thread Paul Greenberg
Hi Vasiliy, > Does it possible to monitor ovn service uptime? If uptime bigger then before > - service is restarted. True, one can do that. Personally, I prefer gauges over counters for the monitoring. > I think that it is not right way. Sometimes i want to write logs to syslog or >

[ovs-discuss] Interface Type in Interface Table of OVS DB

2018-11-10 Thread Paul Greenberg
Hi Ben, Noticed the following behavior. When I run "ovs-vsctl list Interface", I get: > type: internal only for the bridge interface. The rest of the interface types are empty: > type: "" When I run "ovs-appctl dpif/show", the types are showing up properly,

Re: [ovs-discuss] Interface Type in Interface Table of OVS DB

2018-11-10 Thread Paul Greenberg
Ben, It is 100% like that. In my case ovn-controller creates these geneve and vxlan interfaces, but it looks like that information never gets to Interface table, because “type” is empty there. Best Regards, Paul Greenberg From: Ben Pfaff Sent: Saturday

Re: [ovs-discuss] Prometheus Exporter for OVN

2018-10-03 Thread Paul Greenberg
iliy Tolstov Sent: Wednesday, October 3, 2018 7:20 AM To: green...@outlook.com Cc: Василий Толстов; ovs-discuss@openvswitch.org Subject: Re: [ovs-discuss] Prometheus Exporter for OVN   ср, 3 окт. 2018 г. в 2:35, Paul Greenberg : > > Hi Vasiliy, > > Thank you for the reply! I will tak

Re: [ovs-discuss] line 17: /usr/local/share/openvswitch/scripts/ovs-lib: No such file or directory

2018-09-20 Thread Paul Greenberg
Hi Martin, :+1. You are running configure with the -fPIC flag. However, you also need to run make with it. If you do both, you will have the RPMs. Best Regards, Paul Greenberg From: Martin Xu Sent: Thursday, September 20, 2018 5:09 PM To: Paul Greenberg Cc

Re: [ovs-discuss] line 17: /usr/local/share/openvswitch/scripts/ovs-lib: No such file or directory

2018-09-20 Thread Paul Greenberg
Hi Martin, I always use the same process. It described here https://truesdn.blogspot.com/2018/08/how-to-compile-open-virtual-network-ovn.html?m=1 Regards, Paul Best Regards, Paul Greenberg From: Martin Xu Sent: Thursday, September 20, 2018 2:19 PM To: Gregory

Re: [ovs-discuss] line 17: /usr/local/share/openvswitch/scripts/ovs-lib: No such file or directory

2018-09-26 Thread Paul Greenberg
a suggestion. Best Regards, Paul Greenberg From: Ben Pfaff Sent: Thursday, September 20, 2018 5:50 PM To: Paul Greenberg Cc: Martin Xu; Gregory Rose; b...@openvswitch.org Subject: Re: [ovs-discuss] line 17: /usr/local/share/openvswitch/scripts/ovs-lib

[ovs-discuss] Prometheus Exporter for OVN

2018-09-26 Thread Paul Greenberg
the number of recorded log messages associated with an OVN component by log severity level and source. Anyone else using Prometheus for OVN monitoring? Statsd? Best Regards, Paul Greenberg ___ discuss mailing list disc...@openvswitch.org https://mail.openv

Re: [ovs-discuss] can not be used when making a shared object; recompile with -fPIC

2018-09-14 Thread Paul Greenberg
: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.vtj98t (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.vtj98t (%build) From: ovs-discuss-boun...@openvswitch.org on behalf of Paul Greenberg Sent: Friday, September 14, 2018 3:53 PM To: b...@openvswitch.

Re: [ovs-discuss] Sphinx: SyntaxError: unqualified exec is not allowed in function 'run'

2018-09-14 Thread Paul Greenberg
The associated bug is: https://github.com/sphinx-doc/sphinx/issues/5417 The way I overcame this is by forcing an older version of sphinx. pip uinstall sphinx pip install sphinx==1.7.9 From: ovs-discuss-boun...@openvswitch.org on behalf of Paul Greenberg Sent: Friday, September 14, 2018 3

[ovs-discuss] can not be used when making a shared object; recompile with -fPIC

2018-09-14 Thread Paul Greenberg
When building an RPM: $ rpmbuild -v --define "_topdir ${OVS_BUILD_DIR}" -ba --nocheck ./rhel/openvswitch-fedora.spec I received the following build errors: /usr/bin/ld: lib/.libs/libopenvswitch.a(backtrace.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a

[ovs-discuss] Sphinx: SyntaxError: unqualified exec is not allowed in function 'run'

2018-09-14 Thread Paul Greenberg
During "make", I run into the following issue. # make make all-recursive make[1]: Entering directory `/root/github.com/openvswitch/ovs' Making all in datapath make[2]: Entering directory `/root/github.com/openvswitch/ovs/datapath' make[3]: Entering directory

Re: [ovs-discuss] can not be used when making a shared object; recompile with -fPIC

2018-09-14 Thread Paul Greenberg
Resolved by running "configure" while passing CFLAGS. $ ./configure CFLAGS="-fPIC" From: ovs-discuss-boun...@openvswitch.org on behalf of Paul Greenberg Sent: Friday, September 14, 2018 4:02 PM To: b...@openvswitch.org Subject: Re: [ovs-discuss] can not be used when ma

[ovs-discuss] line 17: /usr/local/share/openvswitch/scripts/ovs-lib: No such file or directory

2018-09-14 Thread Paul Greenberg
Running the latest: https://github.com/openvswitch/ovs/commit/cd2c1d3b1e03b41f0e2c964fcbdb1e82cde7c794 An attempt to start "ovs-vswitchd.service" fails: ovs-ctl[2078]: /usr/share/openvswitch/scripts/ovs-kmod-ctl: line 17: /usr/local/share/openvswitch/scripts/ovs-lib: No such file or directory