get_remote_unit_name can fail on a multi IP unit

Bug #1746487 reported by Alvaro Uria
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Telegraf Charm
Fix Released
Medium
Alvaro Uria

Bug Description

In a node with 2 IPs, subordinate (telegraf) and principal units can have different private-address values (see https://pastebin.canonical.com/208764/).

The logic in get_remote_unit_name() is too complex for a subordinate charm.

Proposed MP:
https://code.launchpad.net/~aluria/telegraf-charm/+git/telegraf-charm/+merge/336901

Related branches

Alvaro Uria (aluria)
Changed in telegraf-charm:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Alvaro Uria (aluria) wrote :

Fix reviewed, and pushed to the charmstore. bugs-url and homepage for "telegraf" have also been updated.

Changed in telegraf-charm:
status: Confirmed → 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.