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

crwctl/2.3.0-CI-quay.N creates Eclipse Che specific objects during installation

XMLWordPrintable

      crwctl/2.3.0-CI-quay.d50f541 creates Eclipse Che specific objects when installing CRW 2.3.0.RC1:

      1. "che-operator" deployment (should be "codeready-operator") when install CRW on OCP 3.11 by using operator installer

      https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/install-crw-using-crwctl/1347/console

      crwctl command
      crwctl server:start --che-operator-cr-patch-yaml=custom-resource-patch.yaml --che-operator-image=quay.io/crw/crw-2-rhel8-operator:latest --listr-renderer=verbose --k8spodreadytimeout=300000 -n crw-crwctl-tls-oauth
      

      where custom-resource-patch.yaml:

      custom-resource-patch.yaml
        server:
          cheImage: 'quay.io/crw/server-rhel8'
          cheImageTag: 'latest'
          devfileRegistryImage: 'quay.io/crw/devfileregistry-rhel8:latest'
          pluginRegistryImage: 'quay.io/crw/pluginregistry-rhel8:latest'
          customCheProperties:
            CHE_WORKSPACE_PLUGIN__BROKER_METADATA_IMAGE: 'quay.io/crw/pluginbroker-metadata-rhel8:latest'
            CHE_WORKSPACE_PLUGIN__BROKER_ARTIFACTS_IMAGE: 'quay.io/crw/pluginbroker-artifacts-rhel8:latest'
            CHE_SERVER_SECURE__EXPOSER_JWTPROXY_IMAGE: 'quay.io/crw/jwtproxy-rhel8:latest'
            CHE_LIMITS_USER_WORKSPACES_RUN_COUNT: '-1'
            CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT: '900000'
            CHE_DOCKER_ALWAYS__PULL__IMAGE: 'true'
        auth:
          openShiftoAuth: true
          updateAdminPassword: false
      
      crwctl logs
      12:26:18  Current Kubernetes context: 'default/console-ocp311-crw:8443/admin'
      12:26:18  Installer type is set to: 'operator'
      12:26:18 [05:26:17] Verify Kubernetes API [started]
      12:26:18 [05:26:17] Verify Kubernetes API...OK [title changed]
      12:26:18 [05:26:17] Verify Kubernetes API...OK (it's OpenShift) [title changed]
      12:26:18 [05:26:17] Verify Kubernetes API...OK (it's OpenShift) [completed]
      12:26:18 [05:26:17]   Looking for an already existing CodeReady Workspaces instance [started]
      12:26:18 [05:26:17] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth" [started]
      12:26:18 [05:26:17] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [title changed]
      12:26:18 [05:26:17] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [completed]
      12:26:18 [05:26:17]   Looking for an already existing CodeReady Workspaces instance [completed]
      12:26:18 [05:26:17]   Openshift preflight checklist [started]
      12:26:18 [05:26:17] Verify if oc is installed [started]
      12:26:18 [05:26:17] Verify if oc is installed...done. [title changed]
      12:26:18 [05:26:17] Verify if oc is installed...done. [completed]
      12:26:18 [05:26:17] Verify if openshift is running [started]
      12:26:18 [05:26:17] Verify if openshift is running...done. [title changed]
      12:26:18 [05:26:17] Verify if openshift is running...done. [completed]
      12:26:18 [05:26:17] Check OpenShift version [started]
      12:26:18 [05:26:17] Check OpenShift version: v3.11.232. [title changed]
      12:26:18 [05:26:17] Check OpenShift version: v3.11.232. [completed]
      12:26:18 [05:26:17] Check Kubernetes version [started]
      12:26:19 [05:26:18] Check Kubernetes version: Found v1.11.0+d4cacc0. [title changed]
      12:26:19 [05:26:18] Check Kubernetes version: Found v1.11.0+d4cacc0. [completed]
      12:26:19 [05:26:18]   Openshift preflight checklist [completed]
      12:26:19 [05:26:18] Verify Openshift oauth. [started]
      12:26:19 [05:26:18] Verify Openshift oauth....done. [title changed]
      12:26:19 [05:26:18] Verify Openshift oauth....done. [completed]
      12:26:19 CodeReady Workspaces logs will be available in '/tmp/crwctl-logs/1595237177405'
      12:26:19 [05:26:18] Start following logs [started]
      12:26:19 [05:26:18] Start following Operator logs [started]
      12:26:19 [05:26:18] Start following Operator logs...done [title changed]
      12:26:19 [05:26:18] Start following Operator logs...done [completed]
      12:26:19 [05:26:18] Start following CodeReady Workspaces logs [started]
      12:26:19 [05:26:18] Start following CodeReady Workspaces logs...done [title changed]
      12:26:19 [05:26:18] Start following CodeReady Workspaces logs...done [completed]
      12:26:19 [05:26:18] Start following Postgres logs [started]
      12:26:19 [05:26:18] Start following Postgres logs...done [title changed]
      12:26:19 [05:26:18] Start following Postgres logs...done [completed]
      12:26:19 [05:26:18] Start following Keycloak logs [started]
      12:26:19 [05:26:18] Start following Keycloak logs...done [title changed]
      12:26:19 [05:26:18] Start following Keycloak logs...done [completed]
      12:26:19 [05:26:18] Start following Plugin registry logs [started]
      12:26:19 [05:26:18] Start following Plugin registry logs...done [title changed]
      12:26:19 [05:26:18] Start following Plugin registry logs...done [completed]
      12:26:19 [05:26:18] Start following Devfile registry logs [started]
      12:26:19 [05:26:18] Start following Devfile registry logs...done [title changed]
      12:26:19 [05:26:18] Start following Devfile registry logs...done [completed]
      12:26:19 [05:26:18] Start following logs [completed]
      12:26:19 [05:26:18] Start following events [started]
      12:26:19 [05:26:18] Start following namespace events [started]
      12:26:19 [05:26:18] Start following namespace events...done [title changed]
      12:26:19 [05:26:18] Start following namespace events...done [completed]
      12:26:19 [05:26:18] Start following events [completed]
      12:26:19 [05:26:18]   Running the CodeReady Workspaces operator [started]
      12:26:19 [05:26:18] Copying operator resources [started]
      12:26:19 [05:26:18] Copying operator resources...done. [title changed]
      12:26:19 [05:26:18] Copying operator resources...done. [completed]
      12:26:19 [05:26:18] Create Namespace (crw-crwctl-tls-oauth) [started]
      12:26:19 [05:26:18] Create Namespace (crw-crwctl-tls-oauth)...done. [title changed]
      12:26:19 [05:26:18] Create Namespace (crw-crwctl-tls-oauth)...done. [completed]
      12:26:19 [05:26:18] Create ServiceAccount codeready-operator in namespace crw-crwctl-tls-oauth [started]
      12:26:19 [05:26:18] Create ServiceAccount codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      12:26:19 [05:26:18] Create ServiceAccount codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      12:26:19 [05:26:18] Create Role codeready-operator in namespace crw-crwctl-tls-oauth [started]
      12:26:19 [05:26:18] Create Role codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      12:26:19 [05:26:18] Create Role codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      12:26:19 [05:26:18] Create ClusterRole codeready-operator [started]
      12:26:19 [05:26:18] Create ClusterRole codeready-operator...done. [title changed]
      12:26:19 [05:26:18] Create ClusterRole codeready-operator...done. [completed]
      12:26:19 [05:26:18] Create RoleBinding codeready-operator in namespace crw-crwctl-tls-oauth [started]
      12:26:19 [05:26:18] Create RoleBinding codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      12:26:19 [05:26:18] Create RoleBinding codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      12:26:19 [05:26:18] Create ClusterRoleBinding codeready-operator [started]
      12:26:19 [05:26:18] Create ClusterRoleBinding codeready-operator...done. [title changed]
      12:26:19 [05:26:18] Create ClusterRoleBinding codeready-operator...done. [completed]
      12:26:19 [05:26:18] Create CRD checlusters.org.eclipse.che [started]
      12:26:19 [05:26:18] Create CRD checlusters.org.eclipse.che...It already exists. [title changed]
      12:26:19 [05:26:18] Create CRD checlusters.org.eclipse.che...It already exists. [completed]
      12:26:19 [05:26:18] Waiting 5 seconds for the new Kubernetes resources to get flushed [started]
      12:26:24 [05:26:23] Waiting 5 seconds for the new Kubernetes resources to get flushed...done. [title changed]
      12:26:24 [05:26:23] Waiting 5 seconds for the new Kubernetes resources to get flushed...done. [completed]
      12:26:24 [05:26:23] Create deployment codeready-operator in namespace crw-crwctl-tls-oauth [started]
      12:26:24 [05:26:23] Create deployment codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      12:26:24 [05:26:23] Create deployment codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      12:26:24 [05:26:23] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl-tls-oauth [started]
      12:26:24 [05:26:23] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl-tls-oauth [failed]
      12:26:24 [05:26:23]  [object Object]
      12:26:24 [05:26:23]   Running the CodeReady Workspaces operator [failed]
      12:26:24 [05:26:23]  [object Object]
      12:26:24  ›   Error: Error: [object Object]
      12:26:24  ›   Installation failed, check logs in '/tmp/crwctl-logs/1595237177405'
      

      2. "eclipse-che" checluster (should be "codeready-workspaces") when install CRW on OCP 4.4 by using OLM installer

      https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/install-crw-using-crwctl/1348/console

      crwctl command
      crwctl server:start --che-operator-cr-patch-yaml=custom-resource-patch.yaml --catalog-source-name=codeready-workspaces-latest --catalog-source-namespace=openshift-marketplace --package-manifest-name=codeready-workspaces --olm-channel=latest --listr-renderer=verbose --k8spodreadytimeout=300000 -n crw-crwctl-tls-oauth
      

      where

      custom-resource-patch.yaml
        server:
          cheImage: 'quay.io/crw/server-rhel8'
          cheImageTag: 'latest'
          devfileRegistryImage: 'quay.io/crw/devfileregistry-rhel8:latest'
          pluginRegistryImage: 'quay.io/crw/pluginregistry-rhel8:latest'
          customCheProperties:
            CHE_WORKSPACE_PLUGIN__BROKER_METADATA_IMAGE: 'quay.io/crw/pluginbroker-metadata-rhel8:latest'
            CHE_WORKSPACE_PLUGIN__BROKER_ARTIFACTS_IMAGE: 'quay.io/crw/pluginbroker-artifacts-rhel8:latest'
            CHE_SERVER_SECURE__EXPOSER_JWTPROXY_IMAGE: 'quay.io/crw/jwtproxy-rhel8:latest'
            CHE_LIMITS_USER_WORKSPACES_RUN_COUNT: '-1'
            CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT: '900000'
            CHE_DOCKER_ALWAYS__PULL__IMAGE: 'true'
        auth:
          openShiftoAuth: true
          updateAdminPassword: false
      
      crwctl logs
      12:40:48 › Current Kubernetes context: 'default/api-ocp44-crw-qe-com:6443/admin'
      12:40:48 [05:40:47] Verify Kubernetes API [started]
      12:40:48 [05:40:47] Verify Kubernetes API...OK [title changed]
      12:40:48 [05:40:47] Verify Kubernetes API...OK (it's OpenShift) [title changed]
      12:40:48 [05:40:47] Verify Kubernetes API...OK (it's OpenShift) [completed]
      12:40:48 [05:40:47]   Looking for an already existing CodeReady Workspaces instance [started]
      12:40:48 [05:40:47] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth" [started]
      12:40:48 [05:40:47] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [title changed]
      12:40:48 [05:40:47] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [completed]
      12:40:48 [05:40:47]   Looking for an already existing CodeReady Workspaces instance [completed]
      12:40:48 [05:40:47]   Openshift preflight checklist [started]
      12:40:48 [05:40:47] Verify if oc is installed [started]
      12:40:48 [05:40:47] Verify if oc is installed...done. [title changed]
      12:40:48 [05:40:47] Verify if oc is installed...done. [completed]
      12:40:48 [05:40:47] Verify if openshift is running [started]
      12:40:48 [05:40:48] Verify if openshift is running...done. [title changed]
      12:40:48 [05:40:48] Verify if openshift is running...done. [completed]
      12:40:48 [05:40:48] Check OpenShift version [started]
      12:40:48 [05:40:48] Check OpenShift version: 4.x [title changed]
      12:40:48 [05:40:48] Check OpenShift version: 4.x [completed]
      12:40:48 [05:40:48] Check Kubernetes version [started]
      12:40:49 [05:40:48] Check Kubernetes version: Unknown. [title changed]
      12:40:49 [05:40:48] Check Kubernetes version: Unknown. [completed]
      12:40:49 [05:40:48]   Openshift preflight checklist [completed]
      12:40:49 [05:40:48] Verify Openshift oauth. [started]
      12:40:49 [05:40:48] Verify Openshift oauth....done. [title changed]
      12:40:49 [05:40:48] Verify Openshift oauth....done. [completed]
      12:40:49 CodeReady Workspaces logs will be available in '/tmp/crwctl-logs/1595238047893'
      12:40:49 [05:40:48] Start following logs [started]
      12:40:49 [05:40:48] Start following Operator logs [started]
      12:40:49 [05:40:48] Start following Operator logs...done [title changed]
      12:40:49 [05:40:48] Start following Operator logs...done [completed]
      12:40:49 [05:40:48] Start following CodeReady Workspaces logs [started]
      12:40:49 [05:40:48] Start following CodeReady Workspaces logs...done [title changed]
      12:40:49 [05:40:48] Start following CodeReady Workspaces logs...done [completed]
      12:40:49 [05:40:48] Start following Postgres logs [started]
      12:40:49 [05:40:48] Start following Postgres logs...done [title changed]
      12:40:49 [05:40:48] Start following Postgres logs...done [completed]
      12:40:49 [05:40:48] Start following Keycloak logs [started]
      12:40:49 [05:40:48] Start following Keycloak logs...done [title changed]
      12:40:49 [05:40:48] Start following Keycloak logs...done [completed]
      12:40:49 [05:40:48] Start following Plugin registry logs [started]
      12:40:49 [05:40:48] Start following Plugin registry logs...done [title changed]
      12:40:49 [05:40:48] Start following Plugin registry logs...done [completed]
      12:40:49 [05:40:48] Start following Devfile registry logs [started]
      12:40:49 [05:40:48] Start following Devfile registry logs...done [title changed]
      12:40:49 [05:40:48] Start following Devfile registry logs...done [completed]
      12:40:49 [05:40:48] Start following logs [completed]
      12:40:49 [05:40:48] Start following events [started]
      12:40:49 [05:40:48] Start following namespace events [started]
      12:40:49 [05:40:48] Start following namespace events...done [title changed]
      12:40:49 [05:40:48] Start following namespace events...done [completed]
      12:40:49 [05:40:48] Start following events [completed]
      12:40:49 [05:40:48]   Running Olm installaion CodeReady Workspaces [started]
      12:40:49 [05:40:48] Check if OLM is pre-installed on the platform [started]
      12:40:49 [05:40:48] Check if OLM is pre-installed on the platform...done. [title changed]
      12:40:49 [05:40:48] Check if OLM is pre-installed on the platform...done. [completed]
      12:40:49 [05:40:48] Copying operator resources [started]
      12:40:49 [05:40:48] Copying operator resources...done. [title changed]
      12:40:49 [05:40:48] Copying operator resources...done. [completed]
      12:40:49 [05:40:48] Create Namespace (crw-crwctl-tls-oauth) [started]
      12:40:49 [05:40:48] Create Namespace (crw-crwctl-tls-oauth)...done. [title changed]
      12:40:49 [05:40:48] Create Namespace (crw-crwctl-tls-oauth)...done. [completed]
      12:40:49 [05:40:48] Create operator group [started]
      12:40:49 [05:40:48] Create operator group...created new one. [title changed]
      12:40:49 [05:40:48] Create operator group...created new one. [completed]
      12:40:49 [05:40:48] Configure context information [started]
      12:40:49 [05:40:48] Configure context information...done. [title changed]
      12:40:49 [05:40:48] Configure context information...done. [completed]
      12:40:49 [05:40:48] Create operator subscription [started]
      12:40:49 [05:40:48] Create operator subscription...created new one. [title changed]
      12:40:49 [05:40:48] Create operator subscription...created new one. [completed]
      12:40:49 [05:40:48] Wait while subscription is ready [started]
      12:40:51 [05:40:50] Wait while subscription is ready...done. [title changed]
      12:40:51 [05:40:50] Wait while subscription is ready...done. [completed]
      12:40:51 [05:40:50] Approve installation [started]
      12:40:51 [05:40:50] Approve installation...done. [title changed]
      12:40:51 [05:40:50] Approve installation...done. [completed]
      12:40:51 [05:40:50] Wait while operator installed [started]
      12:40:56 [05:40:55] Wait while operator installed...done. [title changed]
      12:40:56 [05:40:55] Wait while operator installed...done. [completed]
      12:40:56 [05:40:55] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl-tls-oauth [started]
      12:40:56 [05:40:55] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl-tls-oauth...done. [title changed]
      12:40:56 [05:40:55] Create the Custom Resource of type checlusters.org.eclipse.che in the namespace crw-crwctl-tls-oauth...done. [completed]
      12:40:56 [05:40:55]   Running Olm installaion CodeReady Workspaces [completed]
      12:40:56 [05:40:55]   Post installation checklist [started]
      12:40:56 [05:40:55] PostgreSQL pod bootstrap [started]
      12:40:56 [05:40:55] scheduling [started]
      12:41:04 [05:41:04] scheduling...done. [title changed]
      12:41:04 [05:41:04] scheduling...done. [completed]
      12:41:04 [05:41:04] downloading images [started]
      12:41:19 [05:41:17] downloading images...done. [title changed]
      12:41:19 [05:41:17] downloading images...done. [completed]
      12:41:19 [05:41:17] starting [started]
      12:41:37 [05:41:35] starting...done. [title changed]
      12:41:37 [05:41:35] starting...done. [completed]
      12:41:37 [05:41:35] PostgreSQL pod bootstrap [completed]
      12:41:37 [05:41:35] Keycloak pod bootstrap [started]
      12:41:37 [05:41:35] scheduling [started]
      12:41:39 [05:41:38] scheduling...done. [title changed]
      12:41:39 [05:41:38] scheduling...done. [completed]
      12:41:39 [05:41:38] downloading images [started]
      12:42:18 [05:42:14] downloading images...done. [title changed]
      12:42:18 [05:42:14] downloading images...done. [completed]
      12:42:18 [05:42:14] starting [started]
      12:43:04 [05:43:03] starting...done. [title changed]
      12:43:04 [05:43:03] starting...done. [completed]
      12:43:04 [05:43:03] Keycloak pod bootstrap [completed]
      12:43:04 [05:43:03] Devfile registry pod bootstrap [started]
      12:43:04 [05:43:03] scheduling [started]
      12:44:26 [05:44:19] scheduling...done. [title changed]
      12:44:26 [05:44:19] scheduling...done. [completed]
      12:44:26 [05:44:19] downloading images [started]
      12:44:27 [05:44:26] downloading images...done. [title changed]
      12:44:27 [05:44:26] downloading images...done. [completed]
      12:44:27 [05:44:26] starting [started]
      12:44:29 [05:44:28] starting...done. [title changed]
      12:44:29 [05:44:28] starting...done. [completed]
      12:44:29 [05:44:28] Devfile registry pod bootstrap [completed]
      12:44:29 [05:44:28] Plugin registry pod bootstrap [started]
      12:44:29 [05:44:28] scheduling [started]
      12:44:31 [05:44:30] scheduling...done. [title changed]
      12:44:31 [05:44:30] scheduling...done. [completed]
      12:44:31 [05:44:30] downloading images [started]
      12:45:17 [05:45:09] downloading images...done. [title changed]
      12:45:17 [05:45:09] downloading images...done. [completed]
      12:45:17 [05:45:09] starting [started]
      12:45:19 [05:45:18] starting...done. [title changed]
      12:45:19 [05:45:18] starting...done. [completed]
      12:45:19 [05:45:18] Plugin registry pod bootstrap [completed]
      12:45:19 [05:45:18] CodeReady Workspaces pod bootstrap [started]
      12:45:19 [05:45:18] scheduling [started]
      12:45:19 [05:45:19] scheduling...done. [title changed]
      12:45:19 [05:45:19] scheduling...done. [completed]
      12:45:19 [05:45:19] downloading images [started]
      12:45:37 [05:45:36] downloading images...done. [title changed]
      12:45:37 [05:45:36] downloading images...done. [completed]
      12:45:37 [05:45:36] starting [started]
      12:46:16 [05:46:09] starting...done. [title changed]
      12:46:16 [05:46:09] starting...done. [completed]
      12:46:16 [05:46:09] CodeReady Workspaces pod bootstrap [completed]
      12:46:16 [05:46:09] Retrieving CodeReady Workspaces server URL [started]
      12:46:16 [05:46:10] Retrieving CodeReady Workspaces server URL... https://codeready-crw-crwctl-tls-oauth.apps.ocp44.crw-qe.com [title changed]
      12:46:16 [05:46:10] Retrieving CodeReady Workspaces server URL... https://codeready-crw-crwctl-tls-oauth.apps.ocp44.crw-qe.com [completed]
      12:46:16 [05:46:10] CodeReady Workspaces status check [started]
      12:46:16 [05:46:10] CodeReady Workspaces status check [completed]
      12:46:16 [05:46:10]   Post installation checklist [completed]
      12:46:16 [05:46:10] Retrieving Keycloak admin credentials [started]
      12:46:16 [05:46:10] Retrieving Keycloak admin credentials... admin:rNeINxPrK5eX [title changed]
      12:46:16 [05:46:10] Retrieving Keycloak admin credentials... admin:rNeINxPrK5eX [completed]
      12:46:16 [05:46:10] Retrieving Che self-signed CA certificate [started]
      12:46:16 [05:46:10] Retrieving Che self-signed CA certificate... is exported to /home/hudson/cheCA.crt [title changed]
      12:46:16 [05:46:10] Retrieving Che self-signed CA certificate... is exported to /home/hudson/cheCA.crt [completed]
      12:46:16 [05:46:10] Show important messages [started]
      12:46:16 [05:46:10] Autogenerated Keycloak credentials are: "admin:rNeINxPrK5eX". [started]
      12:46:16 [05:46:10] Autogenerated Keycloak credentials are: "admin:rNeINxPrK5eX". [completed]
      12:46:16 [05:46:10] ❗�[33m[MANUAL ACTION REQUIRED]�[39m Please add Che self-signed CA certificate into your browser: /home/hudson/cheCA.crt.
      12:46:16 Documentation how to add a CA certificate into a browser: https://www.eclipse.org/che/docs/che-7/installing-che-in-tls-mode-with-self-signed-certificates/#using-che-with-tls_installing-che-in-tls-mode-with-self-signed-certificates [started]
      12:46:16 [05:46:10] ❗�[33m[MANUAL ACTION REQUIRED]�[39m Please add Che self-signed CA certificate into your browser: /home/hudson/cheCA.crt.
      12:46:16 Documentation how to add a CA certificate into a browser: https://www.eclipse.org/che/docs/che-7/installing-che-in-tls-mode-with-self-signed-certificates/#using-che-with-tls_installing-che-in-tls-mode-with-self-signed-certificates [completed]
      12:46:16 [05:46:10] Show important messages [completed]
      12:46:16 Command server:start has completed successfully.
      

      3. "che-operator" clusterrole (should be "codeready-operator") when install CRW on OCP 3.11 by using operator installer

      https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/install-crw-using-crwctl/1347/console

      crwctl command
      rwctl server:start --che-operator-cr-patch-yaml=custom-resource-patch.yaml --che-operator-image=quay.io/crw/crw-2-rhel8-operator:latest --listr-renderer=verbose --k8spodreadytimeout=300000 -n crw-crwctl-tls-oauth
      

      where custom-resource-patch.yaml:

      custom-resource-patch.yaml
        server:
          cheImage: 'quay.io/crw/server-rhel8'
          cheImageTag: 'latest'
          devfileRegistryImage: 'quay.io/crw/devfileregistry-rhel8:latest'
          pluginRegistryImage: 'quay.io/crw/pluginregistry-rhel8:latest'
          customCheProperties:
            CHE_WORKSPACE_PLUGIN__BROKER_METADATA_IMAGE: 'quay.io/crw/pluginbroker-metadata-rhel8:latest'
            CHE_WORKSPACE_PLUGIN__BROKER_ARTIFACTS_IMAGE: 'quay.io/crw/pluginbroker-artifacts-rhel8:latest'
            CHE_SERVER_SECURE__EXPOSER_JWTPROXY_IMAGE: 'quay.io/crw/jwtproxy-rhel8:latest'
            CHE_LIMITS_USER_WORKSPACES_RUN_COUNT: '-1'
            CHE_LIMITS_WORKSPACE_IDLE_TIMEOUT: '900000'
            CHE_DOCKER_ALWAYS__PULL__IMAGE: 'true'
        auth:
          openShiftoAuth: true
          updateAdminPassword: false
      
      crwctl logs
      17:33:50 › Current Kubernetes context: 'default/console-ocp311-crw:8443/admin'
      17:33:50 › Installer type is set to: 'operator'
      17:33:50 [10:33:49] Verify Kubernetes API [started]
      17:33:50 [10:33:49] Verify Kubernetes API...OK [title changed]
      17:33:50 [10:33:49] Verify Kubernetes API...OK (it's OpenShift) [title changed]
      17:33:50 [10:33:49] Verify Kubernetes API...OK (it's OpenShift) [completed]
      17:33:50 [10:33:49]   Looking for an already existing CodeReady Workspaces instance [started]
      17:33:50 [10:33:49] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth" [started]
      17:33:50 [10:33:49] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [title changed]
      17:33:50 [10:33:49] Verify if CodeReady Workspaces is deployed into namespace "crw-crwctl-tls-oauth"...it is not [completed]
      17:33:50 [10:33:49]   Looking for an already existing CodeReady Workspaces instance [completed]
      17:33:50 [10:33:49]   Openshift preflight checklist [started]
      17:33:50 [10:33:49] Verify if oc is installed [started]
      17:33:50 [10:33:49] Verify if oc is installed...done. [title changed]
      17:33:50 [10:33:49] Verify if oc is installed...done. [completed]
      17:33:50 [10:33:49] Verify if openshift is running [started]
      17:33:50 [10:33:49] Verify if openshift is running...done. [title changed]
      17:33:50 [10:33:49] Verify if openshift is running...done. [completed]
      17:33:50 [10:33:49] Check OpenShift version [started]
      17:33:50 [10:33:50] Check OpenShift version: v3.11.232. [title changed]
      17:33:50 [10:33:50] Check OpenShift version: v3.11.232. [completed]
      17:33:50 [10:33:50] Check Kubernetes version [started]
      17:33:51 [10:33:50] Check Kubernetes version: Found v1.11.0+d4cacc0. [title changed]
      17:33:51 [10:33:50] Check Kubernetes version: Found v1.11.0+d4cacc0. [completed]
      17:33:51 [10:33:50]   Openshift preflight checklist [completed]
      17:33:51 [10:33:50] Verify Openshift oauth. [started]
      17:33:51 [10:33:50] Verify Openshift oauth....done. [title changed]
      17:33:51 [10:33:50] Verify Openshift oauth....done. [completed]
      17:33:51 CodeReady Workspaces logs will be available in '/tmp/crwctl-logs/1595255629426'
      17:33:51 [10:33:50] Start following logs [started]
      17:33:51 [10:33:50] Start following Operator logs [started]
      17:33:51 [10:33:50] Start following Operator logs...done [title changed]
      17:33:51 [10:33:50] Start following Operator logs...done [completed]
      17:33:51 [10:33:50] Start following CodeReady Workspaces logs [started]
      17:33:51 [10:33:50] Start following CodeReady Workspaces logs...done [title changed]
      17:33:51 [10:33:50] Start following CodeReady Workspaces logs...done [completed]
      17:33:51 [10:33:50] Start following Postgres logs [started]
      17:33:51 [10:33:50] Start following Postgres logs...done [title changed]
      17:33:51 [10:33:50] Start following Postgres logs...done [completed]
      17:33:51 [10:33:50] Start following Keycloak logs [started]
      17:33:51 [10:33:50] Start following Keycloak logs...done [title changed]
      17:33:51 [10:33:50] Start following Keycloak logs...done [completed]
      17:33:51 [10:33:50] Start following Plugin registry logs [started]
      17:33:51 [10:33:50] Start following Plugin registry logs...done [title changed]
      17:33:51 [10:33:50] Start following Plugin registry logs...done [completed]
      17:33:51 [10:33:50] Start following Devfile registry logs [started]
      17:33:51 [10:33:50] Start following Devfile registry logs...done [title changed]
      17:33:51 [10:33:50] Start following Devfile registry logs...done [completed]
      17:33:51 [10:33:50] Start following logs [completed]
      17:33:51 [10:33:50] Start following events [started]
      17:33:51 [10:33:50] Start following namespace events [started]
      17:33:51 [10:33:50] Start following namespace events...done [title changed]
      17:33:51 [10:33:50] Start following namespace events...done [completed]
      17:33:51 [10:33:50] Start following events [completed]
      17:33:51 [10:33:50]   Running the CodeReady Workspaces operator [started]
      17:33:51 [10:33:50] Copying operator resources [started]
      17:33:51 [10:33:50] Copying operator resources...done. [title changed]
      17:33:51 [10:33:50] Copying operator resources...done. [completed]
      17:33:51 [10:33:50] Create Namespace (crw-crwctl-tls-oauth) [started]
      17:33:51 [10:33:50] Create Namespace (crw-crwctl-tls-oauth)...done. [title changed]
      17:33:51 [10:33:50] Create Namespace (crw-crwctl-tls-oauth)...done. [completed]
      17:33:51 [10:33:50] Create ServiceAccount codeready-operator in namespace crw-crwctl-tls-oauth [started]
      17:33:51 [10:33:50] Create ServiceAccount codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      17:33:51 [10:33:50] Create ServiceAccount codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      17:33:51 [10:33:50] Create Role codeready-operator in namespace crw-crwctl-tls-oauth [started]
      17:33:51 [10:33:50] Create Role codeready-operator in namespace crw-crwctl-tls-oauth...done. [title changed]
      17:33:51 [10:33:50] Create Role codeready-operator in namespace crw-crwctl-tls-oauth...done. [completed]
      17:33:51 [10:33:50] Create ClusterRole codeready-operator [started]
      17:33:51 [10:33:50] Create ClusterRole codeready-operator [failed]
      17:33:51 [10:33:50] → clusterroles.rbac.authorization.k8s.io "che-operator" already exists
      17:33:51 [10:33:50]   Running the CodeReady Workspaces operator [failed]
      17:33:51 [10:33:50] → clusterroles.rbac.authorization.k8s.io "che-operator" already exists
      17:33:51  ›   Error: Error: clusterroles.rbac.authorization.k8s.io "che-operator" 
      17:33:51  ›   already exists
      17:33:51  ›   Installation failed, check logs in '/tmp/crwctl-logs/1595255629426'
      

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

              Created:
              Updated:
              Resolved: