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

cephfs: Add support to create RWX PVC from ROX PVC #4094

Merged
merged 3 commits into from
Aug 31, 2023

Commits on Aug 31, 2023

  1. cephfs: block creation of ROX clone from ROX volume

    As there is no usecase currently, blocking the
    creation of ROX clone from the ROX volume.
    
    Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
    Madhu-1 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    14e1a78 View commit details
    Browse the repository at this point in the history
  2. cephfs: add support for RWX clone from ROX

    Add support to create RWX clone from the
    ROX clone, in ceph no subvolume clone is
    created when ROX clone is created from a
    snapshot just a internal ref counter is
    added. This PR allows creating a RWX clone
    from a ROX clone which allows users to create
    RW copy of PVC where cephcsi will identify
    the snapshot created for the ROX volume and
    creates a subvolume from the CephFS snapshot.
    
    updates: ceph#3603
    
    Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
    Madhu-1 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    f928319 View commit details
    Browse the repository at this point in the history
  3. e2e: add e2e test for RWX from ROX

    added an e2e test case to create
    RWX clone from ROX and also try
    to write extra data in the RWX
    cloned PVC.
    
    Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
    Madhu-1 committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    c5fd40a View commit details
    Browse the repository at this point in the history