unit data not removed from relation

Bug #1885339 reported by james beedy on 2020-06-26

This bug report will be marked for expiration in 51 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
Undecided
Unassigned

Bug Description

I remove a unit, but the unit data never gets removed from the peer relation, see https://paste.ubuntu.com/p/TcNTf6Sy9h/

Furthermore, the other units of the application don't get a relation-changed hook fired when a unit leaves.

james beedy (jamesbeedy) wrote :

code where we add 'hostname' to the units data https://gist.github.com/jamesbeedy/2bd8429995f609919834f69d7a8b481f

james beedy (jamesbeedy) on 2020-06-27
description: updated
Tim Penhey (thumper) wrote :

Hi James,

Could you provide the unit logs from the units left? That would show if it was trying to call the event but for some reason couldn't.

How is this charm built? Is it possible that there is a typo in the departed hook name?

Is the charm public?

Changed in juju:
status: New → Incomplete
Tim Penhey (thumper) wrote :

Also would be good to know if the charm has different behaviour on Juju 2.7 vs. 2.8

james beedy (jamesbeedy) wrote :

@thumper https://github.com/jamesbeedy/charm-peerer, I've also attached this as built charm.

james beedy (jamesbeedy) wrote :

@thumper is there anything else I can do to help move this along?

summary: - unit not removed from relation
+ unit data not removed from relation
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments