Creating Dynamic Persistent Volume Claim in OpenShift

Solution Unverified - Updated -

Issue

  • external heketi route not allowing for the storage class to properly communicate with the heleti pod.
  • oc get events output similar to
   4m          24m          84        pvc.157188491c0cf907         PersistentVolumeClaim               Warning   ProvisioningFailed   persistentvolume-controller   Failed to provision volume with StorageClass "glusterfs-storage": create volume error: error creating volume 
   7s          46s          4         pvc.1571899656824821         PersistentVolumeClaim               Warning   ProvisioningFailed   persistentvolume-controller   Failed to provision volume with StorageClass "glusterfs-storage": create volume error: error creating volume

Environment

  • Red Hat OpenShift Container Storage 3.9

  • # rpm -qa | grep gluster

    glusterfs-cli-3.12.2-25.el7rhgs.x86_64 
    glusterfs-client-xlators-3.12.2-25.el7rhgs.x86_64 
    vdsm-gluster-4.19.43-2.3.el7rhgs.noarch 
    python2-gluster-3.12.2-25.el7rhgs.x86_64 
    gluster-block-0.2.1-28.el7rhgs.x86_64 
    glusterfs-fuse-3.12.2-25.el7rhgs.x86_64 
    gluster-nagios-addons-0.2.10-2.el7rhgs.x86_64 
    glusterfs-geo-replication-3.12.2-25.el7rhgs.x86_64 
    libvirt-daemon-driver-storage-gluster-4.5.0-10.el7_6.3.x86_64 
    glusterfs-3.12.2-25.el7rhgs.x86_64 
    glusterfs-rdma-3.12.2-25.el7rhgs.x86_64 
    glusterfs-libs-3.12.2-25.el7rhgs.x86_64 
    gluster-nagios-common-0.2.4-1.el7rhgs.noarch 
    glusterfs-api-3.12.2-25.el7rhgs.x86_64 
    glusterfs-server-3.12.2-25.el7rhgs.x86_64
    

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