Volume Claim not working in Red Hat OpenShift Container Platform 3.11 when done via Web-Console

Solution Verified - Updated -

Issue

  • We have a new Openshift 3.11 Cluster with local volume storage configured. When we create a Persistant Volume Claim using web-console it creates a claim as shown below. The problem is the claim remains pending forever. But when I'm adding storageClassName to the claim it works and correctly claims the volume.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  annotations:
    volume.beta.kubernetes.io/storage-class: local-ssd
  finalizers:
  - kubernetes.io/pvc-protection
  name: test
  namespace: storagetest
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 9G

Environment

  • Red Hat OpenShift Container Platform 3.11

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