Allow all peers to read app data in juju 3

Bug #2023795 reported by Leon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Incomplete
Undecided
Ian Booth

Bug Description

Afaik, only leaders can read their app's data.

With juju secrets functionality available in juju 3, it seems that all peers could now be allowed to read app data. This could simplify charm code.

Leon (sed-i)
summary: - Allow all peers to read peer app data in juju 3
+ Allow all peers to read app data in juju 3
Revision history for this message
Joseph Phillips (manadart) wrote :

Assigned to Ian to triage.

Changed in juju:
assignee: nobody → Ian Booth (wallyworld)
Revision history for this message
Ian Booth (wallyworld) wrote :

By app data, are you talking about data managed using leader-set and leader-get? We are trying to move away from these.

The current best practice is that data between units is to be shared via relation data, using a peer relation.

Revision history for this message
Joseph Phillips (manadart) wrote :

Marking incomplete for the moment. Set back to "New" if there's more to discuss.

Changed in juju:
status: New → Incomplete
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.