Pod creation stuck in "ContainerCreating" stage due iscsi Read-only file system

Solution In Progress - Updated -

Issue

  • A pod gets stuck in the ContainerCreating stage returning an error similar to the following:

    MountVolume.WaitForAttach failed for volume "pvc-a401b46a-7f6e-11e8-9ea0-fa163e2d3982" : failed to get any path for iscsi 
    disk, last err seen: iscsi: failed to sendtargets to portal 10.0.0.x:3260 output: iscsiadm:  Could not open 
    /var/lib/iscsi/send_targets/10.0.0.x,3260: Read-only file system iscsiadm: Could not add new discovery record.Warning 
    FailedMount 9s kubelet, qe-piqin-node-1. Unable to mount volumes for pod "cinderpd1_test(1616ee93-7f6f-11e8-9ea0-
    fa163e2d3982)": timeout expired waiting for volumes to attach or mount for pod "test"
    

Environment

  • Openshift Container Platform (OCP) 3.10
  • Red Hat Enterprise Linux Atomic Host (RHEL Atomic Host) 7.5
  • Kubernetes v1.10.0
  • Persistent volumes (PVC) using gluster

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.