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

Crwctl failed to install CRW because of "Cannot set property 'ingressDomain' of undefined" error

XMLWordPrintable

      Steps to reproduce:
      1) download oc client https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.3.1/openshift-client-linux-4.3.1.tar.gz
      2) login as cluster admin to QE OCP 4.3

      oc login --server=https://api.ocp43.codereadyqe.com:6443 -u=**** -p=***** --insecure-skip-tls-verify

      3) download and unpack crwctl:

      curl -L --insecure -o crwctl-linux-x64.tar.gz https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/crwctl_master/lastSuccessfulBuild/artifact/codeready-workspaces-chectl/dist/channels/latest/crwctl-linux-x64.tar.gz 
      
      tar -xvzf crwctl-linux-x64.tar.gz
      

      4) try to install CRW:

      crwctl/bin/crwctl server:start --self-signed-cert --che-operator-image=quay.io/crw/operator-rhel8:latest --listr-renderer=verbose -n install-crw-using-crwctl-default-params
      
      Error message
      [04:04:22] Create CodeReady Workspaces cluster codeready-workspaces in namespace ndp-install-crw-using-crwctl-default-params [started]
      [04:04:22] Create CodeReady Workspaces cluster codeready-workspaces in namespace ndp-install-crw-using-crwctl-default-params [failed]
      [04:04:22]  Cannot set property 'ingressDomain' of undefined
      [04:04:22]   Running the CodeReady Workspaces operator [failed]
      [04:04:22]  Cannot set property 'ingressDomain' of undefined
       ›   Error: TypeError: Cannot set property 'ingressDomain' of undefined
      

      Test environment:

      • crwctl version: crwctl/2.1.0-RC2b-quay.64794d6 linux-x64 node-v10.14.1
      • crwctl tar ball
      • OCP 4.3

      Installation logs: https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/CRW-2-testing/view/basic/job/install-crw-using-crwctl/661/console

      Full log
      /mnt/hudson_workspace/workspace/install-crw-using-crwctl/crwctl/bin/crwctl server:start --self-signed-cert --che-operator-image=quay.io/crw/operator-rhel8:latest --listr-renderer=verbose -n ndp-install-crw-using-crwctl-default-params
      [04:04:15] Verify Kubernetes API [started]
      [04:04:15] Verify Kubernetes API...OK [title changed]
      [04:04:15] Verify Kubernetes API...OK (it's OpenShift) [title changed]
      [04:04:15] Verify Kubernetes API...OK (it's OpenShift) [completed]
      [04:04:15]   Looking for an already existing CodeReady Workspaces instance [started]
      [04:04:15] Verify if CodeReady Workspaces is deployed into namespace "ndp-install-crw-using-crwctl-default-params" [started]
      [04:04:15] Verify if CodeReady Workspaces is deployed into namespace "ndp-install-crw-using-crwctl-default-params"...it is not [title changed]
      [04:04:15] Verify if CodeReady Workspaces is deployed into namespace "ndp-install-crw-using-crwctl-default-params"...it is not [completed]
      [04:04:15]   Looking for an already existing CodeReady Workspaces instance [completed]
      [04:04:15]  Openshift preflight checklist [started]
      [04:04:15] Verify if oc is installed [started]
      [04:04:15] Verify if oc is installed...done. [title changed]
      [04:04:15] Verify if oc is installed...done. [completed]
      [04:04:15] Verify if openshift is running [started]
      [04:04:16] Verify if openshift is running...done. [title changed]
      [04:04:16] Verify if openshift is running...done. [completed]
      [04:04:16] Check OpenShift version [started]
      [04:04:16] Check OpenShift version: Unknown. [title changed]
      [04:04:16] Check OpenShift version: Unknown. [completed]
      [04:04:16] Check Kubernetes version [started]
      [04:04:16] Check Kubernetes version: Unknown. [title changed]
      [04:04:16] Check Kubernetes version: Unknown. [completed]
      [04:04:16]  Openshift preflight checklist [completed]
      CodeReady Workspaces logs will be available in '/tmp/crwctl-logs/1585037055673'
      [04:04:16] Start following logs [started]
      [04:04:16] Start following Operator logs [started]
      [04:04:16] Start following Operator logs...done [title changed]
      [04:04:16] Start following Operator logs...done [completed]
      [04:04:16] Start following CodeReady Workspaces logs [started]
      [04:04:16] Start following CodeReady Workspaces logs...done [title changed]
      [04:04:16] Start following CodeReady Workspaces logs...done [completed]
      [04:04:16] Start following Postgres logs [started]
      [04:04:16] Start following Postgres logs...done [title changed]
      [04:04:16] Start following Postgres logs...done [completed]
      [04:04:16] Start following Keycloak logs [started]
      [04:04:16] Start following Keycloak logs...done [title changed]
      [04:04:16] Start following Keycloak logs...done [completed]
      [04:04:16] Start following Plugin registry logs [started]
      [04:04:16] Start following Plugin registry logs...done [title changed]
      [04:04:16] Start following Plugin registry logs...done [completed]
      [04:04:16] Start following Devfile registry logs [started]
      [04:04:16] Start following Devfile registry logs...done [title changed]
      [04:04:16] Start following Devfile registry logs...done [completed]
      [04:04:16] Start following logs [completed]
      [04:04:16] Start following events [started]
      [04:04:16] Start following namespace events [started]
      [04:04:16] Start following namespace events...done [title changed]
      [04:04:16] Start following namespace events...done [completed]
      [04:04:16] Start following events [completed]
      [04:04:16]  Running the CodeReady Workspaces operator [started]
       ›   Warning: CodeReady Workspaces can only be deployed in Multi-User mode.
      [04:04:16] Copying operator resources [started]
      [04:04:16] Copying operator resources...done. [title changed]
      [04:04:16] Copying operator resources...done. [completed]
      [04:04:16] Create Namespace (ndp-install-crw-using-crwctl-default-params) [started]
      [04:04:16] Create Namespace (ndp-install-crw-using-crwctl-default-params)...done. [title changed]
      [04:04:16] Create Namespace (ndp-install-crw-using-crwctl-default-params)...done. [completed]
      [04:04:16] Create ServiceAccount codeready-operator in namespace ndp-install-crw-using-crwctl-default-params [started]
      [04:04:16] Create ServiceAccount codeready-operator in namespace ndp-install-crw-using-crwctl-default-params...done. [title changed]
      [04:04:16] Create ServiceAccount codeready-operator in namespace ndp-install-crw-using-crwctl-default-params...done. [completed]
      [04:04:16] Create Role codeready-operator in namespace ndp-install-crw-using-crwctl-default-params [started]
      [04:04:16] Create Role codeready-operator in namespace ndp-install-crw-using-crwctl-default-params...done. [title changed]
      [04:04:16] Create Role codeready-operator in namespace ndp-install-crw-using-crwctl-default-params...done. [completed]
      [04:04:16] Create ClusterRole codeready-operator [started]
      [04:04:16] Create ClusterRole codeready-operator...It already exists. [title changed]
      [04:04:16] Create ClusterRole codeready-operator...It already exists. [completed]
      [04:04:16] Create RoleBinding codeready-operator in namespace ndp-install-crw-using-crwctl-default-params [started]
      [04:04:16] Create RoleBinding codeready-operator in namespace ndp-install-crw-using-crwctl-default-params...done. [title changed]
      [04:04:16] Create RoleBinding codeready-operator in namespace ndp-install-crw-using-crwctl-default-params...done. [completed]
      [04:04:16] Create ClusterRoleBinding codeready-operator [started]
      [04:04:16] Create ClusterRoleBinding codeready-operator...It already exists. [title changed]
      [04:04:16] Create ClusterRoleBinding codeready-operator...It already exists. [completed]
      [04:04:16] Create CRD checlusters.org.eclipse.che [started]
      [04:04:17] Create CRD checlusters.org.eclipse.che...It already exists. [title changed]
      [04:04:17] Create CRD checlusters.org.eclipse.che...It already exists. [completed]
      [04:04:17] Waiting 5 seconds for the new Kubernetes resources to get flushed [started]
      [04:04:22] Waiting 5 seconds for the new Kubernetes resources to get flushed...done. [title changed]
      [04:04:22] Waiting 5 seconds for the new Kubernetes resources to get flushed...done. [completed]
      [04:04:22] Create deployment codeready-operator in namespace ndp-install-crw-using-crwctl-default-params [started]
      [04:04:22] Create deployment codeready-operator in namespace ndp-install-crw-using-crwctl-default-params...done. [title changed]
      [04:04:22] Create deployment codeready-operator in namespace ndp-install-crw-using-crwctl-default-params...done. [completed]
      [04:04:22] Create CodeReady Workspaces cluster codeready-workspaces in namespace ndp-install-crw-using-crwctl-default-params [started]
      [04:04:22] Create CodeReady Workspaces cluster codeready-workspaces in namespace ndp-install-crw-using-crwctl-default-params [failed]
      [04:04:22]  Cannot set property 'ingressDomain' of undefined
      [04:04:22]   Running the CodeReady Workspaces operator [failed]
      [04:04:22]  Cannot set property 'ingressDomain' of undefined
       ›   Error: TypeError: Cannot set property 'ingressDomain' of undefined
       ›   Installation failed, check logs in '/tmp/crwctl-logs/1585037055673'
      

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

                Created:
                Updated:
                Resolved: