How to troubleshoot a persistent volume creation failure in Openshift Container Storage 3.x?
Issue
When a persistent volume claim fails to provision a Gluster volume, the error message obtained might be quite generic:
$ oc get events
LAST SEEN FIRST SEEN COUNT NAME KIND SUBOBJECT TYPE REASON SOURCE MESSAGE
17s 2d 16739 test-pvc PersistentVolumeClaim Warning ProvisioningFailed persistentvolume-controller Failed to provision volume with StorageClass "glusterfs-storage": failed to create volume: failed to create volume: see kube-controller-manager.log for details
The above error doesn't show any reason why the volume creation doesn't succeed. In addition, the file kube-controller-manager.log is not present in any master node.
How to figure out what is the real condition at the Gluster side?
Environment
Red Hat Openshift Container Storage 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.