Details
-
Bug
-
Resolution: Unresolved
-
Major
-
3.2.0.GA, 3.3.0.GA, 3.4.0.GA, 3.5.0.GA, 3.6.0.GA, 3.7.0.GA
-
None
-
False
-
None
-
False
-
Workaround Exists
-
Description
DSC 3.2.0 failed to deploy DS 3.2.0.ER-09-03 server to OCP 4.11.2: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/install-ds/814/
- dsc/3.2.0-CI-040a-redhat.b5808f7 linux-x64 node-v16.13.2
- dsc binary: https://github.com/redhat-developer/devspaces-chectl/releases/download/3.2.0-CI-dsc-assets/devspaces-3.2.0-dsc-linux-x64.tar.gz
- devspaces-operator-bundle-container-3.2-117
- Index image v4.11: brew.registry.redhat.io/rh-osbs/iib:308876
dsc command
dsc/bin/dsc server:deploy --che-operator-cr-patch-yaml=custom-resource-patch.yaml --package-manifest-name=devspaces --catalog-source-name=devspaces-operator-3-2-osbs-stable --olm-channel=stable --catalog-source-namespace=openshift-marketplace --listr-renderer=verbose
where custom-resource-patch.yaml :
custom-resource-patch.yaml
apiVersion: org.eclipse.che/v2
spec:
components:
devWorkspace:
runningLimit: '10000'
dsc log
[05:20:21] Verify Kubernetes API [started] › Current Kubernetes context: 'openshift-operators/api-ocp411-crw-qe-com:6443/admin' [05:20:21] Verify Kubernetes API...[OK] [title changed] [05:20:21] Verify Kubernetes API...[OK] [OpenShift] [title changed] [05:20:21] Verify Kubernetes API...[OK] [OpenShift] [completed] [05:20:21] 👀 Looking for an already existing Red Hat OpenShift Dev Spaces instance [started] [05:20:21] Verify if Red Hat OpenShift Dev Spaces is deployed into namespace "openshift-devspaces" [started] [05:20:21] Verify if Red Hat OpenShift Dev Spaces is deployed into namespace "openshift-devspaces"...[Not Found] [title changed] [05:20:21] Verify if Red Hat OpenShift Dev Spaces is deployed into namespace "openshift-devspaces"...[Not Found] [completed] [05:20:21] 👀 Looking for an already existing Red Hat OpenShift Dev Spaces instance [completed] [05:20:21] ✈️ Openshift preflight checklist [started] [05:20:21] Verify if oc is installed [started] [05:20:21] Verify if oc is installed...[OK] [title changed] [05:20:21] Verify if oc is installed...[OK] [completed] [05:20:21] Verify if openshift is running [started] [05:20:21] Verify if openshift is running...[OK] [title changed] [05:20:21] Verify if openshift is running...[OK] [completed] [05:20:21] Check OpenShift version [started] [05:20:21] Check OpenShift version: [4.x] [title changed] [05:20:21] Check OpenShift version: [4.x] [completed] [05:20:21] Check Kubernetes version [started] [05:20:21] Check Kubernetes version: [Unknown] [title changed] [05:20:21] Check Kubernetes version: [Unknown] [completed] [05:20:21] ✈️ Openshift preflight checklist [completed] [05:20:21] Following Red Hat OpenShift Dev Spaces logs [started] [05:20:21] Start following logs [started] [05:20:21] Start following logs...[OK] [title changed] [05:20:21] Start following logs...[OK] [completed] [05:20:21] Following Red Hat OpenShift Dev Spaces logs [completed] [05:20:21] Create Namespace openshift-devspaces [started] [05:20:21] Create Namespace openshift-devspaces...[Exists] [title changed] [05:20:21] Create Namespace openshift-devspaces...[Exists] [completed] [05:20:21] Deploy Red Hat OpenShift Dev Spaces [started] [05:20:21] Check if OLM is pre-installed on the platform [started] [05:20:21] Check if OLM is pre-installed on the platform...[OK] [title changed] [05:20:21] Check if OLM is pre-installed on the platform...[OK] [completed] [05:20:21] Set context [started] [05:20:21] Set context...[OK] [title changed] [05:20:21] Set context...[OK] [completed] [05:20:21] Create Subscription devspaces-subscription [started] [05:20:21] Create Subscription devspaces-subscription...[OK] [title changed] [05:20:21] Create Subscription devspaces-subscription...[OK] [completed] [05:20:21] Wait for Subscription [started] [05:20:23] Wait for Subscription...[OK] [title changed] [05:20:23] Wait for Subscription...[OK] [completed] [05:20:23] Wait for ClusterServiceVersion [started] [05:20:40] Wait for ClusterServiceVersion...[OK] [title changed] [05:20:40] Wait for ClusterServiceVersion...[OK] [completed] [05:20:40] Prepare CheCluster CR [started] [05:20:40] Prepare CheCluster CR...[OK] [title changed] [05:20:40] Prepare CheCluster CR...[OK] [completed] [05:20:40] Create CheCluster Custom Resource [started] [05:20:43] Create CheCluster Custom Resource [failed] [05:20:43] → apiserver is shutting down [05:20:43] Deploy Red Hat OpenShift Dev Spaces [failed] [05:20:43] → apiserver is shutting down Error: Command server:deploy failed with the error: apiserver is shutting down See details: /home/hudson/.cache/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /tmp/dsc-logs/1662456021019.
dsc error log
2022-09-06T09:20:43.109Z Error: Command server:deploy failed with the error: apiserver is shutting down See details: /home/hudson/.cache/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /tmp/dsc-logs/1662456021019. 2022-09-06T09:20:43.109Z at newError (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/util.js:199:19) 2022-09-06T09:20:43.109Z at Object.wrapCommandError (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/util.js:195:12) 2022-09-06T09:20:43.109Z at Deploy.<anonymous> (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/commands/server/deploy.js:155:35) 2022-09-06T09:20:43.109Z at Generator.throw (<anonymous>) 2022-09-06T09:20:43.109Z at rejected (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/tslib/tslib.js:115:69) 2022-09-06T09:20:43.109Z Cause: Error: apiserver is shutting down 2022-09-06T09:20:43.109Z at Object.newError (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/util.js:199:19) 2022-09-06T09:20:43.109Z at KubeHelper.wrapK8sClientError (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/api/kube.js:2215:31) 2022-09-06T09:20:43.109Z at KubeHelper.<anonymous> (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/api/kube.js:1194:47) 2022-09-06T09:20:43.109Z at Generator.throw (<anonymous>) 2022-09-06T09:20:43.109Z at rejected (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/tslib/tslib.js:115:69) 2022-09-06T09:20:43.109Z Cause: HttpError: HTTP request failed 2022-09-06T09:20:43.109Z at Request._callback (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/@kubernetes/client-node/dist/gen/api/customObjectsApi.js:271:40) 2022-09-06T09:20:43.109Z at Request.self.callback (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/request/request.js:185:22) 2022-09-06T09:20:43.109Z at Request.emit (node:events:390:28) 2022-09-06T09:20:43.109Z at Request.<anonymous> (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/request/request.js:1154:10) 2022-09-06T09:20:43.109Z at Request.emit (node:events:390:28) 2022-09-06T09:20:43.109Z at IncomingMessage.<anonymous> (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/request/request.js:1076:12) 2022-09-06T09:20:43.109Z at Object.onceWrapper (node:events:509:28) 2022-09-06T09:20:43.109Z at IncomingMessage.emit (node:events:402:35)
Error has been reproduced on OCP 4.10.23 as well: https://main-jenkins-csb-crwqe.apps.ocp-c1.prod.psi.redhat.com/job/Testing/job/e2e/job/basic/job/install-ds/816/console