eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.99k stars 1.19k forks source link

Fail to install OpenShift DevSpaces 3.2 on OpenShift Local 2.10.1 #21791

Closed ronnin closed 1 year ago

ronnin commented 2 years ago

Describe the bug

I was installing the DevSpaces 3.2 on the CRC 2.10.1 on the Mac OS 12.6(Intel CPU) The process of installation was halted at the step "✖ Wait for Subscription". I checked the log file located at '$HOME/Library/Caches/dsc/error.log'. It showed:

Error: Command server:deploy failed with the error: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'  ....
.....
Cause: TypeError: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
Error: HTTP Error 404 for GET https://redhat-developer.github.io/devspaces-chectl/channels/GA-redhat/darwin-x64
.....

Che version

7.55@latest

Steps to reproduce

$ wget https://github.com/redhat-developer/devspaces-chectl/releases/download/3.2.0-GA-dsc-assets/devspaces-3.2.0-dsc-darwin-x64.tar.gz $ tar xzf devspaces-3.2.0-dsc-darwin-x64.tar.gz && ln -s pwd/dsc/bin/dsc /usr/local/bin/dsc $ dsc server:deploy --platform=crc

Expected behavior

install successfully

Runtime

CodeReady Container

Screenshots

No response

Installation method

chectl/latest

Environment

macOS

Eclipse Che Logs

2022-10-28T13:35:49.981Z Error: Command server:deploy failed with the error: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.' See details: /Users/ronnin/Library/Caches/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /var/folders/nd/flpghzx10kxd2qyf28ds81p00000gn/T/dsc-logs/1666963163854.
2022-10-28T13:35:49.981Z     at newError (~/Downloads/dsc/lib/util.js:199:19)
2022-10-28T13:35:49.981Z     at Object.wrapCommandError (~/Downloads/dsc/lib/util.js:195:12)
2022-10-28T13:35:49.981Z     at Deploy.<anonymous> (~/Downloads/dsc/lib/commands/server/deploy.js:155:35)
2022-10-28T13:35:49.981Z     at Generator.throw (<anonymous>)
2022-10-28T13:35:49.981Z     at rejected (~/Downloads/dsc/node_modules/tslib/tslib.js:115:69)
2022-10-28T13:35:49.981Z     at runMicrotasks (<anonymous>)
2022-10-28T13:35:49.981Z Cause: TypeError: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
2022-10-28T13:35:49.981Z     at ~/Downloads/dsc/node_modules/listr/index.js:112:19
2022-10-28T13:35:49.981Z     at runMicrotasks (<anonymous>)
2022-10-28T13:41:02.542Z Error: ERR_ROUTE_NO_EXIST - No route devspaces,che-host in namespace openshift-devspaces
2022-10-28T13:41:02.542Z     at CheHelper.<anonymous> (~/Downloads/dsc/lib/api/che.js:110:19)
2022-10-28T13:41:02.542Z     at Generator.next (<anonymous>)
2022-10-28T13:41:02.542Z     at fulfilled (~/Downloads/dsc/node_modules/tslib/tslib.js:114:62)
2022-10-28T13:51:25.137Z Error: Command server:deploy failed with the error: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.' See details: /Users/ronnin/Library/Caches/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /var/folders/nd/flpghzx10kxd2qyf28ds81p00000gn/T/dsc-logs/1666964482905.
2022-10-28T13:51:25.137Z     at newError (~/Downloads/dsc/lib/util.js:199:19)
2022-10-28T13:51:25.137Z     at Object.wrapCommandError (~/Downloads/dsc/lib/util.js:195:12)
2022-10-28T13:51:25.137Z     at Deploy.<anonymous> (~/Downloads/dsc/lib/commands/server/deploy.js:155:35)
2022-10-28T13:51:25.137Z     at Generator.throw (<anonymous>)
2022-10-28T13:51:25.137Z     at rejected (~/Downloads/dsc/node_modules/tslib/tslib.js:115:69)
2022-10-28T13:51:25.137Z     at runMicrotasks (<anonymous>)
2022-10-28T13:51:25.137Z Cause: TypeError: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
2022-10-28T13:51:25.137Z     at ~/Downloads/dsc/node_modules/listr/index.js:112:19
2022-10-28T13:51:25.137Z     at runMicrotasks (<anonymous>)
2022-10-28T14:22:25.484Z Error: Command server:deploy failed with the error: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.' See details: /Users/ronnin/Library/Caches/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /var/folders/nd/flpghzx10kxd2qyf28ds81p00000gn/T/dsc-logs/1666966343257.
2022-10-28T14:22:25.484Z     at newError (~/Downloads/dsc/lib/util.js:199:19)
2022-10-28T14:22:25.484Z     at Object.wrapCommandError (~/Downloads/dsc/lib/util.js:195:12)
2022-10-28T14:22:25.484Z     at Deploy.<anonymous> (~/Downloads/dsc/lib/commands/server/deploy.js:155:35)
2022-10-28T14:22:25.484Z     at Generator.throw (<anonymous>)
2022-10-28T14:22:25.484Z     at rejected (~/Downloads/dsc/node_modules/tslib/tslib.js:115:69)
2022-10-28T14:22:25.484Z     at runMicrotasks (<anonymous>)
2022-10-28T14:22:25.484Z Cause: TypeError: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
2022-10-28T14:22:25.484Z     at ~/Downloads/dsc/node_modules/listr/index.js:112:19
2022-10-28T14:22:25.484Z     at runMicrotasks (<anonymous>)
2022-10-28T14:27:02.074Z Error: read ECONNRESET
2022-10-28T14:27:29.476Z Error: read ECONNRESET
2022-10-28T14:58:35.638Z Error: ERR_NAMESPACE_NO_EXIST - No namespace openshift-devspaces is found
2022-10-28T14:58:35.638Z     at CheHelper.<anonymous> (~/Downloads/dsc/lib/api/che.js:35:23)
2022-10-28T14:58:35.638Z     at Generator.next (<anonymous>)
2022-10-28T14:58:35.638Z     at fulfilled (~/Downloads/dsc/node_modules/tslib/tslib.js:114:62)
2022-10-28T15:08:31.907Z Error: ERR_ROUTE_NO_EXIST - No route devspaces,che-host in namespace openshift-devspaces
2022-10-28T15:08:31.907Z     at CheHelper.<anonymous> (~/Downloads/dsc/lib/api/che.js:110:19)
2022-10-28T15:08:31.907Z     at Generator.next (<anonymous>)
2022-10-28T15:08:31.907Z     at fulfilled (~/Downloads/dsc/node_modules/tslib/tslib.js:114:62)
2022-10-28T15:08:48.349Z Error: Command server:deploy failed with the error: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.' See details: /Users/ronnin/Library/Caches/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /var/folders/nd/flpghzx10kxd2qyf28ds81p00000gn/T/dsc-logs/1666969127365.
2022-10-28T15:08:48.349Z     at newError (~/Downloads/dsc/lib/util.js:199:19)
2022-10-28T15:08:48.349Z     at Object.wrapCommandError (~/Downloads/dsc/lib/util.js:195:12)
2022-10-28T15:08:48.349Z     at Deploy.<anonymous> (~/Downloads/dsc/lib/commands/server/deploy.js:155:35)
2022-10-28T15:08:48.349Z     at Generator.throw (<anonymous>)
2022-10-28T15:08:48.349Z     at rejected (~/Downloads/dsc/node_modules/tslib/tslib.js:115:69)
2022-10-28T15:08:48.349Z     at runMicrotasks (<anonymous>)
2022-10-28T15:08:48.349Z Cause: TypeError: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
2022-10-28T15:08:48.349Z     at ~/Downloads/dsc/node_modules/listr/index.js:112:19
2022-10-28T15:08:48.349Z     at runMicrotasks (<anonymous>)
2022-10-28T16:00:09.761Z Error: ERR_ROUTE_NO_EXIST - No route devspaces,che-host in namespace openshift-devspaces
2022-10-28T16:00:09.761Z     at CheHelper.<anonymous> (~/Downloads/dsc/lib/api/che.js:110:19)
2022-10-28T16:00:09.761Z     at Generator.next (<anonymous>)
2022-10-28T16:00:09.761Z     at fulfilled (~/Downloads/dsc/node_modules/tslib/tslib.js:114:62)
2022-10-28T16:00:35.887Z Error: ERR_ROUTE_NO_EXIST - No route devspaces,che-host in namespace openshift-devspaces
2022-10-28T16:00:35.887Z     at CheHelper.<anonymous> (~/Downloads/dsc/lib/api/che.js:110:19)
2022-10-28T16:00:35.887Z     at Generator.next (<anonymous>)
2022-10-28T16:00:35.887Z     at fulfilled (~/Downloads/dsc/node_modules/tslib/tslib.js:114:62)
2022-10-28T22:50:26.416Z Error: read ECONNRESET
2022-10-28T22:50:36.681Z Error: read ECONNRESET
2022-10-28T23:04:34.226Z Error: Command server:deploy failed with the error: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.' See details: /Users/ronnin/Library/Caches/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /var/folders/nd/flpghzx10kxd2qyf28ds81p00000gn/T/dsc-logs/1666997594377.
2022-10-28T23:04:34.226Z     at newError (~/Downloads/dsc/lib/util.js:199:19)
2022-10-28T23:04:34.226Z     at Object.wrapCommandError (~/Downloads/dsc/lib/util.js:195:12)
2022-10-28T23:04:34.226Z     at Deploy.<anonymous> (~/Downloads/dsc/lib/commands/server/deploy.js:155:35)
2022-10-28T23:04:34.226Z     at Generator.throw (<anonymous>)
2022-10-28T23:04:34.226Z     at rejected (~/Downloads/dsc/node_modules/tslib/tslib.js:115:69)
2022-10-28T23:04:34.226Z     at runMicrotasks (<anonymous>)
2022-10-28T23:04:34.226Z Cause: TypeError: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
2022-10-28T23:04:34.226Z     at ~/Downloads/dsc/node_modules/listr/index.js:112:19
2022-10-28T23:04:34.226Z     at runMicrotasks (<anonymous>)
2022-10-30T02:24:18.463Z Error: Command server:deploy failed with the error: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.' See details: /Users/ronnin/Library
/Caches/dsc/error.log. Red Hat OpenShift Dev Spaces logs: /var/folders/nd/flpghzx10kxd2qyf28ds81p00000gn/T/dsc-logs/1667096046893.
2022-10-30T02:24:18.463Z     at newError (~/Downloads/dsc/lib/util.js:199:19)
2022-10-30T02:24:18.463Z     at Object.wrapCommandError (~/Downloads/dsc/lib/util.js:195:12)
2022-10-30T02:24:18.463Z     at Deploy.<anonymous> (~/Downloads/dsc/lib/commands/server/deploy.js:155:35)
2022-10-30T02:24:18.463Z     at Generator.throw (<anonymous>)
2022-10-30T02:24:18.463Z     at rejected (~/Downloads/dsc/node_modules/tslib/tslib.js:115:69)
2022-10-30T02:24:18.463Z     at runMicrotasks (<anonymous>)
2022-10-30T02:24:18.463Z Cause: TypeError: Cannot create property 'context' on string 'Timeout reached while waiting for "devspaces-subscription" subscription is ready.'
2022-10-30T02:24:18.463Z     at ~/Downloads/dsc/node_modules/listr/index.js:112:19
2022-10-30T02:24:18.463Z     at runMicrotasks (<anonymous>)
2022-10-30T03:15:50.513Z Error: HTTP Error 404 for GET https://redhat-developer.github.io/devspaces-chectl/channels/GA-redhat/darwin-x64
2022-10-30T03:15:50.513Z <style type="text/css" media="screen">
2022-10-30T03:15:50.513Z   .container {
2022-10-30T03:15:50.513Z     margin: 10px auto;
2022-10-30T03:15:50.513Z     max-width: 600px;
2022-10-30T03:15:50.513Z     text-align: center;
2022-10-30T03:15:50.513Z   }
2022-10-30T03:15:50.513Z   h1 {
2022-10-30T03:15:50.513Z     margin: 30px 0;
2022-10-30T03:15:50.513Z     font-size: 4em;
2022-10-30T03:15:50.513Z     line-height: 1;
2022-10-30T03:15:50.513Z     letter-spacing: -1px;
2022-10-30T03:15:50.513Z   }
2022-10-30T03:15:50.513Z </style>
2022-10-30T03:15:50.513Z <div class="container">
2022-10-30T03:15:50.513Z   <h1>404</h1>
2022-10-30T03:15:50.513Z   <p><strong>Page not found :(</strong></p>
2022-10-30T03:15:50.513Z   <p>The requested page could not be found.</p>
2022-10-30T03:15:50.513Z </div>

Additional context

No response

tolusha commented 2 years ago

@ronnin Could you oc get subscription devspaces-subscription -n openshift-operators -o yaml Maybe there is some hint there.

ronnin commented 1 year ago

“transport: Error while dialing dial tcp 10.217.5.222:50051: connect: connection refused", failed to populate resolver cache from source redhat-marketplace/openshift-marketplace”

I think I have individual connection trouble to handle.

@tolusha , Thanks.