charm status does not check if telegraf service is still running

Bug #2015517 reported by Samuel Allan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telegraf Charm
Fix Released
Medium
Samuel Allan

Bug Description

If the telegraf service crashes, the charm will continue to report that telegraf is running. There are no regular status checks as part of update_status.

Tags: tbseng-1 tkb-2

Related branches

Changed in charm-telegraf:
status: New → In Progress
assignee: nobody → Samuel Walladge (swalladge)
Changed in charm-telegraf:
status: In Progress → Won't Fix
Revision history for this message
Samuel Allan (samuelallan) wrote :

@rgildein, if you don't want this in the charm, could you provide an explanation for this please?

Changed in charm-telegraf:
assignee: Samuel Walladge (swalladge) → nobody
Revision history for this message
Robert Gildein (rgildein) wrote :

Hi @swalladge, I was doing a bug cleanup for all the charms that will be
released on 23.04 release and I must make mistake here. This is a valid bug.
Sorry and thank you for reporting.

Changed in charm-telegraf:
status: Won't Fix → Triaged
Changed in charm-telegraf:
assignee: nobody → Samuel Walladge (swalladge)
status: Triaged → In Progress
Revision history for this message
Samuel Allan (samuelallan) wrote :

Hmm in testing a fix for this, I discovered that the hooks like influxdb_api_output are run on every update-status hook, resulting in unecessary repeated processing, and the needs_reload flag being set on every update-status. Is this expected?

Chi Wai CHAN (raychan96)
tags: added: tkb-2
Chi Wai CHAN (raychan96)
tags: added: tbseng-1
Eric Chen (eric-chen)
Changed in charm-telegraf:
importance: Undecided → Medium
Ashley James (dashmage)
Changed in charm-telegraf:
milestone: none → 23.07
status: In Progress → Fix Committed
Ashley James (dashmage)
Changed in charm-telegraf:
status: Fix Committed → Incomplete
status: Incomplete → 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.