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

The value of AUTHENTICATION_TYPE is case sensitive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • quay-v3.7.0
    • quay
    • False
    • None
    • False
    • 0

      Description of problem:

      When set "AUTHENTICATION_TYPE: database" in config.yaml,  start pod with below error.

       

      $ oc  logs quayregistry-quay-app-upgrade-4fljx
       .........
          self.state = self.init_app(app, config_provider, override_config_dir)
        File "/quay-registry/data/users/__init__.py", line 143, in init_app
          users = get_users_handler(app.config, config_provider, override_config_dir)
        File "/quay-registry/data/users/__init__.py", line 129, in get_users_handler
          raise RuntimeError("Unknown authentication type: %s" % authentication_type)
      RuntimeError: Unknown authentication type: database

       

       

      When set "AUTHENTICATION_TYPE: Database", it works

       

      Normally, the setting "FEATURE_BUILD_SUPPORT: true" and "FEATURE_BUILD_SUPPORT: True" all work. 

      It is better to have the same case sensitive rule in config.yaml file.

       

            Unassigned Unassigned
            rhwhu Weihua Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: