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

OADP CI failures: error updating status for volume snapshot content

XMLWordPrintable

    • 4
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • 0
    • 0.000
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown
    • No

      Description of problem:

      On OCP 4.16, it was noted that in OADP CI, sometimes, the following appears in Backup details:

      [FAILED] Expected
            <[]string | len:1, cap:1>: [
                "time=\"2024-06-12T17:17:50Z\" level=warning msg=\"VolumeSnapshot has a temporary error Failed to create snapshot: error updating status for volume snapshot content snapcontent-0db76a1c-3a11-4f15-a11b-f2a8eec019f4: snapshot controller failed to update snapcontent-0db76a1c-3a11-4f15-a11b-f2a8eec019f4 on API server: Operation cannot be fulfilled on volumesnapshotcontents.snapshot.storage.k8s.io \\\"snapcontent-0db76a1c-3a11-4f15-a11b-f2a8eec019f4\\\": the object has been modified; please apply your changes to the latest version and try again. Snapshot controller will retry later.\" backup=openshift-adp/mysql-twovol-csi-e2e-7947e732-28df-11ef-9209-0a580a823448 cmd=/velero logSource=\"pkg/backup/actions/csi/volumesnapshot_action.go:318\" pluginName=velero",
            ]
        to equal
            <[]string | len:0, cap:0>: []
      

      causing CI to fail.

      NOTE: this is only a warning, an easy fix would be adding the warning to exclude rule in test folder.

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

      OADP

      How reproducible:
      This does not seem to be something that can be reproducible every time

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      warning in backup details

      Expected results:
      no warning in backup details

      Additional info:

              wnstb Wes Hayutin
              msouzaol Mateus Oliveira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: