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

crwctl 2.13.0 is unable to retrieve Che cluster CR definition from CSV on OCP 4.9.0

XMLWordPrintable

    • False
    • False

      CRW 2.13.0 installation failed on QE OCP 4.9 because crwctl was unable to retrieve Che cluster CR definition from CSV:

      • registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-metadata:2.13-92
      • registry-proxy.engineering.redhat.com/rh-osbs/iib:128587
      • crwctl/2.13.0-CI-redhat.f9ef88e linux-x64 node-v12.22.3

      https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/CodereadyWorkspaces/job/e2e/job/basic/job/install-crw-using-crwctl/1630/console

      crwctl log
      + /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=crw-2-13-osbs-latest --catalog-source-namespace=openshift-marketplace --package-manifest-name=codeready-workspaces --olm-channel=latest --listr-renderer=verbose -n nightly-crw
       › Installer type is set to: 'olm'
       [04:58:58] Verify Kubernetes API [started]
       › Current Kubernetes context: 'default/api-ocp49-aws-crw-qe-com:6443/admin'
       [04:58:58] Verify Kubernetes API...OK [title changed]
       [04:58:58] Verify Kubernetes API...OK (it's OpenShift) [title changed]
       [04:58:58] Verify Kubernetes API...OK (it's OpenShift) [completed]
       [04:58:58]   Looking for an already existing CodeReady Workspaces instance [started]
       [04:58:58] Verify if CodeReady Workspaces is deployed into namespace "nightly-crw" [started]
       [04:58:59] Verify if CodeReady Workspaces is deployed into namespace "nightly-crw"...it is not [title changed]
       [04:58:59] Verify if CodeReady Workspaces is deployed into namespace "nightly-crw"...it is not [completed]
       [04:58:59]   Looking for an already existing CodeReady Workspaces instance [completed]
       [04:58:59]   Openshift preflight checklist [started]
       [04:58:59] Verify if oc is installed [started]
       [04:58:59] Verify if oc is installed...done. [title changed]
       [04:58:59] Verify if oc is installed...done. [completed]
       [04:58:59] Verify if openshift is running [started]
       [04:58:59] Verify if openshift is running...done. [title changed]
       [04:58:59] Verify if openshift is running...done. [completed]
       [04:58:59] Check OpenShift version [started]
       [04:58:59] Check OpenShift version: 4.x [title changed]
       [04:58:59] Check OpenShift version: 4.x [completed]
       [04:58:59] Check Kubernetes version [started]
       [04:58:59] Check Kubernetes version: Unknown. [title changed]
       [04:58:59] Check Kubernetes version: Unknown. [completed]
       [04:58:59]   Openshift preflight checklist [completed]
       [04:58:59] Following CodeReady Workspaces logs [started]
       [04:58:59] Start following Operator logs [started]
       [04:58:59] Start following Operator logs...done [title changed]
       [04:58:59] Start following Operator logs...done [completed]
       [04:58:59] Start following CodeReady Workspaces Server logs [started]
       [04:58:59] Start following CodeReady Workspaces Server logs...done [title changed]
       [04:58:59] Start following CodeReady Workspaces Server logs...done [completed]
       [04:58:59] Start following PostgreSQL logs [started]
       [04:58:59] Start following PostgreSQL logs...done [title changed]
       [04:58:59] Start following PostgreSQL logs...done [completed]
       [04:58:59] Start following Keycloak logs [started]
       [04:58:59] Start following Keycloak logs...done [title changed]
       [04:58:59] Start following Keycloak logs...done [completed]
       [04:58:59] Start following Plug-in Registry logs [started]
       [04:58:59] Start following Plug-in Registry logs...done [title changed]
       [04:58:59] Start following Plug-in Registry logs...done [completed]
       [04:58:59] Start following Devfile Registry logs [started]
       [04:58:59] Start following Devfile Registry logs...done [title changed]
       [04:58:59] Start following Devfile Registry logs...done [completed]
       [04:58:59] Start following CodeReady Workspaces Dashboard logs [started]
       [04:58:59] Start following CodeReady Workspaces Dashboard logs...done [title changed]
       [04:58:59] Start following CodeReady Workspaces Dashboard logs...done [completed]
       [04:58:59] Start following namespace events [started]
       [04:58:59] Start following namespace events...done [title changed]
       [04:58:59] Start following namespace events...done [completed]
       [04:58:59] Following CodeReady Workspaces logs [completed]
       [04:58:59] Create Namespace nightly-crw [started]
       [04:59:00] Create Namespace nightly-crw...[OK] [title changed]
       [04:59:00] Create Namespace nightly-crw...[OK] [completed]
       [04:59:00]   Running Olm installaion CodeReady Workspaces [started]
       [04:59:00] Check if OLM is pre-installed on the platform [started]
       [04:59:00] Check if OLM is pre-installed on the platform...done. [title changed]
       [04:59:00] Check if OLM is pre-installed on the platform...done. [completed]
       [04:59:00] Configure context information [started]
       [04:59:00] Configure context information...done. [title changed]
       [04:59:00] Configure context information...done. [completed]
       [04:59:00] Create operator group [started]
       [04:59:00] Create operator group...created a new one: codeready-operator-group [title changed]
       [04:59:00] Create operator group...created a new one: codeready-operator-group [completed]
       [04:59:00] Create operator subscription [started]
       [04:59:00] Create operator subscription...created new one. [title changed]
       [04:59:00] Create operator subscription...created new one. [completed]
       [04:59:00] Wait while subscription is ready [started]
       [04:59:12] Wait while subscription is ready...done. [title changed]
       [04:59:12] Wait while subscription is ready...done. [completed]
       [04:59:12] Wait while operator installed [started]
       [04:59:20] Wait while operator installed...done. [title changed]
       [04:59:20] Wait while operator installed...done. [completed]
       [04:59:20] Prepare CodeReady Workspaces cluster CR [started]
       [04:59:20] Prepare CodeReady Workspaces cluster CR...Done. [title changed]
       [04:59:20] Prepare CodeReady Workspaces cluster CR...Done. [completed]
       [04:59:20]   Running Olm installaion CodeReady Workspaces [completed]
       [04:59:20]   Post installation checklist [started]
       [04:59:20] CodeReady Workspaces Server pod bootstrap [started]
       [04:59:20] Scheduling [started]
       [05:13:56] Scheduling [failed]
       [05:13:56]  Timeout: there are no pods in the namespace: nightly-crw, selector: app=codeready,component=codeready. Check CodeReady Workspaces logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
       [05:13:56] CodeReady Workspaces Server pod bootstrap [failed]
       [05:13:56]  Timeout: there are no pods in the namespace: nightly-crw, selector: app=codeready,component=codeready. Check CodeReady Workspaces logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
       [05:13:56]   Post installation checklist [failed]
       [05:13:56]  Timeout: there are no pods in the namespace: nightly-crw, selector: app=codeready,component=codeready. Check CodeReady Workspaces logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
           Error: Command server:deploy failed. Error log: 
           /home/hudson/.cache/crwctl/error.log.
      
      error.log
      2021-10-26T08:58:04.705Z Error: Command server:deploy failed. Error log: /home/hudson/.cache/crwctl/error.log.
      2021-10-26T08:58:04.705Z     at newError (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/lib/util.js:199:19)
      2021-10-26T08:58:04.705Z     at Object.wrapCommandError (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/lib/util.js:195:12)
      2021-10-26T08:58:04.705Z     at Deploy.<anonymous> (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/lib/commands/server/deploy.js:243:35)
      2021-10-26T08:58:04.705Z     at Generator.throw (<anonymous>)
      2021-10-26T08:58:04.705Z     at rejected (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/node_modules/tslib/tslib.js:115:69)
      2021-10-26T08:58:04.705Z Cause: Error: Unable to retrieve Che cluster CR definition from CSV: undefined
      2021-10-26T08:58:04.705Z     at OLMTasks.<anonymous> (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/lib/tasks/installers/olm.js:478:23)
      2021-10-26T08:58:04.705Z     at Generator.next (<anonymous>)
      2021-10-26T08:58:04.705Z     at fulfilled (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/node_modules/tslib/tslib.js:114:62)
      2021-10-26T09:13:56.427Z Error: Command server:deploy failed. Error log: /home/hudson/.cache/crwctl/error.log.
      2021-10-26T09:13:56.427Z     at newError (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/lib/util.js:199:19)
      2021-10-26T09:13:56.427Z     at Object.wrapCommandError (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/lib/util.js:195:12)
      2021-10-26T09:13:56.427Z     at Deploy.<anonymous> (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/lib/commands/server/deploy.js:243:35)
      2021-10-26T09:13:56.427Z     at Generator.throw (<anonymous>)
      2021-10-26T09:13:56.427Z     at rejected (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/node_modules/tslib/tslib.js:115:69)
      2021-10-26T09:13:56.427Z     at runMicrotasks (<anonymous>)
      2021-10-26T09:13:56.427Z Cause: Error: Timeout: there are no pods in the namespace: nightly-crw, selector: app=codeready,component=codeready. Check CodeReady Workspaces logs for details. Consider increasing error recheck timeout with --k8spoderrorrechecktimeout flag.
      2021-10-26T09:13:56.427Z     at KubeTasks.<anonymous> (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/lib/tasks/kube.js:179:23)
      2021-10-26T09:13:56.427Z     at Generator.next (<anonymous>)
      2021-10-26T09:13:56.427Z     at fulfilled (/mnt/hudson_workspace/workspace/CodereadyWorkspaces/e2e/basic/install-crw-using-crwctl/crwctl/node_modules/tslib/tslib.js:114:62)
      2021-10-26T09:13:56.427Z     at runMicrotasks (<anonymous>)
      

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

              Created:
              Updated:
              Resolved: