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

The sample for DISTRIBUTED_STORAGE_CONFIG in Swift storage is outdated

XMLWordPrintable

      https://docs.redhat.com/en/documentation/red_hat_quay/3.12/html-single/configure_red_hat_quay/index#config-fields-storage-swift

      The sample configuration for Swift storage in the documentation is based on Identity API V1 for `auth_url` and `auth_version`. Since the latest version is Identity API V3[1], parameters such as `os_options` is required[2].

      Example:

      DISTRIBUTED_STORAGE_CONFIG:
        swiftStorage:
          - SwiftStorage
          - swift_user: swift_user_here
            swift_password: swift_password_here
            swift_container: swift_container_here
            auth_url: https://example.org:13000/v3
            auth_version: 3
            os_options:
              tenant_id: osp_tenant_id_here
              user_domain_name: osp_domain_name_here
            ca_cert_path: /conf/stack/swift.cert
            storage_path: /datastorage/registry
      DISTRIBUTED_STORAGE_DEFAULT_LOCATIONS: []
      DISTRIBUTED_STORAGE_PREFERENCE:
          - swiftStorage
      

      [1] https://docs.openstack.org/api-ref/identity/v3/index.html
      [2] https://github.com/quay/quay/blob/v3.12.3/config-tool/pkg/lib/shared/storage_validators.go#L511-L538

              rhn-support-stevsmit Steven Smith
              rhn-support-tasakura Takemi Asakura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: