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

oc-mirror will hit 401 code after hang a while in 4.15

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • 4.15.z
    • oc / oc-mirror
    • Moderate
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Customer is impacted with "401 Unauthorized" error due to slow network speed in spite of using updated oc/oc-mirror binary which was addressed in OCPBUGS-7465.
      
      level=debug msg=resolving host=registry.redhat.io
      level=debug msg=do request host=registry.redhat.io request.header.accept=application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */* request.header.user-agent=opm/alpha request.method=HEAD url=https://registry.redhat.io/v2/odf4/ocs-must-ga.13
      level=debug msg=fetch response received host=registry.redhat.io response.header.cache-control=max-age=0, no-cache, no-store response.header.connection=keep-alive response.header.cse.header.content-type=application/json response.header.date=Wed, 20 Mar 2024 09:37:32 GMT response.header.docker-distribution-api-version=registry/2.0 response.header.expires=WedGMT response.header.pragma=no-cache response.header.registry-proxy-request-id=01524a0f-eb4d-467a-801c-30dff5370ce3 response.header.www-authenticate=Bearer realm="https://registry.hcc/protocol/redhat-docker-v2/auth",service="docker-registry",scope="repository:odf4/ocs-must-gather-rhel9:pull" response.status=401 Unauthorized url=https://registry.redhat.io/v2hel9/manifests/v4.13
      level=debug msg=Unauthorized header=Bearer realm="https://registry.redhat.io/auth/realms/rhcc/protocol/redhat-docker-v2/auth",service="docker-registry",scope="repository:odf4/ocs- host=registry.redhat.io
      

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

            luzuccar@redhat.com Luigi Mario Zuccarelli
            rhn-support-dgupte Dhananjay Gupte
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: