The charm stopped working without 'certificates' relation

Bug #2008436 reported by Nikolay Vinogradov
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Telegraf Charm
Fix Released
High
Sudeep Bhandari

Bug Description

It seems that starting from the commit [1] telegraf charm requires TLS relations to work, see [2]. Because of that the line [3] is never called and therefore prometheus2 charm skips the target registration as per [4].

The revision of telegraf charm that still works is 62. Starting from rev. 63 the new behavior has been introduced. If this change of behavior was intended we need to update the charm docs.

[1] https://git.launchpad.net/charm-telegraf/commit/?id=1ea02f25cd000868c84d4056710c026d92914fed
[2] https://git.launchpad.net/charm-telegraf/tree/src/reactive/telegraf.py#n1806
[3] https://git.launchpad.net/charm-telegraf/tree/src/reactive/telegraf.py#n1848
[4] https://git.launchpad.net/charm-prometheus2/tree/src/reactive/prometheus.py#n771

Tags: bseng-944

Related branches

summary: - The charm stopped working with 'certificates' relation
+ The charm stopped working without 'certificates' relation
Eric Chen (eric-chen)
Changed in charm-telegraf:
importance: Undecided → High
tags: added: bseng-944
Eric Chen (eric-chen)
Changed in charm-telegraf:
status: New → Triaged
description: updated
Changed in charm-telegraf:
assignee: nobody → Sudeep Bhandari (sudeephb)
Revision history for this message
Nobuto Murata (nobuto) wrote :

Subscribing ~field-high mainly for tracking purposes. I know it's prioritized accordingly by now.

Changed in charm-telegraf:
status: Triaged → Fix Committed
Revision history for this message
Eric Chen (eric-chen) wrote :

The patch is available in rev66 and available in stable channel.

Changed in charm-telegraf:
milestone: none → 23.01
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.