~jsimpso/ubuntu-mirror-charm:charmcraft

Last commit made on 2022-08-04
Get this branch:
git clone -b charmcraft https://git.launchpad.net/~jsimpso/ubuntu-mirror-charm
Only James Simpson can upload to this branch. If you are James Simpson please log in for upload directions.

Branch merges

Branch information

Name:
charmcraft
Repository:
lp:~jsimpso/ubuntu-mirror-charm

Recent commits

cc15ef7... by James Simpson

Update metadata and add charmcraft.yaml

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

b4b3363... by Paul Collins

honour apache_logdir config setting for linuxcontainers

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

96cefa0... by Paul Collins

honour apache_logdir config setting for linuxcontainers

f562fe5... by Paul Collins

fix role_list for cloud-images

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