~nick-moffitt/ubuntu-mirror-charm:rt155655

Last commit made on 2023-01-27
Get this branch:
git clone -b rt155655 https://git.launchpad.net/~nick-moffitt/ubuntu-mirror-charm
Only Nick Moffitt can upload to this branch. If you are Nick Moffitt please log in for upload directions.

Branch merges

Branch information

Name:
rt155655
Repository:
lp:~nick-moffitt/ubuntu-mirror-charm

Recent commits

df5b350... by Nick Moffitt

RT#155655 Set max age for caching proxies to a little under an hour

This is something we already do on security.ubuntu.com and it apparently
helps prevent thundering-herd problems with load behind caching proxies.

1c93562... by James Simpson

Update metadata and add charmcraft.yaml

Reviewed-on: https://code.launchpad.net/~jsimpso/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/427803
Reviewed-by: Nick Moffitt <email address hidden>

cc15ef7... by James Simpson

Update metadata and add charmcraft.yaml

dd1af31... by James Simpson

xinetd: log PID on successful connections

Reviewed-on: https://code.launchpad.net/~jsimpso/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/427796
Reviewed-by: Haw Loeung <email address hidden>

1885715... by James Simpson

xinetd: log PID on successful connections

xinetd is configured to log "HOST" for successful connections. It does
so when they open, but not when they close:
Aug 4 03:16:51 kazooie xinetd[4544]: START: rsync from=::ffff:127.0.0.1
Aug 4 03:16:53 kazooie xinetd[4544]: EXIT: rsync duration=2(sec)

By adding the PID, we can effectively tie the EXIT messages to the
relevant START message:
Aug 4 03:48:42 aerodent xinetd[40711]: START: rsync pid=29531 from=::ffff:127.0.0.1
Aug 4 03:49:20 aerodent xinetd[40711]: EXIT: rsync pid=29531 duration=38(sec)

27896e1... by Loïc Gomez

Fixing CRIT alerting over the weekend:

- do not CRIT on weekends for mirrors that can stay out of date for 4 days+
- preemptively CRIT on Friday instead of WARN, if it would CRIT over the weekend

Reviewed-on: https://code.launchpad.net/~kotodama/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/427205
Reviewed-by: Laurent Sesquès <email address hidden>

978ed64... by Loïc Gomez

Pre-CRIT on Friday on WARN if we would CRIT during the weekend

738c48b... by Loïc Gomez

Do not CRIT on weekends for mirrors that can stay out of date for more than 4 days

f32f684... by Paul Collins

add support for hosting extras.ubuntu.com

Reviewed-on: https://code.launchpad.net/~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm/+merge/411569
Reviewed-by: Haw Loeung <email address hidden>

d15609d... by Paul Collins

add support for hosting extras.ubuntu.com