-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.14.0, 4.15.0
-
None
-
Moderate
-
None
-
2
-
OSDOCS Sprint 254
-
1
-
False
-
Description of problem:
According to the documentation https://docs.openshift.com/container-platform/4.14/installing/install_config/enabling-cgroup-v1.html enabling cgroups v1 during installation can be done by adding the following manifest ~~~ apiVersion: config.openshift.io/v2 kind: Node metadata: name: cluster spec: cgroupMode: "v1" ~~~ however apiVersion: config.openshift.io/v2 doesn't exists
Version-Release number of selected component (if applicable):
4.14/5
How reproducible:
Create manifest as explained by the docs and add it at install time
Steps to Reproduce:
1. Create a new cluster with the manifest 2. start installation
Actual results:
Installation fails with the following in the node's journal: Apr 30 11:47:50 localhost.localdomain bootkube.sh[23298]: [#2395] failed to create some manifests: Apr 30 11:47:50 localhost.localdomain bootkube.sh[23298]: "cgroupv1.yaml": unable to get REST mapping for "cgroupv1.yaml": no matches for kind "Node" in version "config.openshift.io/v2" Apr 30 11:47:50 localhost.localdomain cluster-bootstrap[23338]: [#2396] failed to create some manifests:
Expected results:
Installation completes
Additional info:
changing to v1: apiVersion: config.openshift.io/v1 installs the cluster successfully and sets the cgroup
$ oc get nodes.config cluster -o yaml |grep cgroupMode cgroupMode: v1 looking at the api resources v2 doesn't exist $ oc version Client Version: 4.14.10 Kustomize Version: v5.0.1 Server Version: 4.15.6 Kubernetes Version: v1.28.7+f1b5f6c $ $ oc api-resources | grep config |grep " Node" nodes config.openshift.io/v1 false Node $ $ oc version Client Version: 4.14.10 Kustomize Version: v5.0.1 Server Version: 4.14.18 Kubernetes Version: v1.27.11+749fe1d $ $ oc api-resources | grep config |grep " Node" nodes config.openshift.io/v1 false Node $
- is related to
-
OCPBUGS-33281 [enterprise-4.13] Issue in file installing/install_config/enabling-cgroup-v2.adoc
- Release Pending