telegraf restarted unnecessarily in update-status hook
Bug #1686638 reported by
Adam Collard
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
High
|
Xav Paice |
Bug Description
The update-status hook will (if related to certain other charms e.g. haproxy) cause the configuration file to be rewritten in a non-idempotent way, in turn triggering a restart of the telegraf service (see https:/
Related branches
~xavpaice/charm-telegraf:bug/1686638
- Celia Wang: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 11 lines (+1/-1)1 file modifiedsrc/reactive/telegraf.py (+1/-1)
~peter-sabaini/charm-telegraf:bug/1686638-functests
On hold
for merging
into
charm-telegraf:master
- Alvaro Uria (community): Needs Fixing
- Wouter van Bommel (community): Approve
- BootStack Reviewers: Pending (mr tracking; do not claim) requested
- BootStack Reviewers: Pending requested
-
Diff: 455 lines (+173/-108)11 files modified.gitignore (+1/-0)
Makefile (+14/-14)
dev/null (+0/-63)
tests/bundles/bionic.yaml (+21/-0)
tests/bundles/overlays/bionic.yaml.j2 (+1/-0)
tests/bundles/overlays/xenial.yaml.j2 (+5/-0)
tests/bundles/xenial.yaml (+21/-0)
tests/test_requirements.txt (+3/-0)
tests/tests.yaml (+19/-13)
tests/tests_telegraf.py (+76/-0)
tox.ini (+12/-18)
Changed in telegraf-charm: | |
assignee: | Adam Collard (adam-collard) → nobody |
status: | In Progress → Confirmed |
Changed in charm-telegraf: | |
assignee: | nobody → Peter Sabaini (peter-sabaini) |
Changed in charm-telegraf: | |
assignee: | Peter Sabaini (peter-sabaini) → nobody |
Changed in charm-telegraf: | |
status: | Confirmed → Fix Committed |
milestone: | none → 22.08 |
Changed in charm-telegraf: | |
status: | Fix Committed → Fix Released |
Changed in charm-telegraf: | |
assignee: | nobody → Xav Paice (xavpaice) |
To post a comment you must log in.
In addition, the telegraf charm logs considerable noise on every update-status hook run: https:/ /pastebin. canonical. com/199361/