lp:~hloeung/ubuntu-repository-cache/dont-disable-unit-on-failover-or-pause

Created by Haw Loeung and last modified
Get this branch:
bzr branch lp:~hloeung/ubuntu-repository-cache/dont-disable-unit-on-failover-or-pause
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

326. By Haw Loeung

Don't set health-check-disabled flag in apache.create_metadata_site()

On non-leader units, metadata sync calls service.pause() which then
calls this. This causes a brief period where the unit is disabled and
not serving requests. It's useful for initial unit provisioning but
not so on a fully functional unit where metadata points to an existing
copy on disk.

325. By Haw Loeung

[trivial] Minor tidy up

324. By Haw Loeung

Log overrall check result and URLs for errors

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/health-check-logging-improvements/+merge/399130
Reviewed-by: Colin Misare <email address hidden>

323. By Haw Loeung

Avoid holding up connection/request based on sending metrics and flush buffers - LP:1917317

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/health-check-flush-output-buffers/+merge/399129
Reviewed-by: David Lawson <email address hidden>

322. By Haw Loeung

Send metrics at the very end - LP:1917317

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/health-check-send-metrics-at-end/+merge/399128
Reviewed-by: Alexandre Gomes <email address hidden>

321. By Haw Loeung

Include syncing dist-upgrade-all metadata - LP:1765934

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/sync-dist-upgrade-all-metadata/+merge/398938
Reviewed-by: Colin Misare <email address hidden>

320. By Haw Loeung

We're already logging, so may as well log to the right place - LP:1917385

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/fix-squid-access-log-location/+merge/399035
Reviewed-by: Paul Collins <email address hidden>

319. By Haw Loeung

Add socket timeout for sending metrics to influx

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/add-send-to-influx-socket-timeout/+merge/398931
Reviewed-by: Paul Collins <email address hidden>

318. By Haw Loeung

Add apache2 cgi script timeout

Otherwise, value of `Timeout` is used and that defaults to 60secs which is too long. We have two check points (metadata and pool) with a timeout in the health-check cgi script to 10secs for each so 20secs should be enough for both.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/apache2-cgi-script-timeout/+merge/398920
Reviewed-by: Benjamin Allot <email address hidden>

317. By Haw Loeung

Bump metadata sync timeout

As seem in AWS us-east-1, it can take over an hour to sync the
metadata (which is now 26GiB) from another unit in the same region.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/bump-metadata-sync-timeout/+merge/398848
Reviewed-by: Max Horlanchuk <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
This branch contains Public information 
Everyone can see this information.

Subscribers