wait for telegraf to be installed before configuring plugins
Bug #1891880 reported by
Laurent Sesquès
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On an existing unit with configured extra plugins in telegraf.d/, switching from the deb install to the snap, the charm will try to write to /var/snap/
FileNotFoundError: [Errno 2] No such file or directory: '/var/snap/
Although I haven't observed it, the same race condition could happen with the deb package.
Related branches
~sajoupa/charm-telegraf:plugins-when-telegraf-installed
- Alvaro Uria (community): Approve
- Tom Haddon: Approve
-
Diff: 108 lines (+13/-0)1 file modifiedsrc/reactive/telegraf.py (+13/-0)
Changed in charm-telegraf: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Release to cs:~llama- charmers- next/telegraf- 5