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

Velero describe output is missing defaultVolumesToFsBackup flag

XMLWordPrintable

    • Quality / Stability / Reliability
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • oadp-operator-bundle-container-1.5.1-23
    • ToDo
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • None

      Description of problem: 

      I noticed it while debugging cu issue,  Velero describe output command is missing the defaultVolumesToFsBackup flag information.

       

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

       

      How reproducible:

      Always

      Steps to Reproduce:
      1. Deploy a stateful application consisting PVC
      2. Backup namespace using filesystembackup 

      $ oc get backup test-backup4 -o yaml
      apiVersion: velero.io/v1
      kind: Backup
      metadata:
        annotations:
          velero.io/resource-timeout: 10m0s
          velero.io/source-cluster-k8s-gitversion: v1.31.6
          velero.io/source-cluster-k8s-major-version: "1"
          velero.io/source-cluster-k8s-minor-version: "31"
        creationTimestamp: "2025-03-07T13:12:31Z"
        generation: 6
        labels:
          velero.io/storage-location: ts-dpa-1
        name: test-backup4
        namespace: openshift-adp
        resourceVersion: "90272"
        uid: 391b2e28-d9c3-4735-9919-92359821e0f9
      spec:
        csiSnapshotTimeout: 10m0s
        defaultVolumesToFsBackup: true
        includedNamespaces:
        - ocp-mysql
        itemOperationTimeout: 4h0m0s
        snapshotMoveData: false
        storageLocation: ts-dpa-1
        ttl: 720h0m0s
      status:
        completionTimestamp: "2025-03-07T13:12:48Z"
        expiration: "2025-04-06T13:12:31Z"
        formatVersion: 1.1.0
        hookStatus: {}
        phase: Completed
        progress:
          itemsBackedUp: 26
          totalItems: 26
        startTimestamp: "2025-03-07T13:12:31Z"
        version: 1
      

      Actual results: 

      Velero describe output doesn't have any information related to defaultVolumesToFsBackup flag. 

       

      $ ./velero describe backup test-backup4 
      Name:         test-backup4
      Namespace:    openshift-adp
      Labels:       velero.io/storage-location=ts-dpa-1
      Annotations:  velero.io/resource-timeout=10m0s
                    velero.io/source-cluster-k8s-gitversion=v1.31.6
                    velero.io/source-cluster-k8s-major-version=1
                    velero.io/source-cluster-k8s-minor-version=31
      Phase:  Completed
      
      Namespaces:
        Included:  ocp-mysql
        Excluded:  <none>
      Resources:
        Included:        *
        Excluded:        <none>
        Cluster-scoped:  auto
      Label selector:  <none>
      Or label selector:  <none>
      Storage Location:  ts-dpa-1
      Velero-Native Snapshot PVs:  auto
      Snapshot Move Data:          false
      Data Mover:                  velero
      TTL:  720h0m0s
      CSISnapshotTimeout:    10m0s
      ItemOperationTimeout:  4h0m0s
      Hooks:  <none>
      Backup Format Version:  1.1.0
      Started:    2025-03-07 13:12:31 +0000 UTC
      Completed:  2025-03-07 13:12:48 +0000 UTC
      Expiration:  2025-04-06 13:12:31 +0000 UTC
      Total items to be backed up:  26
      Items backed up:              26
      Backup Volumes:
        Velero-Native Snapshots: <none included>
        CSI Snapshots: <none included>
        Pod Volume Backups - restic (specify --details for more information):
          Completed:  2
      HooksAttempted:  0
      HooksFailed:     0
      

       

      Expected results: 

      Velero describe command should include defaultVolumesToFsBackup. 

       

      Additional info:

              rh-ee-jvaikath Joseph Antony Vaikath
              rhn-support-prajoshi Prasad Joshi
              Prasad Joshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: