Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-58279

Reduce the default to avoid network issues

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • CLID Sprint 273
    • 1
    • Proposed
    • Bug Fix
    • Hide
      Previously, `oc-mirror v2` sent a lot of requests to container registries, causing container registries to reject some requests generating a "too many requests" error. With this release, the default values for `maxParallelLayerDownloads` and `maxparallelImageDownloads` were reduced, the `retry-times` value was increased, and the `retry-delay` value was set to zero resulting in less requests being sent to the container registries. (link:https://issues.redhat.com/browse/OCPBUGS-58279[OCPBUGS-58279])

      Show
      Previously, `oc-mirror v2` sent a lot of requests to container registries, causing container registries to reject some requests generating a "too many requests" error. With this release, the default values for `maxParallelLayerDownloads` and `maxparallelImageDownloads` were reduced, the `retry-times` value was increased, and the `retry-delay` value was set to zero resulting in less requests being sent to the container registries. (link: https://issues.redhat.com/browse/OCPBUGS-58279 [ OCPBUGS-58279 ])
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-57370. The following is the description of the original issue:

      Description of problem:

          Decrease the default value of parallel-layers from 10 to 5, decrease the default value of parallel-images from 8 to 4, avoid concurrency are too high and some container registries are rejecting so many requests.

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

          

      How reproducible:

          It is not always reproducible, but the dev team also faced this issue so it is a known issue.

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          Reducing the defaults could be a solution.
          Also changing the default of --retry-delay to zero would change the behavior inside of containers/common/pkg/retry from linear to exponential backoff (which could help when retrying pushing the image)
      

       

       

              rh-ee-aguidi Alex Guidi
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              May Xu May Xu
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: