OVS metrics attempted to collect, but no sudoers and no ovs on the system
Bug #1891781 reported by
Xav Paice
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
Critical
|
Jose Guedez |
Bug Description
Using charm release cs:telegraf-38, a unit with no OVS installed was reporting errors:
[inputs.exec] Error in plugin: exec: exit status 1 for command '/var/lib/
The sudoers entry telegraf_sudoers was missing entirely on this unit. Even adding it, copied from another unit, wasn't enough to clear the error.
This particular unit then attempted to send an email for every exec that failed, and filled the disk.
Related branches
~jfguedez/charm-telegraf:backport-1891781-1892129
- James Hebden (community): Approve
- Celia Wang: Approve
-
Diff: 275 lines (+129/-23)4 files modifiedsrc/files/telegraf_exec_metrics.py (+18/-7)
src/files/telegraf_sudoers (+1/-0)
src/reactive/telegraf.py (+35/-11)
src/tests/unit/test_telegraf.py (+75/-5)
~jfguedez/charm-telegraf:bug/1891781
- Alvaro Uria (community): Approve
- Edin S (community): Approve
- Drew Freiberger (community): Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 199 lines (+85/-16)3 files modifiedsrc/files/telegraf_exec_metrics.py (+6/-0)
src/reactive/telegraf.py (+35/-11)
src/tests/unit/test_telegraf.py (+44/-5)
Changed in charm-telegraf: | |
importance: | Undecided → Critical |
status: | New → Triaged |
Changed in charm-telegraf: | |
assignee: | nobody → Jose Guedez (jfguedez) |
Changed in charm-telegraf: | |
status: | Triaged → In Progress |
tags: | added: sts |
To post a comment you must log in.
Released at cs:~llama- charmers- next/telegraf- 4