Skip to content

Commit 8f016a3

Browse files
authored
Merge pull request #35551 from mariafromano-25/systemd-ign-cgroupv1-fix
Add extra kernel argument to force cgropuv1 spin up in [crio_cgroupv1.ign]
2 parents 099c3f6 + 2721cde commit 8f016a3

File tree

7 files changed

+10
-3
lines changed

7 files changed

+10
-3
lines changed

jobs/e2e_node/crio/crio_cgroupv1.ign

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
},
55
"kernelArguments": {
66
"shouldExist": [
7-
"SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1"
7+
"SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1",
8+
"systemd.unified_cgroup_hierarchy=0"
89
],
910
"shouldNotExist": [
1011
"mitigations=auto,nosmt"

jobs/e2e_node/crio/crio_cgroupv1_eventedpleg.ign

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
},
55
"kernelArguments": {
66
"shouldExist": [
7-
"SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1"
7+
"SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1",
8+
"systemd.unified_cgroup_hierarchy=0"
89
],
910
"shouldNotExist": [
1011
"mitigations=auto,nosmt"

jobs/e2e_node/crio/crio_cgroupv1_hugepages.ign

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
},
55
"kernelArguments": {
66
"shouldExist": [
7-
"SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1"
7+
"SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1",
8+
"systemd.unified_cgroup_hierarchy=0"
89
],
910
"shouldNotExist": [
1011
"mitigations=auto,nosmt"

jobs/e2e_node/crio/templates/base/cgroupv1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
kernel_arguments:
33
should_exist:
44
- SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1
5+
- systemd.unified_cgroup_hierarchy=0

jobs/e2e_node/crio/templates/crio_cgroupv1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ kernel_arguments:
66
- mitigations=auto,nosmt
77
should_exist:
88
- SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1
9+
- systemd.unified_cgroup_hierarchy=0
910
storage:
1011
files:
1112
- path: /etc/zincati/config.d/90-disable-auto-updates.toml

jobs/e2e_node/crio/templates/crio_cgroupv1_eventedpleg.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ kernel_arguments:
66
- mitigations=auto,nosmt
77
should_exist:
88
- SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1
9+
- systemd.unified_cgroup_hierarchy=0
910
storage:
1011
files:
1112
- path: /etc/zincati/config.d/90-disable-auto-updates.toml

jobs/e2e_node/crio/templates/crio_cgroupv1_hugepages.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ kernel_arguments:
66
- mitigations=auto,nosmt
77
should_exist:
88
- SYSTEMD_CGROUP_ENABLE_LEGACY_FORCE=1
9+
- systemd.unified_cgroup_hierarchy=0
910
storage:
1011
files:
1112
- path: /etc/zincati/config.d/90-disable-auto-updates.toml

0 commit comments

Comments
 (0)