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

Empty Failed Backup CRs can't be removed

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Hide

      Steps to reproduce:
      #1 Run job to backup namespace that doesn't exist can be done directly from velero or from the GUI and using the form or yaml views
      ex: oc exec -n openshift-adp $(oc get pods -n openshift-adp -o name | grep pod/velero) – ./velero backup create backup-cr --include-namespaces doesnt-exist
      #2 After job "partially fails" attempt to remove the job using a deletebackuprequest job or by rsh'ing to the velero pod and issuing the delete directly
      ex: ./velero backup delete backup-cr

      Additional Note:

      • The backup gets deleted when data from backupstoragelocation is directly deleted and then further performing deletion of backup CR.
      Show
      Steps to reproduce: #1 Run job to backup namespace that doesn't exist can be done directly from velero or from the GUI and using the form or yaml views ex: oc exec -n openshift-adp $(oc get pods -n openshift-adp -o name | grep pod/velero) – ./velero backup create backup-cr --include-namespaces doesnt-exist #2 After job "partially fails" attempt to remove the job using a deletebackuprequest job or by rsh'ing to the velero pod and issuing the delete directly ex: ./velero backup delete backup-cr Additional Note: The backup gets deleted when data from backupstoragelocation is directly deleted and then further performing deletion of backup CR.
    • 0
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • No

      Issue:
      Failed backup CR can't be removed, it keeps on recreating unless directly deleted from backupstoragelocation.

              sseago Scott Seago
              rhn-support-dgautam Dhruv Gautam
              Amos Mastbaum Amos Mastbaum
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: