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

Quay CR deployment with externalAccess as LoadBalancer missing LB DNS on GCE

    XMLWordPrintable

Details

    • Qui-Gon [Quay 184]
    • 0

    Description

      Description:
      This is an issue found when deploy Quay CR on Google Cloud Platform, when set externalAccess as LoadBalancer in Quay CR file, Quay CR deployment can be deployed successfully, but the LoadBalancer does not has DNS name, checked in Quay config-app, the hostname is grayed and set as "104.197.89.235", after change some configurations, it was failed to save configurations, report error message "Supported names "quay-enterprise, quay-enterprise@1587885947" in SSL cert do not match server hostname "104.197.89.235"", refer to attached screenshots.

      Expected Results:
      The LoadBalancer generated by Operator on GCE should give valid DNS name, like the same behavior on AWS; and the Quay hostname in Config-app should use the correct hostname rather than IP address.

      Actual Results:
      The LoadBalancer generated by Operator on GCE only give external IP without using correct loadbalancer DNS name, in quay config-app, the Quay hostname is IP address.

      lizhang@lzha-mac Quay3.3_operator_testing % oc get service
      NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
      demolblocal2-quayecosystem-clair ClusterIP 172.30.141.125 <none> 6060/TCP,6061/TCP 61m
      demolblocal2-quayecosystem-clair-postgresql ClusterIP 172.30.92.136 <none> 5432/TCP 61m
      demolblocal2-quayecosystem-quay LoadBalancer 172.30.186.221 104.197.89.235 443:31100/TCP 64m
      demolblocal2-quayecosystem-quay-config LoadBalancer 172.30.140.38 34.66.132.67 443:30292/TCP 64m
      demolblocal2-quayecosystem-quay-postgresql ClusterIP 172.30.239.148 <none> 5432/TCP 65m
      demolblocal2-quayecosystem-redis ClusterIP 172.30.189.134 <none> 6379/TCP 66m

      lizhang@lzha-mac Quay3.3_operator_testing % cat quayecosystem_cr_lb_localpersistent1.yaml
      apiVersion: redhatcop.redhat.io/v1alpha1
      kind: QuayEcosystem
      metadata:
      name: demolblocal3-quayecosystem
      spec:
      quay:
      imagePullSecretName: redhat-pull-secret
      image: quay.io/quay/quay:v3.3.0-3
      registryStorage:
      persistentVolumeAccessModes:

      • ReadWriteOnce
        persistentVolumeSize: 60Gi
        externalAccess:
        type: LoadBalancer
        enableRepoMirroring: true
        keepConfigDeployment: true
        database:
        volumeSize: 30Gi
        envVars:
      • name: DEBUGLOG
        value: "true"
        clair:
        enabled: true
        image: quay.io/quay/clair-jwt:v3.3.0-1
        imagePullSecretName: redhat-pull-secret
        updateInterval: "60m"

      Attachments

        Issue Links

          Activity

            People

              rhn-coreos-amerdler Alec Merdler (Inactive)
              lzha1981 luffy zhang
              luffy zhang luffy zhang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: