Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-143

AWS S3: Backup partially fails on imagestreams for django application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • OADP 1.1.0
    • None
    • None
    • None
    • False
    • False
    • Passed
    • 0
    • 0
    • 0
    • Untriaged
    • None

      Description of problem:
      Backing app django application, backup partially fails with this error:

      Defaulted container "velero" out of: velero, velero-plugin-for-aws (init), velero-plugin-for-csi (init), openshift-velero-plugin (init)
      time="2021-11-24T11:58:09Z" level=info msg="1 errors encountered backup up item" backup=openshift-adp/django-persistent logSource="pkg/backup/backup.go:431" name=django-psql-persistent
      time="2021-11-24T11:58:09Z" level=error msg="Error backing up item" backup=openshift-adp/django-persistent error="error executing custom action (groupResource=imagestreams.image.openshift.io, namespace=oadp93, name=django-psql-persistent): rpc error: code = Unknown desc = Error writing blob: Error uploading layer chunked: received unexpected HTTP status: 500 Internal Server Error" error.file="/remote-source/src/github.com/vmware-tanzu/velero/pkg/backup/item_backupper.go:331" error.function="github.com/vmware-tanzu/velero/pkg/backup.(*itemBackupper).executeActions" logSource="pkg/backup/backup.go:435" name=django-psql-persistent
      

      Version: 0.4.2-4
      iib:136544

      How reproducible:
      Always

      Steps to reproduce:
      1. clone this repo: https://gitlab.cee.redhat.com/app-mig/cam-e2e-qe and create the django app by running this playbook:
      ansible-playbook cam-e2e-qe/deploy-app.yml -e use_role=ocp-django -e namespace=oadp93
      2. Create a backup:

      cat <<EOF | oc create -f -
      apiVersion: velero.io/v1
      kind: Backup
      metadata:
        name: django-persistent
        labels:
          velero.io/storage-location: default
        namespace: openshift-adp
      spec:
        hooks: {}
        includedNamespaces:
        - oadp93
        storageLocation: example-velero-1
        ttl: 720h0m0s
      EOF
      

      Seems related to https://githubmemory.com/repo/konveyor/oadp-operator/issues/163

              emcmulla@redhat.com Emily McMullan
              mperetz@redhat.com Maya Peretz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: