Disable new plugins by default

Bug #1896550 reported by Haw Loeung
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Telegraf Charm
Expired
Wishlist
Unassigned

Bug Description

Hi,

Just upgraded the telegraf charm in one of our environments deployed to a public cloud and found that it was spamming us with sudo errors, LP:1891781. On inspection, it seems like a bunch of new plugins have been enabled:

buddyinfo.conf
netns.conf
ovs_dpctl.conf
ovs_dump_flows.conf
socket_listener.conf
sockstat6.conf
sockstat.conf
softnet_stat.conf
zoneinfo.conf

Half of that are OpenStack related, buddyinfo and zoneinfo for NUMA, OVS for OpenvSwitch. Can we please disable all new plugins by default to avoid future surprises? These additional plugins can be enabled via something like enable_plugins config option. I understand there is currently a 'disabled_plugins' but this means every time we roll out the latest charm, we need to check and disable any new plugins.

Revision history for this message
Paul Collins (pjdc) wrote :

It might make sense to gate these on a relation to another application, for example to enable the OVS plugins one might add a relation to neutron-openvswitch.

Revision history for this message
Haw Loeung (hloeung) wrote :

Workaround to disable all these new telegraf_exec_metrics ones:

| juju config telegraf-u-r-c disabled_plugins="buddyinfo:netns:ovs_dpctl:ovs_dump_flows:sockstat:sockstat6:softnet_stat:zoneinfo"

Jose Guedez (jfguedez)
Changed in charm-telegraf:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Xav Paice (xavpaice) wrote :

Please see https://bugs.launchpad.net/charm-telegraf/+bug/1919262 - we've disabled a bunch of checks in LXD which overwork lxcfs. Does the associated change also fix this, or do we have a separate issue?

OVS is gated on whether OVS is available on the host, so that shouldn't be an issue if you don't have it.

Changed in charm-telegraf:
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Telegraf Charm because there has been no activity for 60 days.]

Changed in charm-telegraf:
status: Incomplete → Expired
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.