-
Bug
-
Resolution: Not a Bug
-
Major
-
2.0.0.GA
Installation of CRW 2.0.0.RC1 by crwctl with default options failed:
"crwctl logs"
+ /mnt/hudson_workspace/workspace/basic-pipeline-to-install-crw-on-ocp-using-crwctl/crwctl/bin/crwctl server:start --domain=console-openshift-console.apps.crw.codereadyqe.com --che-operator-image=quay.io/crw/operator-rhel8:2.0-51 --listr-renderer=verbose -n install-crw-using-cwrctl-with-default-config-on-ocp4 [18:00:57] Verify OpenShift API [started] [18:00:59] Verify OpenShift API...OK [title changed] [18:00:59] Verify OpenShift API...OK (it's OpenShift) [title changed] [18:00:59] Verify OpenShift API...OK (it's OpenShift) [completed] [18:00:59] Looking for an already existing CodeReady Workspaces instance [started] [18:00:59] Verify if CodeReady Workspaces is deployed into namespace "install-crw-using-cwrctl-with-default-config-on-ocp4" [started] [18:00:59] Verify if CodeReady Workspaces is deployed into namespace "install-crw-using-cwrctl-with-default-config-on-ocp4"...it is not [title changed] [18:00:59] Verify if CodeReady Workspaces is deployed into namespace "install-crw-using-cwrctl-with-default-config-on-ocp4"...it is not [completed] [18:00:59] Looking for an already existing CodeReady Workspaces instance [completed] [18:00:59] Openshift preflight checklist [started] [18:00:59] Verify if oc is installed [started] [18:00:59] Verify if oc is installed...done. [title changed] [18:00:59] Verify if oc is installed...done. [completed] [18:00:59] Verify if openshift is running [started] [18:01:01] Verify if openshift is running...done. [title changed] [18:01:01] Verify if openshift is running...done. [completed] [18:01:01] Openshift preflight checklist [completed] [18:01:01] Running the CodeReady Workspaces Operator [started] › Warning: CodeReady Workspaces will be deployed in Multi-User mode since › Configured 'operator' installer which support only such. [18:01:01] Copying operator resources [started] [18:01:01] Copying operator resources...done. [title changed] [18:01:01] Copying operator resources...done. [completed] [18:01:01] Create Namespace (install-crw-using-cwrctl-with-default-config-on-ocp4) [started] [18:01:01] Create Namespace (install-crw-using-cwrctl-with-default-config-on-ocp4)...It already exists. [title changed] [18:01:01] Create Namespace (install-crw-using-cwrctl-with-default-config-on-ocp4)...It already exists. [completed] [18:01:01] Create ServiceAccount codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4 [started] [18:01:02] Create ServiceAccount codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4...done. [title changed] [18:01:02] Create ServiceAccount codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4...done. [completed] [18:01:02] Create Role codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4 [started] [18:01:02] Create Role codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4...done. [title changed] [18:01:02] Create Role codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4...done. [completed] [18:01:02] Create ClusterRole codeready-operator [started] [18:01:03] Create ClusterRole codeready-operator...done. [title changed] [18:01:03] Create ClusterRole codeready-operator...done. [completed] [18:01:03] Create RoleBinding codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4 [started] [18:01:04] Create RoleBinding codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4...done. [title changed] [18:01:04] Create RoleBinding codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4...done. [completed] [18:01:04] Create ClusterRoleBinding codeready-operator [started] [18:01:05] Create ClusterRoleBinding codeready-operator...done. [title changed] [18:01:05] Create ClusterRoleBinding codeready-operator...done. [completed] [18:01:05] Create CRD checlusters.org.eclipse.che [started] [18:01:05] Create CRD checlusters.org.eclipse.che...It already exists. [title changed] [18:01:05] Create CRD checlusters.org.eclipse.che...It already exists. [completed] [18:01:05] Waiting 5 seconds for the new Kubernetes resources to get flushed [started] [18:01:10] Waiting 5 seconds for the new Kubernetes resources to get flushed...done. [title changed] [18:01:10] Waiting 5 seconds for the new Kubernetes resources to get flushed...done. [completed] [18:01:10] Create deployment codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4 [started] [18:01:11] Create deployment codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4...done. [title changed] [18:01:11] Create deployment codeready-operator in namespace install-crw-using-cwrctl-with-default-config-on-ocp4...done. [completed] [18:01:11] Create CodeReady Workspaces Cluster codeready-workspaces in namespace install-crw-using-cwrctl-with-default-config-on-ocp4 [started] [18:01:11] Create CodeReady Workspaces Cluster codeready-workspaces in namespace install-crw-using-cwrctl-with-default-config-on-ocp4 [failed] [18:01:11] [object Object] [18:01:11] Running the CodeReady Workspaces Operator [failed] [18:01:11] [object Object] Error: [object Object] at KubeHelper.wrapK8sClientError (/mnt/hudson_workspace/workspace/basic-pipeline-to-install-crw-on-ocp-using-crwctl/crwctl/lib/api/kube.js:1376:20) at KubeHelper.<anonymous> (/mnt/hudson_workspace/workspace/basic-pipeline-to-install-crw-on-ocp-using-crwctl/crwctl/lib/api/kube.js:1086:28) at Generator.throw (<anonymous>) at rejected (/mnt/hudson_workspace/workspace/basic-pipeline-to-install-crw-on-ocp-using-crwctl/crwctl/node_modules/tslib/tslib.js:108:69)
"operator-pod logs"
time="2019-11-17T23:01:22Z" level=info msg="Default 'info' log level is applied" time="2019-11-17T23:01:22Z" level=info msg="Go Version: go1.11.13" time="2019-11-17T23:01:22Z" level=info msg="Go OS/Arch: linux/amd64" time="2019-11-17T23:01:22Z" level=info msg="operator-sdk Version: v0.5.0" time="2019-11-17T23:01:22Z" level=info msg="Operator is running on OpenShift v4.x" time="2019-11-17T23:01:22Z" level=info msg="Registering Che Components Types" time="2019-11-17T23:01:22Z" level=info msg="Starting the Cmd"
Update: the issue has been reproduced after the next steps against CRW with OAuth support:
crwctl server:delete -n projectname oc delete project -n projectname