Issue with OVS metrics collection: "br-data is not a bridge or a socket"

Bug #1892129 reported by Jose Guedez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telegraf Charm
Fix Released
Critical
Jose Guedez

Bug Description

Using charm release cs:telegraf-38, a unit with OVS installed but without a bridge called br-data reported the following errors in the telegraf log:

2020-08-19T04:23:10Z E! [inputs.exec] Error in plugin: exec: exit status 1 for command '/var/lib/juju/agents/unit-telegraf-8/.venv/bin/python /var/lib/juju/agents/unit-telegraf-8/charm/files/telegraf_exec_metrics.py --metric ovs_dump_flows': ovs-ofctl: br-data is not a bridge or a socket...

The current check has a hardcoded list of OVS bridges (br-int, br-tun, br-data), but the actual bridges available vary depending on the specific application or deployment. It would probably be better to query OVS for the list of available bridges.

Related branches

Jose Guedez (jfguedez)
Changed in charm-telegraf:
assignee: nobody → Jose Guedez (jfguedez)
importance: Undecided → Critical
status: New → Triaged
status: Triaged → In Progress
Revision history for this message
Alvaro Uria (aluria) wrote :

Released at cs:~llama-charmers-next/telegraf-4

Changed in charm-telegraf:
milestone: none → 20.10
status: In Progress → Fix Committed
Celia Wang (ziyiwang)
Changed in charm-telegraf:
status: Fix Committed → Fix Released
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.