Hello everyone,
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
Hello @khokha !
I was checking ch03s08 and was able to complete the guided exercise as instructed :
I think you were trying something on our your own - and you got that error right ?
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.
As i mentioned the pvc kept in pending state even after mapping it to a deployment.
Anyway, I figured out why i got this error about the secret.
Thanks
Ok @khokha , Please share the finding and the fix.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.