lp:~hloeung/ubuntu-repository-cache/metadata-sync-cron-charm-env-fixes

Created by Haw Loeung and last modified
Get this branch:
bzr branch lp:~hloeung/ubuntu-repository-cache/metadata-sync-cron-charm-env-fixes
Only Haw Loeung can upload to this branch. If you are Haw Loeung please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Haw Loeung
Project:
Ubuntu Repository Cache Charm
Status:
Merged

Recent revisions

276. By Haw Loeung

Fix metadata sync cron job

We rely on charm-env so the cron job can find dependent
libraries/modules. Unfortunately, with a unit with multiple charms
(subordinates), charm-env fails with 'Ambiguous possibilities for
JUJU_CHARM_DIR'. This fixes that by specifying we want the
'ubuntu-repository-cache' charm and the bundled libraries/modules.

275. By Haw Loeung

Make storage optional

274. By Haw Loeung

Add support for Juju storage. Useful for example in Azure.

273. By Haw Loeung

Fix permissions with apache2 logrotate config - LP:1835136

272. By Haw Loeung

Remove charmhelpers and backoff

Reactive automatically installs charmhelpers. For backoff, we'll use wheelhouse to install it.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/charmhelpers-and-backoff-be-gone/+merge/383843
Reviewed-by: Tom Haddon <email address hidden>

271. By Haw Loeung

Convert to reactive framework

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/convert-to-reactive-framework/+merge/383842
Reviewed-by: Tom Haddon <email address hidden>

270. By Haw Loeung

lib/ubuntu_repository_cache: Switch to using unitdata.kv() for persistent storage rather than modifying config context

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/lib-unitdata-kv-for-persistent-storage/+merge/383841
Reviewed-by: Tom Haddon <email address hidden>

269. By Benjamin Allot

Reduce the threshold of cache_swap_min and max

Try to reclaim space in the cache more aggrssively, as this is the
main suspected culprit in having an overall cache size getting
higher than the cache_dir size parameter.

For context, see http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-3-5-27-does-not-respect-cache-dir-size-but-uses-100-of-partition-and-fails-td4685845.html#a4685883

Reviewed-on: https://code.launchpad.net/~ballot/ubuntu-repository-cache/cache_swap/+merge/382215
Reviewed-by: Laurent Sesques <email address hidden>
Reviewed-by: Haw Loeung <email address hidden>

268. By Benjamin Allot

Delete the old metadata items befoire syncing the new ones.

Reviewed-on: https://code.launchpad.net/~ballot/ubuntu-repository-cache/rsync_before/+merge/382205
Reviewed-by: Barry Price <email address hidden>
Reviewed-by: Haw Loeung <email address hidden>

267. By Haw Loeung

Fixed CI jobs failing due to apache2 being stopped/inactive.

Fixed race with site archive_ubuntu_com not existing on install.

Log apache2 start/reloads.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/host-service-reload/+merge/382254
Reviewed-by: Paul Collins <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu-repository-cache/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers