Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-1821 Allow users to map volume options per user defined storage class in the DPA
  3. OADP-1971

[RedHat QE] Verify Bug OADP-1821 - Allow users to map volume options per user defined storage class in the DPA

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • 4
    • False
    • Hide

      None

      Show
      None
    • False
    • Passed
    • 0
    • 0.000
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

      Description of problem:

      Users will need to set appropriate source and destination volume options per storage class.  The storage class name is not standard and openshift admins will have to provide the key/value mapping that appropriately matches the storage class name.

       

      An example DPA.

       

      apiVersion: oadp.openshift.io/v1alpha1
      kind: DataProtectionApplication
      metadata:
        name: cephfs-dpa
        namespace: openshift-adp
      spec:
        features:
          dataMover: 
            enable: true
            credentialName: <secret-name>
         
              cephfs:
                volumeOptions:
                 sourceVolumeOptions:
                  accessMode: ReadOnlyMany
                  cacheAccessMode: ReadWriteMany
                  moverSecurityContext: true
                 destinationVolumeOptions:
                   cacheAccessMode: ReadWriteOnce
                   moverSecurityContext: true
              gp2-csi:
                volumeOptions:
                 sourceVolumeOptions:
                   cacheAccessMode: ReadWriteOnce
                 destinationVolumeOptions:
                   cacheAccessMode: ReadWriteOnce
      

       

       

      This will allow OADP to appropriate create volumes and copy data per storage class.

      This feature is needed only when the User wants to use a storage class other than the source volume storage class volume options.

       

       

              sbahar Shahaf Bahar
              mperetz@redhat.com Maya Peretz
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: