Pod using a hostPath volume cant not start in OpenShift 4

Solution In Progress - Updated -

Issue

  • The path indicated by the hostPath can not be created on the node where the pod is scheduled and the pod can not start.
0s          Warning   Failed                           pod/httpd-example-10-dn555               Error: failed to mkdir /local/configvol: mkdir /local: operation not permitted

Environment

  • Red Hat OpenShift Container Platform (RHOCP)

    • 4.x
  • Red Hat CoreOS (RHCOS)

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