Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
3.1.0.GA
-
False
-
None
-
False
-
Description
There was "TypeError: Cannot read properties of undefined (reading 'apiVersion')" error when install DS 3.1.0.RC-08-15 using dcs client with with '--che-operator-cr-patch-yaml' property.
Test environment:
- dsc/3.1.0-CI-1c49-redhat.b81c4d7 linux-x64 node-v16.13.2
- index image: brew.registry.redhat.io/rh-osbs/iib-pub-pending:v4.10
dsc error.log
2022-08-20T11:40:16.387Z Error: Command server:deploy failed. Error log: /home/hudson/.cache/dsc/error.log. 2022-08-20T11:40:16.387Z at newError (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/util.js:199:19) 2022-08-20T11:40:16.387Z at Object.wrapCommandError (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/util.js:195:12) 2022-08-20T11:40:16.387Z at Deploy.<anonymous> (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/commands/server/deploy.js:173:35) 2022-08-20T11:40:16.387Z at Generator.throw (<anonymous>) 2022-08-20T11:40:16.387Z at rejected (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/tslib/tslib.js:115:69) 2022-08-20T11:40:16.387Z Cause: TypeError: Cannot read properties of undefined (reading 'apiVersion') 2022-08-20T11:40:16.387Z at Object.isCheClusterAPIV1 (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/util.js:402:23) 2022-08-20T11:40:16.387Z at KubeHelper.<anonymous> (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/api/kube.js:1085:46) 2022-08-20T11:40:16.387Z at Generator.next (<anonymous>) 2022-08-20T11:40:16.387Z at /mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/tslib/tslib.js:117:75 2022-08-20T11:40:16.387Z at new Promise (<anonymous>) 2022-08-20T11:40:16.387Z at Object.__awaiter (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/tslib/tslib.js:113:16) 2022-08-20T11:40:16.387Z at KubeHelper.createCheCluster (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/api/kube.js:1084:24) 2022-08-20T11:40:16.387Z at Object.<anonymous> (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/lib/tasks/installers/common-tasks.js:72:43) 2022-08-20T11:40:16.387Z at Generator.next (<anonymous>) 2022-08-20T11:40:16.387Z at fulfilled (/mnt/hudson_workspace/workspace/Testing/e2e/basic/install-ds/dsc/node_modules/tslib/tslib.js:114:62)