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

Velero data-upload pods don't use the node affinity values set in the DPA

XMLWordPrintable

    • Incidents & Support
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Moderate
    • 1.667
    • Very Likely
    • 0
    • Customer Escalated, Customer Facing
    • 5
    • None
    • Unset
    • Unknown
    • None

      Description of problem:

      The backup upload pods fails to start unless the image is manually downloaded to the node as the policy is always set to 'imagePullPolicy: Never'

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

      AODP 1.4.3

      How reproducible:

      100%

      Steps to Reproduce:

      • Create a backup resource
      • Monitor the backup pod being created 

      Actual results:

      86m         Normal    SnapshotCreated                    volumesnapshot/backupmini03-7s2gc                        Snapshot openshift-adp/backupmini03-7s2gc was successfully created by the CSI driver.
      86m         Normal    SnapshotReady                      volumesnapshot/backupmini03-7s2gc                        Snapshot openshift-adp/backupmini03-7s2gc is ready to use.
      86m         Normal    Provisioning                       persistentvolumeclaim/backupmini03-7s2gc                 External provisioner is provisioning volume for claim "openshift-adp/backupmini03-7s2gc"
      86m         Normal    ExternalProvisioning               persistentvolumeclaim/backupmini03-7s2gc                 Waiting for a volume to be created either by the external provisioner 'openshift-storage.rbd.csi.ceph.com' or manually by the system administrator. If volume creation is delayed, please verify that the provisioner is running and correctly registered.
      86m         Warning   FailedScheduling                   pod/backupmini03-7s2gc                                   0/6 nodes are available: pod has unbound immediate PersistentVolumeClaims. preemption: 0/6 nodes are available: 6 Preemption is not helpful for scheduling.
      86m         Normal    ProvisioningSucceeded              persistentvolumeclaim/backupmini03-7s2gc                 Successfully provisioned volume pvc-9a668ab1-afdd-490a-b69f-8b7a461e0c54
      86m         Normal    Scheduled                          pod/backupmini03-7s2gc                                   Successfully assigned openshift-adp/backupmini03-7s2gc to rhodain01-ocp-worker-1
      86m         Normal    SuccessfulAttachVolume             pod/backupmini03-7s2gc                                   AttachVolume.Attach succeeded for volume "pvc-9a668ab1-afdd-490a-b69f-8b7a461e0c54"
      85m         Normal    AddedInterface                     pod/backupmini03-7s2gc                                   Add eth0 [10.130.1.10/23 fd01:0:0:5::10a/64] from ovn-kubernetes
      85m         Warning   ErrImageNeverPull                  pod/backupmini03-7s2gc                                   Container image "registry.redhat.io/oadp/oadp-velero-rhel9@sha256:138b1a3b2a42f1865ab4a943e02af2bd225b2cb30e3147cffe3db8ca3a9ad68d" is not present with pull policy of Never
      85m         Warning   Failed                             pod/backupmini03-7s2gc                                   Error: ErrImageNeverPull

       

      Expected results:

      Image is pulled from registry

      Additional info:

       

      oc get dataprotectionapplications.oadp.openshift.io oadp01  -n openshift-adp -o yaml| oc neat 
      apiVersion: oadp.openshift.io/v1alpha1
      kind: DataProtectionApplication
      metadata:
        name: oadp01
        namespace: openshift-adp
      spec:
        backupImages: true
        backupLocations:
        - velero:
            config:
              insecureSkipTLSVerify: "true"
              profile: default
              region: region01
              s3ForcePathStyle: "true"
              s3Url: http://10.37.200.150
            credential:
              key: cloud
              name: cloud-credentials
            default: true
            objectStorage:
              bucket: oadp01
              prefix: velero
            provider: aws
        configuration:
          nodeAgent:
            enable: true
            podConfig:
              nodeSelector:
                node-role.kubernetes.io/infra: ""
            uploaderType: kopia
          velero:
            defaultPlugins:
            - aws
            - kubevirt
            - csi
            - openshift
            resourceTimeout: 10m
        imagePullPolicy: Always

       

       

              rhn-engineering-mpryc Michal Pryc
              rhn-support-rhodain1 Roman Hodain
              Sachin Singla Sachin Singla
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: