The machine-config operator is degraded while the machine-config-controller streams 'line too long (max 2048 bytes)' errors

Solution Verified - Updated -

Issue

  • The machine-config operator is in a Degraded state, while the machine-config-controller streams 'line too long (max 2048 bytes)' errors.
  • The following can also be seen in the MachineConfigController por logs:

    Error syncing image config openshift-config: could not Create/Update MachineConfig: could not generate origin ContainerRuntime Configs: generateMachineConfigsforRole failed with error error transpiling ct config to Ignition config: failed to convert config to Ignition config error: invalid unit content: line too long (max 2048 bytes)
    Error syncing controllerconfig machine-config-controller: failed to create MachineConfig for role master: error transpiling ct config to Ignition config: failed to convert config to Ignition config error: invalid unit content: line too long (max 2048 bytes)
    Error syncing machineconfigpool worker: ControllerConfig has not completed: completed(false) running(false) failing(true)
    Error syncing machineconfigpool master: ControllerConfig has not completed: completed(false) running(false) failing(true)
    Error syncing kubeletconfig cluster: GenerateMachineConfigsforRole failed with error error transpiling ct config to Ignition config: failed to convert config to Ignition config error: invalid unit content: line too long (max 2048 bytes)
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4

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