OpenShift cluster fails to upgrade due to MCO in Degraded state.

Solution Verified - Updated -

Issue

  • Cluster Upgrades fail intermittently with degraded MCO.
  • The machine-config-controller pod shows the following logs:
1 template_controller.go:421] Error syncing controllerconfig machine-config-controller: failed to read dir "/etc/mcc/templates": readdirent /etc/mcc/templates: no such file or directory
1 render_controller.go:382] ControllerConfig has not completed: completed(false) running(false) failing(true)
1 render_controller.go:383] Dropping machineconfigpool "worker" out of the queue: ControllerConfig has not completed: completed(false) running(false) failing(true)
1 render_controller.go:382] ControllerConfig has not completed: completed(false) running(false) failing(true)

Environment

  • Red Hat OpenShift Container Platform 4.x
  • VSphere UPI

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