Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-2741 [Upstream] DataMover: Cloned VolumeSnapshotContent remains in cluster when vsclass deletionPolicy set as Retain
  3. OADP-2800

[IBM QE-P] Verify Bug OADP-2741 - [Upstream] DataMover: Cloned VolumeSnapshotContent remains in cluster when vsclass deletionPolicy set as Retain

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:

      VolumeSnapshotContents are left out in the cluster even after the backup is removed. This issue only happens when vsclass has deletionPolicy set as Retain.

      Upstream tracking issue:- 
      https://github.com/vmware-tanzu/velero/issues/6786

       

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

       

      How reproducible:
      Always

       

      Steps to Reproduce:
      1. Create VSclass resource with DeletionPolicy set as Retain. 
      2. Create a backup with native dataMover. 

      $ oc get backup test-backup -o yaml
      apiVersion: velero.io/v1
      kind: Backup
      metadata:
        annotations:
          velero.io/resource-timeout: 10m0s
          velero.io/source-cluster-k8s-gitversion: v1.26.7+0ef5eae
          velero.io/source-cluster-k8s-major-version: "1"
          velero.io/source-cluster-k8s-minor-version: "26"
        creationTimestamp: "2023-09-07T11:22:11Z"
        generation: 9
        labels:
          velero.io/storage-location: ts-dpa-1
        name: test-backup
        namespace: openshift-adp
        resourceVersion: "159157"
        uid: c0a64106-724f-4453-ab5c-df6b8a92e5c9
      spec:
        csiSnapshotTimeout: 10m0s
        defaultVolumesToFsBackup: false
        includedNamespaces:
        - ocp-django
        itemOperationTimeout: 4h0m0s
        snapshotMoveData: true
        storageLocation: ts-dpa-1
        ttl: 720h0m0s
      status:
        backupItemOperationsAttempted: 1
        backupItemOperationsCompleted: 1
        completionTimestamp: "2023-09-07T11:23:42Z"
        expiration: "2023-10-07T11:22:11Z"
        formatVersion: 1.1.0
        phase: Completed
        progress:
          itemsBackedUp: 96
          totalItems: 96
        startTimestamp: "2023-09-07T11:22:11Z"
        version: 1 

      Actual results:

      VolumeSnapshotContent resources are left out in the cluster.

      Expected results:
      VolumesnapshotContent should get removed before backup is marked as completed.

      Additional info:

              sgarudi Sonia Garudi
              akarol@redhat.com Aziza Karol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: