Ussuri/OVN Telegraf flooding the kernel log with version negotiation failed messages
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|
Nov 9 08:14:30 <hostname> ovs-ofctl: ovs|00001|
Nov 9 08:14:40 <hostname> ovs-ofctl: ovs|00001|
Nov 9 08:14:50 <hostname> ovs-ofctl: ovs|00001|
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:/
Related branches
- Drew Freiberger (community): Approve
- Canonical IS Reviewers: Pending requested
- Peter Sabaini: Pending requested
- Xav Paice: Pending requested
- Benjamin Allot: Pending requested
- Canonical IS Reviewers: Pending requested
-
Diff: 678 lines (+487/-97)8 files modifiedsrc/files/telegraf_exec_metrics.py (+30/-1)
src/tests/functional/tests/base.py (+76/-0)
src/tests/functional/tests/bundles/bionic-compute.yaml (+70/-0)
src/tests/functional/tests/bundles/focal-compute.yaml (+177/-0)
src/tests/functional/tests/test_compute.py (+49/-0)
src/tests/functional/tests/test_telegraf.py (+13/-79)
src/tests/functional/tests/tests.yaml (+23/-12)
src/tests/unit/test_telegraf.py (+49/-5)
- Xav Paice (community): Needs Fixing
- Drew Freiberger (community): Approve
- Canonical IS Reviewers: Pending requested
- Benjamin Allot: Pending requested
- Peter Sabaini: Pending requested
-
Diff: 670 lines (+479/-97)8 files modifiedsrc/files/telegraf_exec_metrics.py (+30/-1)
src/tests/functional/tests/base.py (+75/-0)
src/tests/functional/tests/bundles/bionic-compute.yaml (+68/-0)
src/tests/functional/tests/bundles/focal-compute.yaml (+177/-0)
src/tests/functional/tests/test_compute.py (+44/-0)
src/tests/functional/tests/test_telegraf.py (+13/-79)
src/tests/functional/tests/tests.yaml (+23/-12)
src/tests/unit/test_telegraf.py (+49/-5)
- Peter Sabaini (community): Needs Fixing
- Benjamin Allot: Approve
- BootStack Reviewers: Pending requested
-
Diff: 87 lines (+48/-4)2 files modifiedsrc/files/telegraf_exec_metrics.py (+30/-1)
src/tests/unit/test_telegraf.py (+18/-3)
tags: | added: sts |
Changed in charm-telegraf: | |
assignee: | nobody → Hemanth Nakkina (hemanth-n) |
Changed in charm-telegraf: | |
status: | In Progress → Fix Released |
milestone: | none → 21.01 |
MR for code review: https:/ /code.launchpad .net/~hemanth- n/charm- telegraf/ +git/charm- telegraf/ +merge/ 394920