Hide stale data on relation broken
Bug #2024583 reported by
Leon
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Unassigned |
Bug Description
We use relation data to generate config files for the workload.
When a relation is removed, the charm needs to regenerate config.
The problem is that the departing app's data is still visible to the charm, even in relation broken.
This complicated charm code or results in dependency on update-status to reconcile.
Moreover, it seems that most (all?) charm authors expect stale data to be already "gone" on relation broken.
Changed in juju: | |
assignee: | nobody → Ian Booth (wallyworld) |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in juju: | |
milestone: | 3.1.6 → 3.1.7 |
To post a comment you must log in.
Can you comment here Ian?
The linked issue mentions that JUJU_REMOTE_APP is sometimes set and sometimes not.
The question becomes should it be set at this point (we need to make this behaviour consistent whatever the decision)
And should the departing side data be visible in this hook as John says it should be in the issue.