Upgrading from 4.2.9 to 4.2.25 gets stuck while machine-config operator

Solution Verified - Updated -

Issue

  • The upgrade from 4.2.9 to 4.2.25 gets stuck when upgrading machine-config operator.
  • The logs that are observed in the machine-config controller are as follows:
I0326 18:23:38.731372       1 render_controller.go:376] Error syncing machineconfigpool master: ControllerConfig has not completed: completed(false) running(false) failing(true)

E0326 18:23:46.893844       1 kubelet_config_controller.go:308] GenerateMachineConfigsforRole failed with error failed to execute template: template: /etc/mcc/templates/common/baremetal/files/baremetal-coredns-corefile.yaml:14:21: executing "/etc/mcc/templates/common/baremetal/files/baremetal-coredns-corefile.yaml" at <.Infra.Status.Platfo...>: can't evaluate field APIServerInternalIP in type *v1.BareMetalPlatformStatus
  • Timeouts are observed in the machine-config-operator logs.
E0326 17:50:20.091704       1 operator.go:312] timed out waiting for the condition during waitForControllerConfigToBeCompleted: controllerconfig is not completed: ControllerConfig has not completed: completed(false) running(false) failing(true)

Environment

  • Red Hat OpenShift Container Platform
    • 4.2.9
    • 4.2.25

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