Open Madhu-1 opened 3 years ago
cc @ShyamsundarR
as we create a temporary clone we need to take care of image clone and image deletion properly. There should be no stale images on both cluster
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.
@Madhu-1 this is marked against the 3.5.0 release, so please revisit the state.
My team verified that clone PVC was mirrored to secondary Ceph cluster with v3.9.0 + attached POC patch. This patch removes two snap rm
in the following PVC clone process.
The steps to reproduce are:
rbd mirror image enable <image> snapshot
for the following RBD images.
7-1: The RBD image corresponding to PVC1 again.
7-2: The RBD image corresnponding to the intermediate RBD image between PVC1 and PVC2.
7-3: The RBD image corresponding to PVC2.We also verified that mirroring PVC2 didn't work with the plain v3.9.0. It's because step 7.2 and 7-3 failed. I suspect that it's due to the missing of both temporal RBD image snapshots. My patch skips the removal of these snapshots.
hey @nbalacha, Can you please take a look at above comments ?
When mirroring a chain of rbd images, Do we need the intermediate rbd snapshots to be alive (not deleted/in trash) ? Will this also be fixed by the patch you are working on?
Cephcsi deletes all intermediate RBD snapshots.
cc @idryomov @pkalever
Failed to mirror cloned PVC created from the another PVC
Steps to Reproduce
Even i tried to mirror the cloned rbd images manually.