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

    XMLWordPrintable

Details

    • False
    • Hide

      None

      Show
      None
    • False
    • oadp-volume-snapshot-mover-container-1.2.0-37, oadp-operator-container-1.2.0-47
    • ToDo
    • No
    • Critical
    • 10
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

    Description

      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.

       

       

      Attachments

        Activity

          People

            emcmulla@redhat.com Emily McMullan
            wnstb Wes Hayutin
            Tiger Kaovilai
            Shahaf Bahar Shahaf Bahar
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: