Could not load config file /etc/origin/node/node-config.yaml due to an error

Solution Verified - Updated -

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-node logs, 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content