Ussuri/OVN Telegraf flooding the kernel log with version negotiation failed messages

Bug #1903499 reported by Márton Kiss
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Telegraf Charm
Fix Released
Undecided
Hemanth Nakkina

Bug Description

Bionic/Ussuri/OVN cloud, HOV 20.08, the telegraf running on compute nodes are flooding the syslog with "version negotiation failed" message, causing a large amount of log entries to be processed by graylog / elasticsearch (40k/hour).

Nov 9 08:14:20 <hostname> ovs-ofctl: ovs|00001|vconn|WARN|unix:/var/run/openvswitch/br-int.mgmt: version negotiation failed (we support version 0x01, peer supports versions 0x04, 0x06)
Nov 9 08:14:30 <hostname> ovs-ofctl: ovs|00001|vconn|WARN|unix:/var/run/openvswitch/br-int.mgmt: version negotiation failed (we support version 0x01, peer supports versions 0x04, 0x06)
Nov 9 08:14:40 <hostname> ovs-ofctl: ovs|00001|vconn|WARN|unix:/var/run/openvswitch/br-int.mgmt: version negotiation failed (we support version 0x01, peer supports versions 0x04, 0x06)
Nov 9 08:14:50 <hostname> ovs-ofctl: ovs|00001|vconn|WARN|unix:/var/run/openvswitch/br-int.mgmt: version negotiation failed (we support version 0x01, peer supports versions 0x04, 0x06)

The telgraf charm periodically retrieves OVS flow information using ovs-ofctl command [1]. The openflow version is not mentioned in the command which leads to the warnings on ovs-vswitchd.

The fix should include a proper openflow version for the ovs-ofctl command using the -O option.

A brigde's supported OpenFlow version can be retrieved using:
ovs-vsctl find bridge name=br-int | grep protocols
protocols : [OpenFlow13, OpenFlow15]

The telegraf-38 and telegraf-39 stable charms, master branch seems to be affected in case of an OVN deployment.

[1] https://git.launchpad.net/charm-telegraf/tree/src/files/telegraf_exec_metrics.py#n364

Tags: sts

Related branches

tags: added: sts
Changed in charm-telegraf:
assignee: nobody → Hemanth Nakkina (hemanth-n)
Revision history for this message
Hemanth Nakkina (hemanth-n) wrote :
Changed in charm-telegraf:
status: New → In Progress
Celia Wang (ziyiwang)
Changed in charm-telegraf:
status: In Progress → Fix Released
milestone: none → 21.01
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.