Bug 2231479 - Cannot clone DataVolume from "local" to rook-ceph-block
Summary: Cannot clone DataVolume from "local" to rook-ceph-block
Keywords:
Status: POST
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.14.0
Assignee: Michael Henriksen
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-11 17:04 UTC by Michael Henriksen
Modified: 2023-08-17 15:10 UTC (History)
0 users

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt containerized-data-importer pull 2840 0 None open Fix broken local -> rook-ceph-block clone 2023-08-11 17:08:57 UTC
Github kubevirt containerized-data-importer pull 2842 0 None open [release-v1.57] Fix broken local -> rook-ceph-block clone 2023-08-12 11:48:00 UTC
Red Hat Issue Tracker CNV-31991 0 None None None 2023-08-11 17:06:10 UTC

Description Michael Henriksen 2023-08-11 17:04:38 UTC
Description of problem:

With 4.14, the StorageProfile for rook-ceph-block is configured to prefer csi-clone cloning strategy.  That works fine when the source/target PVC are both on rook-ceph-block.  But if the source is on another storageclass, like "local", then the clone operation hangs forever.  The clone populator will attempt to csi clone from the "local" storage class which obviously does not work.


Version-Release number of selected component (if applicable):


How reproducible: 100%


Steps to Reproduce:
1.  Create source DataVolume in "local" storageclass
2.  Create target DataVolume in rook-ceph-block storageclass with `spec.source.pvc` referring to PVC created in previous step
3.  Observe DataVolume stuck in CSIClone phase

Actual results:  DataVolume stuck in CSIClone phase


Expected results:  DataVolume succeeds


Additional info:


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