Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-6700 reconcile errors in the oadp-non-admin controller as backups are created.
  3. OADP-7364

[RedHat QE] Verify Bug OADP-6700 - reconcile errors in the oadp-non-admin controller as backups are created.

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • OADP 1.5.4
    • None
    • QE-Task
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

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

      Description of problem:

      Setup OADP self-service

      My DPA but enforcements not required

       
      apiVersion: oadp.openshift.io/v1alpha1
      kind: DataProtectionApplication
      metadata:
      creationTimestamp: '2025-09-17T18:00:36Z'
      generation: 8
      managedFields:

      • apiVersion: oadp.openshift.io/v1alpha1
        fieldsType: FieldsV1
        fieldsV1:
        'f:spec':
        .: {}
        'f:backupLocations': {}
        'f:configuration':
        .: {}
        'f:nodeAgent':
        .: {}
        'f:enable': {}
        'f:uploaderType': {}
        'f:velero':
        .: {}
        'f:defaultPlugins': {}
        'f:logFormat': {}
        'f:nonAdmin': {}
        'f:snapshotLocations': {}
        manager: kubectl-create
        operation: Update
        time: '2025-09-17T18:00:36Z'
      • apiVersion: oadp.openshift.io/v1alpha1
        fieldsType: FieldsV1
        fieldsV1:
        'f:status':
        .: {}
        'f:conditions': {}
        manager: manager
        operation: Update
        subresource: status
        time: '2025-09-17T18:00:36Z'
      • apiVersion: oadp.openshift.io/v1alpha1
        fieldsType: FieldsV1
        fieldsV1:
        'f:spec':
        'f:nonAdmin':
        'f:enable': {}
        'f:enforceBackupSpec':
        .: {}
        'f:snapshotMoveData': {}
        'f:requireApprovalForBSL': {}
        manager: Mozilla
        operation: Update
        time: '2025-09-17T18:33:27Z'
        name: dpa-sample
        namespace: openshift-adp
        resourceVersion: '3383730'
        uid: edeaf36b-8ee6-4203-ab2b-394f7eb85acf
        spec:
        backupLocations:
      • velero:
        config:
        profile: default
        region: us-west-2
        credential:
        key: cloud
        name: cloud-credentials
        default: true
        objectStorage:
        bucket: cvpbucket3uswest2
        prefix: velero
        provider: aws
        configuration:
        nodeAgent:
        enable: true
        uploaderType: kopia
        velero:
        defaultPlugins:
      • kubevirt
      • csi
      • openshift
      • aws
      • hypershift
        logFormat: text
        nonAdmin:
        enable: true
        enforceBackupSpec:
        snapshotMoveData: true
        requireApprovalForBSL: true
        snapshotLocations:
      • velero:
        config:
        profile: default
        region: us-west-2
        provider: aws
        status:
        conditions:
      • lastTransitionTime: '2025-09-17T18:00:36Z'
        message: Reconcile complete
        reason: Complete
        status: 'True'
        type: Reconciled
        nt": 1}
        2025-09-18T16:31:41.810Z	INFO	Starting workers	{"controller": "nonadminbackup", "controllerGroup": "oadp.openshift.io", "controllerKind": "NonAdminBackup", "worker count": 1}
        2025-09-18T16:31:41.810Z	INFO	Starting workers	{"controller": "nonadmindownloadrequest", "controllerGroup": "oadp.openshift.io", "controllerKind": "NonAdminDownloadRequest", "worker count": 1}
        2025-09-18T16:43:03.731Z	ERROR	Failed to update status	{"controller": "nonadminbackupstoragelocation", "controllerGroup": "oadp.openshift.io", "controllerKind": "NonAdminBackupStorageLocation", "NonAdminBackupStorageLocation": {"name":"nacuser1","namespace":"nacuser1"}, "namespace": "nacuser1", "name": "nacuser1", "reconcileID": "49fa56e7-2e95-44c1-acb3-bd66d6e6f31f", "error": "Operation cannot be fulfilled on nonadminbackupstoragelocationrequests.oadp.openshift.io \"nacuser1-nacuser1-e02251bc-3344-4d21-852c-f2eb195943ff\": the object has been modified; please apply your changes to the latest version and try again"}
        github.com/migtools/oadp-non-admin/internal/controller.(*NonAdminBackupStorageLocationReconciler).createNonAdminRequest
        	/remote-source/app/internal/controller/nonadminbackupstoragelocation_controller.go:545
        github.com/migtools/oadp-non-admin/internal/controller.(*NonAdminBackupStorageLocationReconciler).Reconcile
        	/remote-source/app/internal/controller/nonadminbackupstoragelocation_controller.go:134
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:116
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:303
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:263
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:224
        2025-09-18T16:43:03.731Z	ERROR	Reconciler error	{"controller": "nonadminbackupstoragelocation", "controllerGroup": "oadp.openshift.io", "controllerKind": "NonAdminBackupStorageLocation", "NonAdminBackupStorageLocation": {"name":"nacuser1","namespace":"nacuser1"}, "namespace": "nacuser1", "name": "nacuser1", "reconcileID": "49fa56e7-2e95-44c1-acb3-bd66d6e6f31f", "error": "Operation cannot be fulfilled on nonadminbackupstoragelocationrequests.oadp.openshift.io \"nacuser1-nacuser1-e02251bc-3344-4d21-852c-f2eb195943ff\": the object has been modified; please apply your changes to the latest version and try again"}
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:316
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:263
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:224
        2025-09-18T16:43:03.789Z	ERROR	Reconciler error	{"controller": "nonadminbackupstoragelocation", "controllerGroup": "oadp.openshift.io", "controllerKind": "NonAdminBackupStorageLocation", "NonAdminBackupStorageLocation": {"name":"nacuser1","namespace":"nacuser1"}, "namespace": "nacuser1", "name": "nacuser1", "reconcileID": "779c3c1d-4c6b-4698-a498-af9cdda5718f", "error": "terminal error: NonAdminBackupStorageLocationRequest approval pending"}
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:316
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:263
        sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2
        	/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.3/pkg/internal/controller/controller.go:224 
        
        
        

        https://redhat-internal.slack.com/archives/C039LRSDC8Z/p1758207469450649
         

              rhn-support-prajoshi Prasad Joshi
              akarol@redhat.com Aziza Karol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: