Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-4432

Quay 3.8.0 proxy cache failed to validate GCP artifacts registry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • quay-v3.8.0
    • quay
    • False
    • None
    • False

      Description:

      This is an issue of Quay 3.8.0 pull from proxy cache, after create new Quay Organization, input valid GCP Artifacts Registry remote registry and valid credentials(GCP access token), Quay proxy cache validation was failed, but with the same credentials, docker login works well, see attached logs 2.logs

      Quay Image: quay-operator-bundle-container-v3.8.0-63

      gunicorn-web stdout | 2022-09-08 09:23:23,604 [180] [DEBUG] [app] Ending request: urn:request:94c9565c-4c33-4324-b5f0-2d3c0586af19 (/api/v1/organization/testgcpcr/validateproxycache) {'endpoint': 'api.proxycacheconfigvalidation', 'request_id': 'urn:request:94c9565c-4c33-4324-b5f0-2d3c0586af19', 'remote_addr': '10.128.2.21', 'http_method': 'POST', 'original_url': 'https://quayregistry-quay-quay-enterprise-12485.apps.quaytest-12485.qe.devcluster.openshift.com/api/v1/organization/testgcpcr/validateproxycache', 'path': '/api/v1/organization/testgcpcr/validateproxycache', 'parameters': {}, 'json_body': {'org_name': 'testgcpcr', 'expiration_s': 86400, 'insecure': False, 'upstream_registry': 'us-east1-docker.pkg.dev', 'upstream_registry_username': '[FILTERED]', 'upstream_registry_password': '[FILTERED]'}, 'confsha': '2a0d4ac3', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0'}
      gunicorn-web stdout | 2022-09-08 09:23:23,606 [180] [DEBUG] [data.database] Disconnecting from database.
      gunicorn-web stdout | 2022-09-08 09:23:23,606 [180] [INFO] [gunicorn.access] 10.128.2.21 - - [08/Sep/2022:09:23:23 +0000] "POST /api/v1/organization/testgcpcr/validateproxycache HTTP/1.0" 400 402 "https://quayregistry-quay-quay-enterprise-12485.apps.quaytest-12485.qe.devcluster.openshift.com/organization/testgcpcr?tab=settings" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0"
      nginx stdout | 10.128.2.21 (-) - - [08/Sep/2022:09:23:23 +0000] "POST /api/v1/organization/testgcpcr/validateproxycache HTTP/1.1" 400 402 "https://quayregistry-quay-quay-enterprise-12485.apps.quaytest-12485.qe.devcluster.openshift.com/organization/testgcpcr?tab=settings" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0" (0.427 2359 0.427) 
      docker login us-east1-docker.pkg.dev
      Username: oauth2accesstoken
      Password:
      Login Succeeded 
      
      Quay 3.8.0 validate GCP Artifacts Registry was failed:

        1. 2.logs
          3.43 MB
          luffy zhang
        2. image-2022-09-08-17-26-24-038.png
          311 kB
          luffy zhang
        3. image-2022-11-09-15-00-22-899.png
          408 kB
          luffy zhang

              hgovinda Harish Govindarajulu
              lzha1981 luffy zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: