Bug 2124564

Summary: [DDF] I would like to add another section in Chapter 6. Troubleshooting alerts and errors in OpenShift Container Storage
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Direct Docs Feedback <ddf-bot>
Component: documentationAssignee: Anjana Suparna Sriram <asriram>
Status: NEW --- QA Contact: Neha Berry <nberry>
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: ealcaniz, jpeyrard
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Direct Docs Feedback 2022-09-06 14:02:09 UTC
I would like to add another section 

6.8 Resolving pvc in pending state for ocs-storagecluster-cephfs not able to be bound

This issue can occur if you have redeploy your OCS without fully stopping or remove the csi provisionner pod.


Procedure 

1) Double check that the csi-cephfsplugin-provisioner show the following message.

oc logs -n openshift-storage  csi-cephfsplugin-provisioner-aaaaaaaaaa-bbbbb csi-provisioner|less

I0902 13:05:32.877114       1 event.go:282] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"test", Name:"mypvc", UID:"cccccccc-dddd-eeee-ffff-gggggggggggg", APIVersion:"v1", ResourceVersion:"359756", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "ocs-storagecluster-cephfs": rpc error: code = Internal desc = rados: ret=-2, No such file or directory: "subvolume group 'csi' does not exist"

2) restart the csi-provisionner pod 

$ oc delete pod -l app=csi-cephfsplugin-provisioner

$ oc delete pod -l app=csi-cephfsplugin

At this point the pvc should be able to move from pending to bounded.


Reported by: rhn-support-jpeyrard

https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.8/html/troubleshooting_openshift_container_storage/troubleshooting-alerts-and-errors-in-openshift-container-storage_rhocs#annotations:97101e62-cbf4-4c42-83dd-27d8d0c64653

Comment 3 jpeyrard 2022-09-07 07:44:47 UTC
Thanks a lot for this update and git pull "Madhu Rajanna" !