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

Quay 3.8.0 APP POD was crashed after config AWS S3 Cloudfront with config editor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • quay-v3.8.0, quay-v3.9.0
    • config-tool
    • False
    • None
    • False

      Description:

      This is an issue of Quay 3.8.0 Config Editor, when use config editor to config Quay to use AWS S3 Cloudfront as backend storage, after reconcile the new quay APP POD was crashed, the error message is "TypeError: {}init{}() missing 1 required positional argument: 's3_region'", but Quay Config editor doesn't ask for this field, pls add this field in config editor UI. 

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

      Config Editor to config to use AWS S3 Cloudfront:

      oc get pod
      NAME                                       READY   STATUS             RESTARTS       AGE
      quay-clair-app-8685cb7654-48vvq            1/1     Running            0              5m18s
      quay-clair-app-8685cb7654-67c5x            1/1     Running            0              45s
      quay-clair-app-8685cb7654-7fd74            1/1     Running            0              55s
      quay-clair-app-8685cb7654-9q4xr            1/1     Running            0              5m18s
      quay-clair-app-8685cb7654-b9wfr            1/1     Running            0              44s
      quay-clair-app-8685cb7654-clqxw            1/1     Running            0              55s
      quay-clair-app-8685cb7654-tp486            1/1     Running            0              5m18s
      quay-clair-postgres-5d96b69bd6-t5rsh       1/1     Running            1 (17m ago)    17m
      quay-operator.v3.8.0-79d88968d6-2tq86      1/1     Running            0              61m
      quay-quay-app-54994dff8d-kkz6q             0/1     Error              1 (8s ago)     5m18s
      quay-quay-app-75ddfb46f7-7r7w4             1/1     Running            0              16m
      quay-quay-app-75ddfb46f7-zjljz             1/1     Running            0              16m
      quay-quay-app-upgrade-tb2xl                0/1     Completed          0              17m
      quay-quay-config-editor-5944c48d9d-7mwzd   1/1     Running            0              5m18s
      quay-quay-database-67f8fc5c6d-drbdj        1/1     Running            0              17m
      quay-quay-mirror-6dcddfc9fb-76x4x          0/1     CrashLoopBackOff   5 (89s ago)    4m49s
      quay-quay-mirror-6dcddfc9fb-wc988          0/1     CrashLoopBackOff   5 (103s ago)   4m49s
      quay-quay-redis-7676dc4886-8pngs           1/1     Running            0              17m
      
      
      oc logs quay-quay-app-54994dff8d-kkz6q 
         __   __
        /  \ /  \     ______   _    _     __   __   __
       / /\ / /\ \   /  __  \ | |  | |   /  \  \ \ / /
      / /  / /  \ \  | |  | | | |  | |  / /\ \  \   /
      \ \  \ \  / /  | |__| | | |__| | / ____ \  | |
       \ \/ \ \/ /   \_  ___/  \____/ /_/    \_\ |_|
        \__/ \__/      \ \__
                        \___\ by Red Hat
       Build, Store, and Distribute your Containers
      
      
      Startup timestamp: 
      Mon Dec  5 09:20:14 UTC 2022
      
      
      Running all default registry services without migration
      Running init script '/quay-registry/conf/init/certs_install.sh'
      Installing extra certificates found in /quay-registry/conf/stack/extra_ca_certs directory
      Running init script '/quay-registry/conf/init/copy_config_files.sh'
      Running init script '/quay-registry/conf/init/d_validate_config_bundle.sh'
      Validating Configuration
      ......
      Running init script '/quay-registry/conf/init/nginx_conf_create.sh'
      Running init script '/quay-registry/conf/init/supervisord_conf_create.sh'
      Running init script '/quay-registry/conf/init/zz_boot.sh'
      Traceback (most recent call last):
        File "/quay-registry/./boot.py", line 15, in <module>
          from app import app
        File "/quay-registry/app.py", line 253, in <module>
          storage = Storage(app, chunk_cleanup_queue, instance_keys, config_provider, ip_resolver)
        File "/quay-registry/storage/__init__.py", line 61, in __init__
          self.state = self.init_app(
        File "/quay-registry/storage/__init__.py", line 70, in init_app
          storages[location] = get_storage_driver(
        File "/quay-registry/storage/__init__.py", line 39, in get_storage_driver
          return driver_class(context, **parameters)
      TypeError: __init__() missing 1 required positional argument: 's3_region' 

              Unassigned Unassigned
              lzha1981 luffy zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: