OCP 4 Node upgrade fails with Operation not permitted error while cleaning old deployments

Solution Verified - Updated -

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.

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