Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable RBD PVC VolSync support and ensure tmp source PVCs accessModes #1735

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

BenamarMk
Copy link
Member

  • Enable VolSync protection on any PVC type through a DRPC annotation.
  • Restrict ReadOnlyMany accessMode to temporary source CephFS PVCs.
  • For non-Cephfs PVCs, the temporary source PVCs now inherit the accessModes of the source PVC (e.g., ReadWriteOnce or ReadWriteMany) instead of always ReadOnlyMany.
  • On fresh deployment, delay the creation of tmp PVCs for consistency groups until the sync scheduled time.

@BenamarMk BenamarMk force-pushed the rbd-pvc-volsync-support branch from eef345f to dd47974 Compare December 24, 2024 08:14
Benamar Mekhissi added 5 commits December 24, 2024 03:15
VolSync protection can now be enabled for any PVC type by adding a
specific annotation to the DRPC.

Signed-off-by: Benamar Mekhissi <[email protected]>
Previously, temporary PVCs for all storage types were being created with the
ReadOnlyMany access mode. This commit ensures that only CephFS temporary PVCs
will use the ReadOnlyMany access mode.

Additionally, the need for a special storage class tagged for backingSnapshot
has been removed. Instead, the same storage class used for ReadWriteMany will
now be used to create temporary ReadOnlyMany PVCs, simplifying the storage
configuration.

Signed-off-by: Benamar Mekhissi <[email protected]>
For non-CephFS PVCs, temporary PVCs now inherit the accessModes of the
source PVC rather than using ReadOnlyMany.

Signed-off-by: Benamar Mekhissi <[email protected]>
For consistency groups, temporary PVCs will now be created at the scheduled time
rather than immediately upon fresh deployment.

Signed-off-by: Benamar Mekhissi <[email protected]>
Signed-off-by: Benamar Mekhissi <[email protected]>
@BenamarMk BenamarMk force-pushed the rbd-pvc-volsync-support branch from dd47974 to 0b72470 Compare December 24, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant