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

Quay 3.13 App POD was crashed with error message "cannot create /.postgresql"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • quay-v3.13.0
    • quay-v3.13.0
    • quay
    • None

      Description:

      This is an issue found in Quay 3.13 new build, when deployed Quay 3.13 with Quay 3.13 Operator with managed Components, Quay APP POD was crashed with error message "cannot create /.postgresql", pls review this issue.

      Installing extra certificates found in /quay-registry/conf/stack/extra_ca_certs directory

      Running init script '/quay-registry/conf/init/client_certs.sh'

      cannot create /.postgresql

      Quay: quay-operator-bundle-container-v3.13.0-2

      oc get pod
      NAME                                           READY   STATUS                  RESTARTS        AGE
      quay-operator.v3.13.0-774456bddb-q2jmx         1/1     Running                 0               17m
      quayregistry-clair-app-7d8b5cb5d6-5vswh        1/1     Running                 0               71s
      quayregistry-clair-app-7d8b5cb5d6-cfg87        1/1     Running                 0               5m57s
      quayregistry-clair-app-7d8b5cb5d6-f29dr        1/1     Running                 6 (10m ago)     13m
      quayregistry-clair-app-7d8b5cb5d6-ptl7z        1/1     Running                 0               117s
      quayregistry-clair-app-7d8b5cb5d6-rzh77        1/1     Running                 0               4m12s
      quayregistry-clair-app-7d8b5cb5d6-zgntx        1/1     Running                 0               7m12s
      quayregistry-clair-postgres-75f6c9598d-vfzjl   1/1     Running                 0               10m
      quayregistry-quay-app-647b9c7579-fppzg         0/1     CrashLoopBackOff        7 (2m21s ago)   13m
      quayregistry-quay-app-647b9c7579-nzxcx         0/1     CrashLoopBackOff        7 (2m27s ago)   13m
      quayregistry-quay-app-upgrade-hnrdz            0/1     Completed               2               14m
      quayregistry-quay-database-84cb94547f-vjzwn    1/1     Running                 0               13m
      quayregistry-quay-mirror-7d8bf47694-5d7rb      0/1     Init:CrashLoopBackOff   7 (2m16s ago)   13m
      quayregistry-quay-mirror-7d8bf47694-gdznj      0/1     Init:CrashLoopBackOff   7 (2m22s ago)   13m
      quayregistry-quay-redis-79f456d5d7-75hg4       1/1     Running                 0               13m
      
       oc logs quayregistry-quay-app-647b9c7579-fppzg
         __   __
        /  \ /  \     ______   _    _     __   __   __
       / /\ / /\ \   /  __  \ | |  | |   /  \  \ \ / /
      / /  / /  \ \  | |  | | | |  | |  / /\ \  \   /
      \ \  \ \  / /  | |__| | | |__| | / ____ \  | |
       \ \/ \ \/ /   \_  ___/  \____/ /_/    \_\ |_|
        \__/ \__/      \ \__
                        \___\ by Red Hat
       Build, Store, and Distribute your Containers
      
      
      Startup timestamp: 
      Wed Sep 18 02:46:45 UTC 2024
      
      
      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/client_certs.sh'
      cannot create /.postgresql

      Quay Config.yaml:

      BROWSER_API_CALLS_XHR_ONLY: false
      PERMANENTLY_DELETE_TAGS: true
      RESET_CHILD_MANIFEST_EXPIRATION: true
      FEATURE_EXTENDED_REPOSITORY_NAMES: true
      CREATE_NAMESPACE_ON_PUSH: true
      FEATURE_QUOTA_MANAGEMENT: true
      FEATURE_PROXY_CACHE: true
      FEATURE_USER_INITIALIZE: true
      FEATURE_PROXY_STORAGE: true
      IGNORE_UNKNOWN_MEDIATYPES: true
      FEATURE_UI_V2: true
      FEATURE_SUPERUSERS_FULL_ACCESS: true
      FEATURE_AUTO_PRUNE: true
      FEATURE_FIPS: false
      SUPER_USERS:
        - quay
        - admin
      GLOBAL_READONLY_SUPER_USERS:
        - superglobalro
      DISTRIBUTED_STORAGE_DEFAULT_LOCATIONS:
        - default
      DISTRIBUTED_STORAGE_PREFERENCE:
        - default
      DISTRIBUTED_STORAGE_CONFIG:
        default:
          - S3Storage
          - s3_bucket: quayaws3091
            storage_path: /datafile
            s3_access_key: ******
            s3_secret_key: ******
            host: s3.us-east-2.amazonaws.com
            s3_region: us-east-2
      USERFILES_LOCATION: default
      USERFILES_PATH: userfiles/

      QuayRegistry CR:

      spec:
        components:
          - kind: objectstorage
            managed: false
          - kind: tls
            managed: true
          - kind: quay
            managed: true
            overrides:
              env:
                - name: DEBUGLOG
                  value: 'true'
          - kind: postgres
            managed: true
          - kind: clair
            managed: true
          - kind: redis
            managed: true
          - kind: horizontalpodautoscaler
            managed: true
          - kind: route
            managed: true
          - kind: mirror
            managed: true
          - kind: monitoring
            managed: false
          - kind: clairpostgres
            managed: true 

            rhn-support-milang Michaela Lang
            lzha1981 luffy zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: