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

quay.io/crw/crw-2-rhel8-operator:2.9 didn't run because it failed to initialize default value: 'RELATED_IMAGE_devworkspace_che_operator'

XMLWordPrintable

    • False
    • False
    • Undefined

      quay.io/crw/crw-2-rhel8-operator:2.9-17 didn't run because it failed to initialize default value: 'RELATED_IMAGE_devworkspace_che_operator':
      https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/CodereadyWorkspaces/job/e2e/job/basic/job/install-crw-using-crwctl/529/

      time="2021-06-08T21:57:35Z" level=fatal msg="Failed to initialize default value: 'RELATED_IMAGE_devworkspace_che_operator'. Environment variable with default value was not found."
      

      crwctl 2.9.0-CI-0e1e tarball: https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/CRW_CI/job/crwctl_2.9/8/artifact/codeready-workspaces-chectl/dist/channels/redhat/crwctl-linux-x64.tar.gz

      Reproduced on OCP 4.7 on AWS, and on OCP 4.6 on IBM Z

      Install command:

      00:25:30  + /mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/bin/crwctl server:deploy --che-operator-cr-patch-yaml=/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/custom-resource-patch.yaml --no-olm-suggested-namespace --catalog-source-name=osbs-catalog-source --catalog-source-namespace=openshift-marketplace --package-manifest-name=codeready-workspaces --olm-channel=latest --listr-renderer=verbose -n crw-crwctl
      
      crwctl logs
      00:25:32  (node:9935) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
      00:25:32  › Installer type is set to: 'olm'
      00:25:32  [17:25:31] Verify Kubernetes API [started]
      00:25:32  › Current Kubernetes context: 'default/api-ocp47-aws-crw-qe-com:6443/admin'
      00:25:32  [17:25:31] Verify Kubernetes API...OK [title changed]
      00:25:32  [17:25:31] Verify Kubernetes API...OK (it's OpenShift) [title changed]
      00:25:32  [17:25:31] Verify Kubernetes API...OK (it's OpenShift) [completed]
      00:25:32  [17:25:31] 👀  Looking for an already existing CodeReady Workspaces instance [started]
      00:25:32  [17:25:31] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl" [started]
      00:25:33  [17:25:32] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl"...it is not [title changed]
      00:25:33  [17:25:32] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl"...it is not [completed]
      00:25:33  [17:25:32] 👀  Looking for an already existing CodeReady Workspaces instance [completed]
      00:25:33  [17:25:32] ✈️  Openshift preflight checklist [started]
      00:25:33  [17:25:32] Verify if oc is installed [started]
      00:25:33  [17:25:32] Verify if oc is installed...done. [title changed]
      00:25:33  [17:25:32] Verify if oc is installed...done. [completed]
      00:25:33  [17:25:32] Verify if openshift is running [started]
      00:25:34  [17:25:33] Verify if openshift is running...done. [title changed]
      00:25:34  [17:25:33] Verify if openshift is running...done. [completed]
      00:25:34  [17:25:33] Check OpenShift version [started]
      00:25:35  [17:25:33] Check OpenShift version: 4.x [title changed]
      00:25:35  [17:25:33] Check OpenShift version: 4.x [completed]
      00:25:35  [17:25:33] Check Kubernetes version [started]
      00:25:35  [17:25:34] Check Kubernetes version: Unknown. [title changed]
      00:25:35  [17:25:34] Check Kubernetes version: Unknown. [completed]
      00:25:35  [17:25:34] ✈️  Openshift preflight checklist [completed]
      00:25:35  [17:25:34] Following CodeReady Workspaces logs [started]
      00:25:35  [17:25:34] Start following Operator logs [started]
      00:25:35  [17:25:34] Start following Operator logs...done [title changed]
      00:25:35  [17:25:34] Start following Operator logs...done [completed]
      00:25:35  [17:25:34] Start following CodeReady Workspaces Server logs [started]
      00:25:35  [17:25:34] Start following CodeReady Workspaces Server logs...done [title changed]
      00:25:35  [17:25:34] Start following CodeReady Workspaces Server logs...done [completed]
      00:25:35  [17:25:34] Start following PostgreSQL logs [started]
      00:25:35  [17:25:34] Start following PostgreSQL logs...done [title changed]
      00:25:35  [17:25:34] Start following PostgreSQL logs...done [completed]
      00:25:35  [17:25:34] Start following Keycloak logs [started]
      00:25:35  [17:25:34] Start following Keycloak logs...done [title changed]
      00:25:35  [17:25:34] Start following Keycloak logs...done [completed]
      00:25:35  [17:25:34] Start following Plug-in Registry logs [started]
      00:25:35  [17:25:34] Start following Plug-in Registry logs...done [title changed]
      00:25:35  [17:25:34] Start following Plug-in Registry logs...done [completed]
      00:25:35  [17:25:34] Start following Devfile Registry logs [started]
      00:25:35  [17:25:34] Start following Devfile Registry logs...done [title changed]
      00:25:35  [17:25:34] Start following Devfile Registry logs...done [completed]
      00:25:35  [17:25:34] Start following CodeReady Workspaces Dashboard logs [started]
      00:25:35  [17:25:34] Start following CodeReady Workspaces Dashboard logs...done [title changed]
      00:25:35  [17:25:34] Start following CodeReady Workspaces Dashboard logs...done [completed]
      00:25:35  [17:25:34] Start following namespace events [started]
      00:25:35  [17:25:34] Start following namespace events...done [title changed]
      00:25:35  [17:25:34] Start following namespace events...done [completed]
      00:25:35  [17:25:34] Following CodeReady Workspaces logs [completed]
      00:25:35  [17:25:34] 🏃‍  Running Olm installaion CodeReady Workspaces [started]
      00:25:35  [17:25:34] Check if OLM is pre-installed on the platform [started]
      00:25:35  [17:25:34] Check if OLM is pre-installed on the platform...done. [title changed]
      00:25:35  [17:25:34] Check if OLM is pre-installed on the platform...done. [completed]
      00:25:35  [17:25:34] Create Namespace (crw-crwctl) [started]
      00:25:36  [17:25:35] Create Namespace (crw-crwctl)...Done. [title changed]
      00:25:36  [17:25:35] Create Namespace (crw-crwctl)...Done. [completed]
      00:25:36  [17:25:35] Create operator group [started]
      00:25:36  [17:25:35] Create operator group...created new one. [title changed]
      00:25:36  [17:25:35] Create operator group...created new one. [completed]
      00:25:36  [17:25:35] Configure context information [started]
      00:25:36  [17:25:35] Configure context information...done. [title changed]
      00:25:36  [17:25:35] Configure context information...done. [completed]
      00:25:36  [17:25:35] Create operator subscription [started]
      00:25:37  [17:25:36] Create operator subscription...created new one. [title changed]
      00:25:37  [17:25:36] Create operator subscription...created new one. [completed]
      00:25:37  [17:25:36] Wait while subscription is ready [started]
      00:25:41  [17:25:40] Wait while subscription is ready...done. [title changed]
      00:25:41  [17:25:40] Wait while subscription is ready...done. [completed]
      00:25:41  [17:25:40] Wait while operator installed [started]
      00:26:20  [17:26:12] Wait while operator installed...done. [title changed]
      00:26:20  [17:26:12] Wait while operator installed...done. [completed]
      00:26:20  [17:26:12] Prepare CodeReady Workspaces cluster CR [started]
      00:26:20  [17:26:14] Prepare CodeReady Workspaces cluster CR...Done. [title changed]
      00:26:20  [17:26:14] Prepare CodeReady Workspaces cluster CR...Done. [completed]
      00:26:20  [17:26:14] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl [started]
      00:26:20  [17:26:14] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl...done. [title changed]
      00:26:20  [17:26:14] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl...done. [completed]
      00:26:20  [17:26:14] 🏃‍  Running Olm installaion CodeReady Workspaces [completed]
      00:26:20  [17:26:14] ✅  Post installation checklist [started]
      00:26:20  [17:26:14] PostgreSQL pod bootstrap [started]
      00:26:20  [17:26:14] Scheduling [started]
      00:45:12  [17:44:59] Scheduling [failed]
      00:45:12  [17:44:59] → Timeout: there are no pods in the namespace: crw-crwctl, selector: app=codeready,component=postgres. Check CodeReady Workspaces logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
      00:45:12  [17:44:59] PostgreSQL pod bootstrap [failed]
      00:45:12  [17:44:59] → Timeout: there are no pods in the namespace: crw-crwctl, selector: app=codeready,component=postgres. Check CodeReady Workspaces logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
      00:45:12  [17:44:59] ✅  Post installation checklist [failed]
      00:45:12  [17:44:59] → Timeout: there are no pods in the namespace: crw-crwctl, selector: app=codeready,component=postgres. Check CodeReady Workspaces logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
      00:45:12   ›   Error: Error: Timeout: there are no pods in the namespace: crw-crwctl, 
      00:45:12   ›   selector: app=codeready,component=postgres. Check CodeReady Workspaces 
      00:45:12   ›   logs for details. Consider increasing error recheck timeout with 
      00:45:12   ›   --k8spoderrorrechecktimeout flag.
      00:45:12   ›   Command server:deploy failed. Error log: 
      00:45:12   ›   /home/hudson/.cache/crwctl/error.log
      

              nickboldt Nick Boldt
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: