Mount failed with initialization error for LocalVolume PV

Solution Verified - Updated -

Issue

  • Pod is stuck in ContainerCreating state with mount failure error as shown below:
  Warning  FailedMount  63s (x3 over 5m7s)  kubelet            MountVolume.NewMounter initialization failed for volume "local-pv-72b81fbe" : path "/mnt/local-storage/local-sc/alert_manager" does not exist
  Warning  FailedMount  53s                 kubelet            Unable to attach or mount volumes: unmounted volumes=[alertmanager-main-db], unattached volumes=[alertmanager-trusted-ca-bundle kube-api-access-jm98z config-volume tls-assets alertmanager-main-db secret-alertmanager-main-tls secret-alertmanager-main-proxy secret-alertmanager-kube-rbac-proxy]: timed out waiting for the condition

Environment

  • Red Hat OpenShift Container Platform
    • 4.x
  • Local Storage Operator

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