Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1108

crwtcl with operator installer didn't respect '--che-operator-image' option when install CRW on OCP 4.4

    XMLWordPrintable

Details

    Description

      CRW 2.3.0.ER-07-27 installed by crwctl/2.3.0-CI-redhat.b2039a9 linux-x64 node-v10.19.0 with operator installer didn't respect '--che-operator-image' option when install on OCP 4.4, and used "registry.redhat.io/codeready-workspaces/crw-2-rhel8-operator:2.3" instead of provided operator image address:

      installation command
      crwctl/bin/crwctl server:start -n ${USER}-crw -a operator --che-operator-image=quay.io/crw/crw-2-rhel8-operator:latest
      
      crwctl logs
      › Current Kubernetes context: 'ndp-crw/api-ocp44-crw-qe-com:6443/admin'
        ✔ Verify Kubernetes API...OK (it's OpenShift)
        ✔   Looking for an already existing CodeReady Workspaces instance
          ✔ Verify if CodeReady Workspaces is deployed into namespace "ndp-crw"...it is not
        ✔   Openshift preflight checklist
          ✔ Verify if oc is installed...done.
          ✔ Verify if openshift is running...done.
          ✔ Check OpenShift version: 4.x
          ✔ Check Kubernetes version: Found v1.11.0+d4cacc0.
      CodeReady Workspaces logs will be available in '/tmp/crwctl-logs/1595868853886'
        ✔ Start following logs
          ✔ Start following Operator logs...done
          ✔ Start following CodeReady Workspaces logs...done
          ✔ Start following Postgres logs...done
          ✔ Start following Keycloak logs...done
          ✔ Start following Plugin registry logs...done
          ✔ Start following Devfile registry logs...done
        ✔ Start following events
          ✔ Start following namespace events...done
        ✔   Running the CodeReady Workspaces operator
          ✔ Copying operator resources...done.
          ✔ Create Namespace (ndp-crw)...It already exists.
          ✔ Create ServiceAccount codeready-operator in namespace ndp-crw...It already exists.
          ✔ Create Role codeready-operator in namespace ndp-crw...It already exists.
          ✔ Create ClusterRole codeready-operator...It already exists.
          ✔ Create RoleBinding codeready-operator in namespace ndp-crw...It already exists.
          ✔ Create ClusterRoleBinding codeready-operator...It already exists.
          ✔ Create CRD checlusters.org.eclipse.che...It already exists.
          ✔ Waiting 5 seconds for the new Kubernetes resources to get flushed...done.
          ✔ Create deployment codeready-operator in namespace ndp-crw...It already exists.
          ✔ Create the Custom Resource of type checlusters.org.eclipse.che in the namespace ndp-crw...It already exists.
        ❯   Post installation checklist
          ❯ CodeReady Workspaces pod bootstrap
             scheduling
              → ERR_TIMEOUT: Timeout set to pod wait timeout 300000. podExist: false, currentPhase: undefined
              downloading images
              starting
            Retrieving CodeReady Workspaces server URL
            CodeReady Workspaces status check
          Retrieving Che self-signed CA certificate
       ›   Error: Error: ERR_TIMEOUT: Timeout set to pod wait timeout 300000. podExist: false, currentPhase: undefined
       ›   Installation failed, check logs in '/tmp/crwctl-logs/1595868853886'
      
      oc events
      oc get events
      LAST SEEN   TYPE      REASON    OBJECT                                    MESSAGE
      20m         Normal    Pulling   pod/codeready-operator-5d6f7887b7-99zrv   Pulling image "registry.redhat.io/codeready-workspaces/crw-2-rhel8-operator:2.3"
      60m         Normal    BackOff   pod/codeready-operator-5d6f7887b7-99zrv   Back-off pulling image "registry.redhat.io/codeready-workspaces/crw-2-rhel8-operator:2.3"
      12s         Warning   Failed    pod/codeready-operator-5d6f7887b7-99zrv   Error: ImagePullBackOff
      

       

      Attachments

        Activity

          People

            abazko Anatolii Bazko
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: