Could not load config file /etc/origin/node/node-config.yaml due to an error
Issue
- Nodes are reporting as NotReady
# oc get nodes
NAME STATUS ROLES AGE VERSION
master0.example.com NotReady master 1y v1.11.0+d4cacc0
master1.example.com NotReady master 1y v1.11.0+d4cacc0
master2.example.com NotReady master 1y v1.11.0+d4cacc0
- Checking the
atomic-openshift-nodelogs, it looks like Kubelet is facing problems reading node-config.yaml:
Sep 17 14:58:36 master0.example.com atomic-openshift-node[20736]: Error: unable to read node config: could not load config file "/etc/origin/node/node-config.yaml" due to an error: error reading config: v1.NodeConfig.KubeletArguments: []string: ReadString: expects " or n, but found 7, error found in #10 byte of .......
Sep 17 14:58:36 master0.example.com systemd[1]: atomic-openshift-node.service: main process exited, code=exited, status=1/FAILURE
Environment
- Red Hat OpenShift Container Platform
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.