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

"/bin/sh: /opt/eap/che.crt: No such file or directory" keycloak deployment error when install CRW 2.3.0 on OCP 3.11

    XMLWordPrintable

Details

    Description

      Installation of CRW 2.3.0.ER-0723 on OCP 3.11 by using crwctl/2.3.0-CI-quay.b2039a9 failed because of keycloak deployment error:
      https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/install-crw-using-crwctl/1369/console

      keycloak deployment log
      /bin/sh: /opt/eap/che.crt: No such file or directory
      
      crwctl log
      16:08:03 + /mnt/hudson_workspace/workspace/install-crw-using-crwctl/crwctl/bin/crwctl server:start --che-operator-image=quay.io/crw/crw-2-rhel8-operator:latest --listr-renderer=verbose --k8spodreadytimeout=300000 -n crw-crwctl-tls-oauth
      16:08:04 › Current Kubernetes context: 'default/console-ocp311-crw:8443/admin'
      16:08:04 › Installer type is set to: 'operator'
      16:08:04 [09:08:02] Verify Kubernetes API [started]
      16:08:04 [09:08:02] Verify Kubernetes API...OK [title changed]
      16:08:04 [09:08:02] Verify Kubernetes API...OK (it's OpenShift) [title changed]
      16:08:04 [09:08:02] Verify Kubernetes API...OK (it's OpenShift) [completed]
      16:08:04 [09:08:02]   Looking for an already existing CodeReady Workspaces instance [started]
      16:08:04 [09:08:02] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth" [started]
      16:08:04 [09:08:02] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [title changed]
      16:08:04 [09:08:02] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [completed]
      16:08:04 [09:08:02]   Looking for an already existing CodeReady Workspaces instance [completed]
      16:08:04 [09:08:02]   Openshift preflight checklist [started]
      16:08:04 [09:08:02] Verify if oc is installed [started]
      16:08:04 [09:08:02] Verify if oc is installed...done. [title changed]
      16:08:04 [09:08:02] Verify if oc is installed...done. [completed]
      16:08:04 [09:08:02] Verify if openshift is running [started]
      16:08:04 [09:08:03] Verify if openshift is running...done. [title changed]
      16:08:04 [09:08:03] Verify if openshift is running...done. [completed]
      16:08:04 [09:08:03] Check OpenShift version [started]
      16:08:04 [09:08:03] Check OpenShift version: v3.11.232. [title changed]
      16:08:04 [09:08:03] Check OpenShift version: v3.11.232. [completed]
      16:08:04 [09:08:03] Check Kubernetes version [started]
      16:08:04 [09:08:03] Check Kubernetes version: Found v1.11.0+d4cacc0. [title changed]
      16:08:04 [09:08:03] Check Kubernetes version: Found v1.11.0+d4cacc0. [completed]
      16:08:04 [09:08:03]   Openshift preflight checklist [completed]
      16:08:04 CodeReady Workspaces logs will be available in '/tmp/crwctl-logs/1595509682789'
      16:08:04 [09:08:03] Start following logs [started]
      16:08:04 [09:08:03] Start following Operator logs [started]
      16:08:04 [09:08:03] Start following Operator logs...done [title changed]
      16:08:04 [09:08:03] Start following Operator logs...done [completed]
      16:08:04 [09:08:03] Start following CodeReady Workspaces logs [started]
      16:08:04 [09:08:03] Start following CodeReady Workspaces logs...done [title changed]
      16:08:04 [09:08:03] Start following CodeReady Workspaces logs...done [completed]
      16:08:04 [09:08:03] Start following Postgres logs [started]
      16:08:04 [09:08:03] Start following Postgres logs...done [title changed]
      16:08:04 [09:08:03] Start following Postgres logs...done [completed]
      16:08:04 [09:08:03] Start following Keycloak logs [started]
      16:08:04 [09:08:03] Start following Keycloak logs...done [title changed]
      16:08:04 [09:08:03] Start following Keycloak logs...done [completed]
      16:08:04 [09:08:03] Start following Plugin registry logs [started]
      16:08:04 [09:08:03] Start following Plugin registry logs...done [title changed]
      16:08:04 [09:08:03] Start following Plugin registry logs...done [completed]
      16:08:04 [09:08:03] Start following Devfile registry logs [started]
      16:08:04 [09:08:03] Start following Devfile registry logs...done [title changed]
      16:08:04 [09:08:03] Start following Devfile registry logs...done [completed]
      16:08:04 [09:08:03] Start following logs [completed]
      16:08:04 [09:08:03] Start following events [started]
      16:08:04 [09:08:03] Start following namespace events [started]
      16:08:04 [09:08:03] Start following namespace events...done [title changed]
      16:08:04 [09:08:03] Start following namespace events...done [completed]
      16:08:04 [09:08:03] Start following events [completed]
      16:08:04 [09:08:03]   Running the CodeReady Workspaces operator [started]
      16:08:04 [09:08:03] Copying operator resources [started]
      16:08:04 [09:08:03] Copying operator resources...done. [title changed]
      16:08:04 [09:08:03] Copying operator resources...done. [completed]
      16:08:04 [09:08:03] Create Namespace (crw-crwctl-tls-oauth) [started]
      16:08:05 [09:08:03] Create Namespace (crw-crwctl-tls-oauth)...done. [title changed]
      16:08:05 [09:08:03] Create Namespace (crw-crwctl-tls-oauth)...done. [completed]
      16:08:05 [09:08:03] Create ServiceAccount codeready-operator in namespace crw-crwctl-tls-oauth [started]
      16:08:05 [09:08:03] Create ServiceAccount codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      16:08:05 [09:08:03] Create ServiceAccount codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      16:08:05 [09:08:03] Create Role codeready-operator in namespace crw-crwctl-tls-oauth [started]
      16:08:05 [09:08:03] Create Role codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      16:08:05 [09:08:03] Create Role codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      16:08:05 [09:08:03] Create ClusterRole codeready-operator [started]
      16:08:05 [09:08:03] Create ClusterRole codeready-operator...done. [title changed]
      16:08:05 [09:08:03] Create ClusterRole codeready-operator...done. [completed]
      16:08:05 [09:08:03] Create RoleBinding codeready-operator in namespace crw-crwctl-tls-oauth [started]
      16:08:05 [09:08:03] Create RoleBinding codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      16:08:05 [09:08:03] Create RoleBinding codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      16:08:05 [09:08:03] Create ClusterRoleBinding codeready-operator [started]
      16:08:05 [09:08:04] Create ClusterRoleBinding codeready-operator...done. [title changed]
      16:08:05 [09:08:04] Create ClusterRoleBinding codeready-operator...done. [completed]
      16:08:05 [09:08:04] Create CRD checlusters.org.eclipse.che [started]
      16:08:05 [09:08:04] Create CRD checlusters.org.eclipse.che...done. [title changed]
      16:08:05 [09:08:04] Create CRD checlusters.org.eclipse.che...done. [completed]
      16:08:05 [09:08:04] Waiting 5 seconds for the new Kubernetes resources to get flushed [started]
      16:08:10 [09:08:09] Waiting 5 seconds for the new Kubernetes resources to get flushed...done. [title changed]
      16:08:10 [09:08:09] Waiting 5 seconds for the new Kubernetes resources to get flushed...done. [completed]
      16:08:10 [09:08:09] Create deployment codeready-operator in namespace crw-crwctl-tls-oauth [started]
      16:08:10 [09:08:09] Create deployment codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      16:08:10 [09:08:09] Create deployment codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      16:08:10 [09:08:09] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl-tls-oauth [started]
      16:08:10 [09:08:09] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl-tls-oauth...done. [title changed]
      16:08:10 [09:08:09] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl-tls-oauth...done. [completed]
      16:08:10 [09:08:09]   Running the CodeReady Workspaces operator [completed]
      16:08:10 [09:08:09]   Post installation checklist [started]
      16:08:10 [09:08:09] PostgreSQL pod bootstrap [started]
      16:08:10 [09:08:09] scheduling [started]
      16:08:22 [09:08:20] scheduling...done. [title changed]
      16:08:22 [09:08:20] scheduling...done. [completed]
      16:08:22 [09:08:20] downloading images [started]
      16:08:24 [09:08:23] downloading images...done. [title changed]
      16:08:24 [09:08:23] downloading images...done. [completed]
      16:08:24 [09:08:23] starting [started]
      16:08:46 [09:08:43] starting...done. [title changed]
      16:08:46 [09:08:43] starting...done. [completed]
      16:08:46 [09:08:43] PostgreSQL pod bootstrap [completed]
      16:08:46 [09:08:43] Keycloak pod bootstrap [started]
      16:08:46 [09:08:43] scheduling [started]
      16:08:46 [09:08:44] scheduling...done. [title changed]
      16:08:46 [09:08:44] scheduling...done. [completed]
      16:08:46 [09:08:44] downloading images [started]
      16:08:49 [09:08:48] downloading images...done. [title changed]
      16:08:49 [09:08:48] downloading images...done. [completed]
      16:08:49 [09:08:48] starting [started]
      16:13:56 [09:13:54] starting [failed]
      16:13:56 [09:13:54]  ERR_TIMEOUT: Timeout set to pod ready timeout 300000
      16:13:56 [09:13:54] Keycloak pod bootstrap [failed]
      16:13:56 [09:13:54]  ERR_TIMEOUT: Timeout set to pod ready timeout 300000
      16:13:56 [09:13:54]   Post installation checklist [failed]
      16:13:56 [09:13:54]  ERR_TIMEOUT: Timeout set to pod ready timeout 300000
      16:13:56     Error: Error: ERR_TIMEOUT: Timeout set to pod ready timeout 300000
      16:13:56     Installation failed, check logs in '/tmp/crwctl-logs/1595509682789'
      

      Attachments

        1. image-2020-07-23-17-01-31-643.png
          image-2020-07-23-17-01-31-643.png
          104 kB
        2. image-2020-07-23-17-06-07-563.png
          image-2020-07-23-17-06-07-563.png
          135 kB
        3. screenshot-1.png
          screenshot-1.png
          107 kB
        4. screenshot-2.png
          screenshot-2.png
          62 kB
        5. screenshot-3.png
          screenshot-3.png
          102 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: