I was trying GE ch03s08.
I used openshift-storage-cephfs.csi.ceph.com provisioner with
volumebindingmode: waitforffirstconsumer and reclaimpolicy: retain.
When i create pvc it kept in pending state after configuring deployment to use it and i got the following error:
I dont know what secret is missing and from where i can get its value.
I appreciate your help.
Thanks in advance
I was trying it using webconsole to create sc instead of using Yaml and tried to create pvc but i got the above error and when tried to map the pvc to deployment it kept in Pending state.
If you are selecting WaitForFirstConsumer mode, it will delay the binding and provisioning of a PersistentVolume until a Pod using the PersistentVolumeClaim is created.
PersistentVolumes will be selected or provisioned conforming to the topology that is specified by the Pod's scheduling constraints.
Also note that :
If you choose to use WaitForFirstConsumer, do not use nodeName in the Pod spec to specify node affinity. If nodeName is used in this case, the scheduler will be bypassed and PVC will remain in pending state.