~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm:remove-apache-2.2-support

Last commit made on 2020-03-17
Get this branch:
git clone -b remove-apache-2.2-support https://git.launchpad.net/~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm
Only Paul Collins can upload to this branch. If you are Paul Collins please log in for upload directions.

Branch merges

Branch information

Name:
remove-apache-2.2-support
Repository:
lp:~pjdc/ubuntu-mirror-charm/+git/ubuntu-mirror-charm

Recent commits

e7c8c79... by Paul Collins

make bionic the default release

c133432... by Paul Collins

remove apache 2.2 and therefore precise support

Also, add explicit series list to metadata.yaml, and replace categories with tags to shut up "charm proof".

0b00e48... by David Lawson

Update default user to match both historical precedent and subordinate charms that interact with ubuntu-mirror

Reviewed-on: https://code.launchpad.net/~deej/ubuntu-mirror-charm/+git/update-default-mirror-user/+merge/380521
Reviewed-by: Haw Loeung <email address hidden>

1947d3c... by David Lawson

Update default user to match both historical precedent and subordinate charms that interact with ubuntu-mirror

67efd52... by David Lawson

Break out user and root directory creation into their own functions called both from the install hook and config-changed ala the other configuration functions.

Reviewed-on: https://code.launchpad.net/~deej/ubuntu-mirror-charm/+git/add-user-fix/+merge/380445
Reviewed-by: Tom Haddon <email address hidden>

a6a4f76... by David Lawson

Make import list more pythonic

8f7ba93... by David Lawson

Clean up imports from charmhelpers.core.host

a1b62a1... by David Lawson

Break out user and root directory creation into their own functions called both from the install hook and config-changed ala the other configuration functions.

6530651... by Haw Loeung

Fix failures to spawn threads by increasing kernel.pid_max.

Reviewed-on: https://code.launchpad.net/~hloeung/canonical-is-charms/ubuntu-mirror-kernel-pid-max/+merge/373028
Reviewed-by: Thomas Cuthbert <email address hidden>

b906357... by Haw Loeung

With the increase from 16k to 32k clients, we run into cases where
threads fail to be created as follows:

| [Fri Aug 30 00:47:00.194685 2019] [mpm_worker:alert] [pid 30253:tid 140371333605120] (28)No space left on device: apr_thread_create: unable to create worker thread

| [Fri Sep 20 06:12:41.105463 2019] [mpm_worker:alert] [pid 28446:tid 139835971380992] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
| [Fri Sep 20 06:12:42.110150 2019] [mpm_worker:alert] [pid 30519:tid 139835971380992] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
| [Fri Sep 20 06:12:42.110152 2019] [mpm_worker:alert] [pid 30535:tid 139835971380992] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread

This is due to running out of PIDs so increase this.