Mount failed with initialization error for LocalVolume PV
Issue
- Pod is stuck in
ContainerCreatingstate 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.