Machine Config Pool report DEGRADED due to "mode mismatch for file: "/etc/sysconfig/sshd"; expected: -rw-r-----; received: --w-------"

Solution Verified - Updated -

Issue

  • Machine Config Pool report DEGRADED due to permission issue on the file.
mode mismatch for file: "/etc/sysconfig/sshd"; expected: -rw-r-----; received: --w-------
# oc get mcp

NAME     CONFIG                             UPDATED   UPDATING   DEGRADED   MACHINECOUNT   READYMACHINECOUNT   UPDATEDMACHINECOUNT   DEGRADEDMACHINECOUNT   AGE
master   rendered-master-XXXXXXXXXXXXXXXXX   False     True       True       3              2                   2                     1                      46d
worker   rendered-worker-XXXXXXXXXXXXXXXXX   True      False      False      4              4                   4  

Environment

  • Red Hat OpenShift Container Platform 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