-
Bug
-
Resolution: Done-Errata
-
Major
-
CNV v4.14.0
-
None
-
False
-
-
False
-
---
-
---
-
-
High
-
No
Description of problem:
Used below DV to clone a volume from cephfs to ceph-rbd storage class:
apiVersion: cdi.kubevirt.io/v1beta1 kind: DataVolume metadata:  name: rhel8-imperial-sailfish-clone spec:  source:   pvc:    name: "rhel8-imperial-sailfish"    storageClassName: ocs-external-storagecluster-cephfs    namespace: nijin-cnv  storage:   resources:    requests:     storage: 33Gi   storageClassName: ocs-external-storagecluster-ceph-rbd
Â
The cloning looks to be successful:
I1221 15:46:44.535710 Â Â Â 1 uploadserver.go:74] Running server on 0.0.0.0:8443
I1221 15:46:54.795381 Â Â Â 1 uploadserver.go:389] Content type header is "filesystem-clone"
I1221 15:48:23.381155 Â Â Â 1 uploadserver.go:416] Wrote data to /dev/cdi-block-volume
I1221 15:48:23.381241 Â Â Â 1 uploadserver.go:203] Shutting down http server after successful upload
I1221 15:48:23.381665 Â Â Â 1 uploadserver.go:103] UploadServer successfully exited
But there is nothing in the cloned volume and it's all zeroes.
sh-5.1$ dd if=/dev/disk-poised-goat bs=1M Â |hexdump -C
00000000 Â 00 00 00 00 00 00 00 00 Â 00 00 00 00 00 00 00 00 Â |................|
*
33792+0 records in
33792+0 records out
35433480192 bytes (35 GB, 33 GiB) copied, 66.1271 s, 536 MB/s
840000000
Version-Release number of selected component (if applicable):
OpenShift Virtualization  4.14.1
4.12 and 4.13 also don't work.
How reproducible:
100%
Steps to Reproduce:
1. Create a DV to clone from filesystem to block. 2. The cloned targed disk is empty.
Actual results:
Filesystem to Block cloning is creating empty block device
Expected results:
Data copy should work.
Additional info:
Â
- is cloned by
-
CNV-36951 [4.13] Cephfs to Block cloning is creating empty block device
- Verified
-
CNV-36952 [4.15] Cephfs to Block cloning is creating empty block device
- Closed
-
CNV-36953 [4.12] Cephfs to Block cloning is creating empty block device
- Closed
-
CNV-38031 [4.12] Cephfs to Block cloning is creating empty block device
- Closed
- links to
-
RHEA-2024:125986 OpenShift Virtualization 4.14.3 Images
- mentioned on