Merge ~lgp171188/launchpad:launchpad-dev-environment-xenial-cgroups-v1 into launchpad:master

Proposed by Guruprasad
Status: Merged
Approved by: Guruprasad
Approved revision: ee1db13fa8db9f8e60a6fb90d9c321cc4d35896f
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~lgp171188/launchpad:launchpad-dev-environment-xenial-cgroups-v1
Merge into: launchpad:master
Diff against target: 20 lines (+9/-0)
1 file modified
doc/how-to/running.rst (+9/-0)
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+425245@code.launchpad.net

Commit message

Add a note about the xenial container requiring cgroups v1

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/doc/how-to/running.rst b/doc/how-to/running.rst
2index a653fdd..4fe9fd3 100644
3--- a/doc/how-to/running.rst
4+++ b/doc/how-to/running.rst
5@@ -23,6 +23,15 @@ For the containers, these instructions should work with Ubuntu 16.04 LTS or
6 later. We currently test on 16.04 and 18.04, with the aim of upgrading
7 production to 18.04 soon. 20.04 is known not to work yet.
8
9+.. note::
10+ Ubuntu 22.04 ships with cgroups v2 enabled by default. Since the 16.04
11+ release is too old to support it, the container doesn't get set up properly
12+ as per the profile and isn't usable for setting up Launchpad. So to re-enable
13+ cgroups v1, set the `systemd.unified_cgroup_hierarchy=0` kernel parameter.
14+ For GRUB, this can be done by editing `/etc/default/grub` and
15+ appending the parameter to the `GRUB_CMDLINE_LINUX_DEFAULT` value,
16+ running `update-grub` after that, and rebooting.
17+
18 Launchpad requires at least Python 3.5 (i.e. newer than Ubuntu 14.04 LTS).
19
20 We'd like Launchpad to run on other operating systems, especially `Debian

Subscribers

People subscribed via source and target branches

to status/vote changes: