MachineConfigPool degraded: content mismatch for file "/etc/resolv.conf"

Solution Verified - Updated -

Issue

  • One or more MachineConfigPools (MCP) are degraded:

    $ oc get mcp
    NAME     CONFIG                                         UPDATED   UPDATING   DEGRADED   MACHINECOUNT   READYMACHINECOUNT   UPDATEDMACHINECOUNT   DEGRADEDMACHINECOUNT   AGE
    master   rendered-master-xxxxxxx      False     True       True       3              1                   1                     1                      10h
    worker   rendered-worker-xxxxxxx      False     True       True       4              1                   1                     3                      10h
    
  • Message in the degraded MachineConfigPool (MCP):

    Node node-01.example.com is reporting: "unexpected on-disk state validating against rendered-worker-xxxxxxx"
    
  • machine-config-daemon pod shows error:

    E0101 00:00:00.000000    2239 daemon.go:1412] content mismatch for file /etc/resolv.conf (-want +got):
        bytes.Join({
    [...]
    E0101 00:00:00.000000    2239 writer.go:135] Marking Degraded due to: unexpected on-disk state validating against rendered-worker-xxxxxxx
    [...]
    

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