lp:~hloeung/ubuntu-repository-cache/retry-for-each-host

Created by Haw Loeung on 2020-02-04 and last modified on 2020-02-04
Get this branch:
bzr branch lp:~hloeung/ubuntu-repository-cache/retry-for-each-host
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

268. By Haw Loeung on 2020-02-04

Fixed based on review

267. By Haw Loeung on 2020-02-04

Fixed, break, not continue

266. By Haw Loeung on 2020-02-04

Fixed, increment retries

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.

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>

261. By Haw Loeung on 2019-09-09

Ship out config making it easier to trigger manual syncs - LP: #1834545

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/cron-config/+merge/372457
Reviewed-by: Joel Sing <email address hidden>

260. By Laurent Sesques on 2019-08-19

Update the check_http nrpe check to prepend and append slashes to base-path for the --url option (which nagios expects)

Reviewed-on: https://code.launchpad.net/~sajoupa/ubuntu-repository-cache/fix-check-http/+merge/371459
Reviewed-by: Jay Kuri <email address hidden>

259. By Haw Loeung on 2019-07-18

Allow overriding storage space used by squid cache

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/allow-override-squid-cache-storage/+merge/369566
Reviewed-by: Tom Haddon <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