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

Bridge operator cannot create MutatingAdmissionWebhook automatically

XMLWordPrintable

      Description of problem:

      Bridge operator cannot create MutatingAdmissionWebhook automatically during install, the operator stuck in installing.

      Version-Release number of selected component (if applicable):

      quay-bridge-operator-bundle-container-v3.6.0-4

      • Index image v4.5: registry-proxy.engineering.redhat.com/rh-osbs/iib:91725
      • Index image v4.6: registry-proxy.engineering.redhat.com/rh-osbs/iib:91729
      • Index image v4.7: registry-proxy.engineering.redhat.com/rh-osbs/iib:91733
      • Index image v4.8: registry-proxy.engineering.redhat.com/rh-osbs/iib:91737

      quay-bridge-operator-container-v3.6.0-3

      • registry-proxy.engineering.redhat.com/rh-osbs/quay-quay-bridge-operator-rhel8@sha256:bcb4143addfa56583495f46a5f2f402b74b17bdec336bb0fc80f722fc4ae1bc0

      How reproducible:

      Always

      Steps to Reproduce:
      1. Login Openshift console
      2. Open operatorhub, install bridge operator
      3. Check the operator status

      Actual results:

      Should install successfully

      Expected results:

      Operator stuck in installing

      Additional info:

      $ oc describe pod quay-bridge-operator-789c69ddf4-h7hhf -n openshift-operators
      Name:           quay-bridge-operator-789c69ddf4-h7hhf
      Namespace:      openshift-operators
      Priority:       0
      Node:           dyan21-q8vc8-worker-1/192.168.3.142
      Start Time:     Thu, 22 Jul 2021 11:07:48 +0800
      Labels:         name=quay-bridge-operator
                      pod-template-hash=789c69ddf4
      Annotations:    alm-examples:
                        [
                          {
                            "apiVersion": "redhatcop.redhat.io/v1alpha1",
                            "kind": "QuayIntegration",
                            "metadata": {
                              "name": "my-quay"
                            },
                            "spec": {
                              "clusterID": "openshift",
                              "credentialsSecretName": "<NAMESPACE>/<SECRET>",
                              "quayHostname": "https://<QUAY_URL>",
                              "insecureRegistry": false,
                              "whitelistNamespaces": ["default"]
                            }
                          }
                        ]
                      capabilities: Full Lifecycle
                      categories: OpenShift Optional
                      containerImage: registry.redhat.io/quay/quay-bridge-operator-rhel8@sha256:bcb4143addfa56583495f46a5f2f402b74b17bdec336bb0fc80f722fc4ae1bc0
                      createdAt: 2021-07-09 14:07 UTC
                      description: Enhance OCP using Red Hat Quay container registry
                      olm.operatorGroup: global-operators
                      olm.operatorNamespace: openshift-operators
                      olm.skipRange: >=3.5.x <3.6.0
                      olm.targetNamespaces: 
                      openshift.io/scc: restricted
                      operatorframework.io/properties:
                        {"properties":[{"type":"olm.gvk","value":{"group":"redhatcop.redhat.io","kind":"QuayIntegration","version":"v1alpha1"}},{"type":"olm.maxOp...
                      repository: https://github.com/redhat-cop/quay-openshift-registry-operator
                      tectonic-visibility: ocs
      Status:         Pending
      IP:             
      IPs:            <none>
      Controlled By:  ReplicaSet/quay-bridge-operator-789c69ddf4
      Containers:
        quay-bridge-operator:
          Container ID:   
          Image:          registry.redhat.io/quay/quay-bridge-operator-rhel8@sha256:bcb4143addfa56583495f46a5f2f402b74b17bdec336bb0fc80f722fc4ae1bc0
          Image ID:       
          Port:           <none>
          Host Port:      <none>
          State:          Waiting
            Reason:       ContainerCreating
          Ready:          False
          Restart Count:  0
          Environment:
            POD_NAME:                 quay-bridge-operator-789c69ddf4-h7hhf (v1:metadata.name)
            OPERATOR_NAME:            quay-bridge-operator
            OPERATOR_CONDITION_NAME:  quay-bridge-operator.v3.6.0
          Mounts:
            /etc/webhook/certs from certs (ro)
            /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-k9bjp (ro)
      Conditions:
        Type              Status
        Initialized       True 
        Ready             False 
        ContainersReady   False 
        PodScheduled      True 
      Volumes:
        certs:
          Type:        Secret (a volume populated by a Secret)
          SecretName:  quay-bridge-operator-webhook-certs
          Optional:    false
        kube-api-access-k9bjp:
          Type:                    Projected (a volume that contains injected data from multiple sources)
          TokenExpirationSeconds:  3607
          ConfigMapName:           kube-root-ca.crt
          ConfigMapOptional:       <nil>
          DownwardAPI:             true
          ConfigMapName:           openshift-service-ca.crt
          ConfigMapOptional:       <nil>
      QoS Class:                   BestEffort
      Node-Selectors:              <none>
      Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                                   node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
      Events:
        Type     Reason       Age                  From               Message
        ----     ------       ----                 ----               -------
        Normal   Scheduled    2m42s                default-scheduler  Successfully assigned openshift-operators/quay-bridge-operator-789c69ddf4-h7hhf to dyan21-q8vc8-worker-1
        Warning  FailedMount  39s                  kubelet            Unable to attach or mount volumes: unmounted volumes=[certs], unattached volumes=[certs kube-api-access-k9bjp]: timed out waiting for the condition
        Warning  FailedMount  34s (x9 over 2m42s)  kubelet            MountVolume.SetUp failed for volume "certs" : secret "quay-bridge-operator-webhook-certs" not found
      

              hgovinda Harish Govindarajulu
              rhn-support-dyan Dongbo Yan
              Dongbo Yan Dongbo Yan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: