lp://qastaging/~tcuthbert/ubuntu-repository-cache/squid-mem-qos
- Get this branch:
- bzr branch lp://qastaging/~tcuthbert/ubuntu-repository-cache/squid-mem-qos
Branch merges
- Ubuntu Repository Cache Charmers, Canonical: Pending requested
-
Diff: 227 lines (+148/-1)5 files modifiedconfig.yaml (+18/-0)
lib/ubuntu_repository_cache/service.py (+1/-0)
lib/ubuntu_repository_cache/squid.py (+69/-1)
lib/ubuntu_repository_cache/util.py (+52/-0)
templates/squid-deb-proxy.service.d/squid-deb-proxy.conf (+8/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 373. By Haw Loeung
-
Fixed updating mtr systemd service on sync-host change; Increase max. retries for metadata sync. Make it enough times to last through a juju controller upgrade
Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/bump- metadata- retries/ +merge/ 428427
Reviewed-by: Paul Collins <email address hidden> - 371. By Haw Loeung
-
[trivial] Partial revert of r369, metrics for each failure makes it easier to read/identify in grafana
- 370. By Haw Loeung
-
Add timestamp on output, useful for cron emails
Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/metadata- sync-failure- output- timestamp/ +merge/ 428337
Reviewed-by: Loïc Gomez <email address hidden> - 369. By Haw Loeung
-
Add metrics for when success (zero failures); also only once at the end rather than metric for each failure
Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/metadata- sync-metrics- only-once/ +merge/ 428333
Reviewed-by: Loïc Gomez <email address hidden> - 368. By Haw Loeung
-
Improve logging and output of errors from juju-run failures
We save both STDOUT and STDERR then log it as well as output it for
inclusion in the cron e-mails.Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/improve- logging- of-juju- run-failures/ +merge/ 428081
Reviewed-by: Barry Price <email address hidden> - 367. By Haw Loeung
-
Add Juju info in subject line of cron emails to make it easier to identify cloud and region
Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/cron- more-info- cron-emails/ +merge/ 428057
Reviewed-by: Paul Collins <email address hidden> - 366. By Haw Loeung
-
Increase retries on juju-run failures to reduce issues with incomplete metadata sync
We do this by increasing the no. of retries as well as the time to sleep before next retry.
Reviewed-on: https:/
/code.launchpad .net/~hloeung/ ubuntu- repository- cache/increase- juju-run- retries/ +merge/ 428050
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://qastaging/ubuntu-repository-cache