PodDisruptionBudget (PDB) could cause Machine-Config-Operator (MCO) to be degraded during OCP4 upgrade

Solution Verified - Updated -

Issue

  • OCP4 upgrade is failing due to machine-config-operator degraded.
  • Log message errors in machine-config-controller-xxxxx pod.

    $ oc logs -n openshift-machine-config-operator machine-config-controller-xxxxx -c machine-config-controller
    ...
    I0220 00:00:00.000000   49566 update.go:89] error when evicting pod "<pdb_name>" (will retry after 5s): Cannot evict pod as it would violate the pod's disruption budget.
    

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