cancel
Showing results for 
Search instead for 
Did you mean: 
khokha
Flight Engineer
Flight Engineer
  • 869 Views

DO370

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:

pvc-error.png

I dont know what secret is missing and from where i can get its value.

I appreciate your help.

Thanks in advance

Labels (1)
Tags (2)
6 Replies
Chetan_Tiwary_
Moderator
Moderator
  • 817 Views

Hello @khokha !

Thanks for reaching out!

I will check and let you know. 

 

Chetan_Tiwary_
Moderator
Moderator
  • 787 Views

Hello @khokha !

I was checking ch03s08 and was able to complete the guided exercise as instructed :

Chetan_Tiwary__0-1700485662343.png

I think you were trying something on our your own - and you got that error right ?

0 Kudos
khokha
Flight Engineer
Flight Engineer
  • 749 Views

@Chetan_Tiwary_ 

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.

Chetan_Tiwary_
Moderator
Moderator
  • 740 Views

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.

 

khokha
Flight Engineer
Flight Engineer
  • 625 Views

@Chetan_Tiwary_ 

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

Chetan_Tiwary_
Moderator
Moderator
  • 624 Views

Ok @khokha , Please share the finding and the fix.

0 Kudos
Join the discussion
You must log in to join this conversation.