lp:~hloeung/ubuntu-repository-cache/host-service-reload

Created by Haw Loeung on 2020-04-14 and last modified on 2020-04-15
Get this branch:
bzr branch lp:~hloeung/ubuntu-repository-cache/host-service-reload
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-04-15

Switched so default is to ensure apache2 is started

270. By Haw Loeung on 2020-04-15

Removed extra logging

269. By Haw Loeung on 2020-04-15

Fixed to use start() and start apache2 if not running

268. By Haw Loeung on 2020-04-14

Fixed race where on install, site archive_ubuntu_com may not exist

267. By Haw Loeung on 2020-04-14

Log apache2 service actions and use charm-helpers wrappers instead to make it consistent

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