Machine Config Operator Degraded - unexpected on-disk state validating against rendered-worker

Solution Verified - Updated

Environment

Red Hat OpenShift Container Platform 4

Issue

The machine config operator is degraded due to the unexpected on-disk validation.

2021-05-07T11:11:12.223379866Z I0507 11:11:12.223268 3639884 daemon.go:766] Current config: rendered-worker-a04c8061855eaa5eb20e7783abbffa84
2021-05-07T11:11:12.223379866Z I0507 11:11:12.223300 3639884 daemon.go:767] Desired config: rendered-worker-0c415a2254c881e058a57f24e649aa7d
2021-05-07T11:11:12.234014224Z I0507 11:11:12.233932 3639884 update.go:1419] Disk currentConfig rendered-worker-0c415a2254c881e058a57f24e649aa7d overrides node annotation rendered-worker-a04c8061855eaa5eb20e7783abbffa84
2021-05-07T11:11:12.238283452Z E0507 11:11:12.238269 3639884 writer.go:135] Marking Degraded due to: unexpected on-disk state validating against rendered-worker-0c415a2254c881e058a57f24e649aa7d

The error is Marking Degraded due to: unexpected on-disk state validating against rendered-worker...

Resolution

The issue is caused by the file on filesystem on the worker node doesn't match the file configured in the machine config.

Please check following articles for specific issue.

To troubleshoot the machine config operator, check the following article.

SBR
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.