The node in a degraded state because of the use of a deleted machineconfig: machineconfig.machineconfiguration.openshift.io; rendered-$[custom-machine-config] not found in OpenShift 4.x

Solution Verified - Updated -

Issue

  • Assigning a machineConfigPool to a node and then deleting by accident the machineConfig in use will put the node in a loopback trying to render the deleted machineConfig. It will cause discrepancies with the existing machineConfigPool to be in a degraded state.
  • Deletion of a rendered machineConfig in use should never be done since it will lead to a degraded status of the node associated.
  • The only other reason to lose a rendered config is a drift during install between the bootstrap and master generation.

Environment

  • Openshift Container Platform (OCP)
    • 4.X
  • RHCOS/RHEL 8.

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