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

missing "completionTimestamp" in restoreCR , Restore completed OK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • OADP 1.2.6
    • OADP 1.2.0
    • velero
    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Hide

      Is this still an issue?

      Yes, tested with 'stage' version

      See attached files

      Show
      Is this still an issue? Yes, tested with 'stage' version See attached files
    • Moderate
    • 5
    • 5.000
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • No

      Description of problem:

      While running a restore (DM) of 1 PV, CR status is 'Completed' but 

      'completionTimestamp' is missing

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

      ODF 4.12.9

      ODP 4.12.2
      OADP 1.2.0-69
      Using CephRBD

      How reproducible:

       

      Steps to Reproduce:
      1. Create Ns with 1 PV
      2. Running Backup - 'Completed' status
      3. Delete NS
      4. Running Restore

      Actual results:

      Restore CR ended with 'Completed' status, but 'completionTimestamp' is missing

      Expected results:

      Restore CR ended with 'Completed' status. All data are exist

      Additional info:

      Restore CR - missing completed time 

          "status": {
              "phase": "Completed",
              "progress":

      {             "itemsRestored": 30,             "totalItems": 30         }

      ,
              "restoreItemOperationsAttempted": 1,
              "restoreItemOperationsCompleted": 1,
              "startTimestamp": "2023-05-21T12:44:57Z",
              "warnings": 10
          }

      velero backup describe

      [root@f01-h07-000-r640 20230521_124456]# cat dm-restore-rbd-1pod-mcg-4-describe.txt
      Name:         dm-restore-rbd-1pod-mcg-4
      Namespace:    openshift-adp
      Labels:       <none>
      Annotations:  <none>

      Phase:                       Completed
      Total items to be restored:  30
      Items restored:              30

      Started:    2023-05-21 12:44:57 +0000 UTC
      Completed:  <n/a>

      Restore CR - with completed time

          "status": {
              "completionTimestamp": "2023-05-21T12:38:49Z",
              "phase": "Completed",
              "progress":

      {             "itemsRestored": 30,             "totalItems": 30         }

      ,
              "restoreItemOperationsAttempted": 1,
              "restoreItemOperationsCompleted": 1,
              "startTimestamp": "2023-05-21T12:37:25Z",
              "warnings": 10
          }

      velero backup describe

      [root@f01-h07-000-r640 20230521_123724]# cat dm-restore-rbd-1pod-mcg-2-describe.txt
      Name:         dm-restore-rbd-1pod-mcg-2
      Namespace:    openshift-adp
      Labels:       <none>
      Annotations:  <none>

      Phase:                       Completed
      Total items to be restored:  30
      Items restored:              30

      Started:    2023-05-21 12:37:25 +0000 UTC
      Completed:  2023-05-21 12:38:49 +0000 UTC

        1. WithCompleteTime.tar
          110 kB
        2. RestoreCRs-Bug1950.tar
          20 kB
        3. Restore_Bug1950.jpg
          Restore_Bug1950.jpg
          128 kB
        4. MissingCompleteTimeStamp.jpeg
          MissingCompleteTimeStamp.jpeg
          99 kB
        5. MissingCompleteTime.tar
          110 kB
        6. image-2024-01-08-15-13-56-883.png
          image-2024-01-08-15-13-56-883.png
          40 kB

              wnstb Wes Hayutin
              dvaanunu@redhat.com David Vaanunu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: