machine-config-daemon POD crashlooping during RHOCP upgrade due to incorrect /boot/loader config
Issue
- machine-config-daemon container in a POD in the openshift-machine-config-operator project crashlooping with the error message: Failed to initialize single run daemon: error reading osImageURL from rpm-ostree: error running rpm-ostree status --json: : exit status 1
- rpm-ostreed service on the node with the error message: "error: Couldn't start daemon: Error setting up sysroot: loading sysroot: Parsing deployment 0 in stateroot 'rhcos': readlinkat: No such file or directory"
Environment
- Red Hat OpenShift Container Platform
- 4.6 and above
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.