Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-2360 [Upstream] Kopia backup failing for mysql application
  3. OADP-2547

[IBM QE-Z] Verify Bug OADP-2360 - [Upstream] Kopia backup failing for mysql application

XMLWordPrintable

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

      None

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

      Description of problem:

      Backup for Mysql application is failing for FileSystemBackup and native Datamover backup.

       

      status:
        completionTimestamp: "2023-07-31T12:47:23Z"
        message: 'data path backup failed: Failed to run kopia backup: Error when processing mysql.sock: unknown or unsupported entry type'
        phase: Failed
        progress:
          bytesDone: 52
        startTimestamp: "2023-07-31T12:47:22Z" 

       

       

      Version-Release number of selected component (if applicable):

      Tested it with velero-datamover feature branch and upstream velero

       

      How reproducible:
      always 

       

      Steps to Reproduce:
      1. Deploy mysql application 

       

      $ appm deploy ocp-mysql

      2.  Execute backup with  native datamover

       

       

      apiVersion: velero.io/v1
      kind: Backup
      metadata:
        name: test-backup4
        labels:
          velero.io/storage-location: default
        namespace: velero
      spec:
        includedNamespaces:
        - ocp-mysql
        snapshotMoveData: true

       

       

      Actual results: 

      DataUpload failed with below error 

      $ oc get dataupload test-backup4-4rm6c -o yaml
      apiVersion: velero.io/v2alpha1
      kind: DataUpload
      metadata:
        creationTimestamp: "2023-07-31T12:44:28Z"
        generateName: test-backup4-
        generation: 5
        labels:
          velero.io/async-operation-id: du-a6430b29-2976-467c-8ba1-0eece29c5feb.113f789b-f8da-452685525
          velero.io/backup-name: test-backup4
          velero.io/backup-uid: a6430b29-2976-467c-8ba1-0eece29c5feb
          velero.io/pvc-uid: 113f789b-f8da-452c-8031-ec28f3d6de3a
        name: test-backup4-4rm6c
        namespace: velero
        ownerReferences:
        - apiVersion: velero.io/v1
          controller: true
          kind: Backup
          name: test-backup4
          uid: a6430b29-2976-467c-8ba1-0eece29c5feb
        resourceVersion: "96137"
        uid: c2f8af7b-14bf-4b0e-8209-c31c1312f89a
      spec:
        backupStorageLocation: default
        csiSnapshot:
          snapshotClass: ""
          storageClass: standard-csi
          volumeSnapshot: velero-mysql-f67rs
        operationTimeout: 10m0s
        snapshotType: CSI
        sourceNamespace: ocp-mysql
        sourcePVC: mysql
      status:
        completionTimestamp: "2023-07-31T12:45:40Z"
        message: 'data path backup failed: Failed to run kopia backup: Error when processing mysql.sock: unknown or unsupported entry type'
        node: oadp-48760-h8jkn-worker-b-l48dp.c.openshift-qe.internal
        phase: Failed
        progress: {}
        startTimestamp: "2023-07-31T12:44:28Z"

       

      Expected results:
      DataUpload should be successful. 

       

      Additional info:

       

      $ cat dpa-minio.yml 
      apiVersion: oadp.openshift.io/v1alpha1
      kind: DataProtectionApplication
      metadata:
        namespace: openshift-adp
        name: ts-dpa
      spec:
        configuration:
          restic:
            enable: true
          velero:
            defaultPlugins:
            - openshift
            - aws
            - csi
        backupLocations:
          - velero:
              provider: aws
              default: true
              objectStorage:
                bucket: miniobucket
                prefix: velero
              config:
                insecureSkipTLSVerify: 'true'
                profile: default
                region: minio
                s3ForcePathStyle: 'true'
                s3Url: http://minio-minio.apps.oadp-48510.qe.devcluster.openshift.com

       

       

              manilson-1 Maya Anilson (Inactive)
              akarol@redhat.com Aziza Karol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: