Bug 2124564 - [DDF] I would like to add another section in Chapter 6. Troubleshooting alerts and errors in OpenShift Container Storage
Summary: [DDF] I would like to add another section in Chapter 6. Troubleshooting alert...
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: documentation
Version: 4.8
Hardware: All
OS: All
high
high
Target Milestone: ---
: ---
Assignee: Anjana Suparna Sriram
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-06 14:02 UTC by Direct Docs Feedback
Modified: 2023-08-03 14:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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" !


Note You need to log in before you can comment on or make changes to this bug.