Break out metadata sync so it doesn't rely on health of juju

Bug #1799850 reported by Haw Loeung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Repository Cache Charm
Triaged
High
Unassigned

Bug Description

Hi,

Had a whole bunch of environments reporting metadata out of date. Turns out it was to do with the JAAS controller used.

I think we should break out the sync process so it's not heavily tied into the health of Juju. Maybe just have juju leader-elections write out and update the leader on all u-r-c units but the cron job and sync process run from cron outside of 'juju-run' which is what it's currently configured to d.

Related branches

Revision history for this message
Haw Loeung (hloeung) wrote :

https://code.launchpad.net/~hloeung/ubuntu-repository-cache/allow-specifying-leader/+merge/427251 is a first step to rely less on Juju due to LP:1977798.

There's more work to be done, in particular removing the reliance on juju-run for triggering and pushing the latest metadata snapshot to peers.

Changed in ubuntu-repository-cache:
status: New → Triaged
importance: Undecided → High
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.