Bug 2039265

Summary: [Tracker for Ceph BZ #2039276] CephFS: Failed to create clones if the PVC is filled with smaller size files
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Madhu Rajanna <mrajanna>
Component: cephAssignee: Venky Shankar <vshankar>
ceph sub component: CephFS QA Contact: Elad <ebenahar>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: assingh, bkunal, bniver, hyelloji, khiremat, madam, mmuench, muagarwa, nberry, ocs-bugs, odf-bz-bot, sarora, tdesala
Version: 4.9Flags: khiremat: needinfo-
Target Milestone: ---   
Target Release: ODF 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.10.0-171 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2039276 (view as bug list) Environment:
Last Closed: 2022-04-20 08:51:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2039276    
Bug Blocks:    

Comment 4 Mudit Agarwal 2022-01-27 03:05:00 UTC
Providing dev ack given that the ceph BZ is already approved for RHCS 5.1

Comment 7 Joy John Pinto 2022-03-02 10:38:53 UTC
Verified the bug with following combination
OCP: 4.10.0-0.nightly-2022-02-26-230022
ODF version:odf-operator.v4.10.0 
rook version:v4.10.0-0.20635e9eaa6082931ba0d8416197bf58f838a7a0
Ceph version: 16.2.7-71.el8cp (4c975536861fc39c429045d66a6dba5a00753b9f) pacific (stable)

Verification steps:
1. Created 1GiB cephfs pvc
2. Created a pod and attached the pvc
3. copied and extracted https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.tar.xz 
4. Created a snapshot 
5. Created a new PVC from that snapshot
6. PVC reached bound state within few seconds.

[jopinto@jopinto kmsaws]$ oc get pvc -n test-project
NAME                             STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS                AGE
my-pvc-cephfs                    Bound    pvc-b6df1a64-7a65-4697-ac71-ad628a3cef6e   1Gi        RWX            ocs-storagecluster-cephfs   120m
my-pvc-cephfs-snapshot-restore   Bound    pvc-ea7ee041-74a0-47e9-be02-290db24642a6   1Gi        RWX            ocs-storagecluster-cephfs   65m

Based on verification step 6, will be closing the bug

Comment 8 Sonal 2022-04-19 07:49:18 UTC
*** Bug 2063729 has been marked as a duplicate of this bug. ***