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

Quay config tool should warn users if server hostname contains invalid string 'quay.io'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2020.08.20
    • quay-v3.2.0
    • None
    • Compatibility/Configuration, User Experience
    • Hide

      Deploy quay with hostname including string 'quay.io'
      View logs

      Show
      Deploy quay with hostname including string 'quay.io' View logs

      If the user deploys with a server hostname like 'quay.io.example.com' this error will show in the logs:

      ~~~
      2019-12-10 19:08:25,242 [529] [ERROR] [endpoints.api] !!! Super user method called IN PRODUCTION !!!
      gunicorn-web stdout | 2019-12-10 19:08:25,242 [529] [ERROR] [endpoints.api] !!! Super user method called IN PRODUCTION !!!
      2019-12-10 19:08:25,256 [529] [INFO] [gunicorn.access] 10.75.4.14 - - [10/Dec/2019:19:08:25] "GET /api/v1/superuser/registry
      ~~~

      This is because `quay.io` cannot be used in domain name of a Red Hat Quay deployment. This is to protect the security of quay.io users.

      Quay config tool should check if user is trying to use a server_hostname with 'quay.io' in it.

              jschorr Joseph Schorr (Inactive)
              kybrown@redhat.com Kyle Brown (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: