OCP 4 Node upgrade fails with Operation not permitted error while cleaning old deployments
Issue
- The worker node fails to upgrade and the corresponding machine-config-daemon pod logs show below error:
error: Cleaning deployments: Removing ostree/deploy/rhcos/deploy/ef91954348b1901dc79819991ddde8bffc718241fb23fa31a0798d337fa330ea.0: unlinkat(resolv.conf): Operation not permitted
Environment
- Red Hat Openshift Container Platform 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.