Fix is not available yet in cephcsi , https://github.com/ceph/ceph-csi/pull/3201 need to be merged. Also, @mrajanna please provide information on how to verify what do we need to look for in the logs, and in which logs ?
Assigning it to Niels as he is having PR in cephcsi to log clone failure message >Fix is not available yet in cephcsi , https://github.com/ceph/ceph-csi/pull/3201 need to be merged. > Also, @mrajanna please provide information on how to verify Create a bigger size PVC and clone > what do we need to look for in the logs, and in which logs ? In the rbd-provisioner rbd-plugin container, you will see the `clone failed` error message.
Mudit, Ceph-CSI in ODF-4.11 uses go-ceph v0.15. The new failure logging is only available from go-ceph v0.16. Can this be moved to ODF-4.12? Backporting a rebase of go-ceph is not appropriate at this time in the ODF-4.11 planning.
Not a 4.11 blocker, moving it out.
https://github.com/red-hat-storage/ceph-csi/pull/110 includes the change for ODF-4.12.
Tested on : OCP version : 4.12.0-0.nightly-2022-10-25-210451 OCS versions ============== NAME DISPLAY VERSION REPLACES PHASE mcg-operator.v4.12.0 NooBaa Operator 4.12.0 Succeeded ocs-operator.v4.12.0 OpenShift Container Storage 4.12.0 Succeeded odf-csi-addons-operator.v4.12.0 CSI Addons 4.12.0 Succeeded odf-operator.v4.12.0 OpenShift Data Foundation 4.12.0 Succeeded ODF (OCS) build : full_version: 4.12.0-86 Rook versions =============== rook: v4.12.0-0.75728a5a9c8e47917cae3cf7ea5c2db26590154b go: go1.18.4 I Created volume on 50% of the storage capacity and filled it up with data, and then try to create a clone of it. The clone is stuck on pending state, and in the csi-plugin container log i see : # oc -n openshift-storage logs csi-cephfsplugin-provisioner-5566474757-z5hdt -c csi-cephfsplugin|grep failed E1103 15:12:10.480021 1 volumemounter.go:88] failed to run ceph-fuse exec: "ceph-fuse": executable file not found in $PATH E1116 10:21:32.097011 1 controllerserver.go:144] ID: 22 Req-ID: pvc-aa5247ce-34c5-4a64-962b-7504a78aa198 failed to create clone from subvolume csi-vol-8035ecb3-0614-472c-925c-fb3e6d2000f9: clone from snapshot is pending
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenShift Data Foundation 4.12.0 enhancement and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:0551