lp:~hloeung/ubuntu-repository-cache/juju-storage

Created by Haw Loeung on 2020-06-18 and last modified on 2020-06-18
Get this branch:
bzr branch lp:~hloeung/ubuntu-repository-cache/juju-storage
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

271. By Haw Loeung on 2020-06-18

Add support for Juju storage, mostly for persistent storage with Azure

270. By Haw Loeung on 2020-06-02

Fix permissions with apache2 logrotate config - LP:1835136

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/fix-logrotate-apache2-perms/+merge/385006
Reviewed-by: Paul Collins <email address hidden>

269. By Benjamin Allot on 2020-04-15

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 on 2020-04-15

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 on 2020-04-15

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>

266. By Haw Loeung on 2020-02-04

[trivial] Fixed output on retry attempts

265. By Haw Loeung on 2020-02-04

Make metadata sync more resilient and retry

For Ubuntu Archive, it's fine because the sync host usually resolves
to more than one host/IP and therefore it goes through each but for
something like Ubuntu Ports, it's only a single host/IP. Instead,
let's retry up to 3 times before moving onto the next host.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/retry-for-each-host/+merge/378544
Reviewed-by: Paul Collins <email address hidden>

264. By Haw Loeung on 2019-11-25

Fix maximum_object_size_in_memory

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/fix-maximum_object_size_in_memory/+merge/375940
Reviewed-by: Thomas Cuthbert <email address hidden>

263. By Haw Loeung on 2019-11-20

Ensure MPM tuning settings are applied, also graceful apache on change

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/fix-apache2-mpm/+merge/375742
Reviewed-by: Thomas Cuthbert <email address hidden>

262. By Haw Loeung on 2019-09-09

Don't use hookenv.config() for apache root

ubuntu_repository_cache_sync() runs as the 'www-sync' user but permissions of charm/.juju-persistent-config as used by hookenv.config() are restricted to root 0600. Instead, we work out apache root from config file.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/no-hookenv-config-for-apache-root/+merge/372458
Reviewed-by: Joel Sing <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