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

CRW 2.7.1 NodeJs workspaces failed to start after migration to CRW 2.8

XMLWordPrintable

    • False
    • False
    • Hide
      = Node.js workspaces starting properly

      {prod-short} {prod-prev-ver} Node.js workspaces no longer fails to start after migration to the latest version.

      ////

      To work around this issue:

      . Open a devfile of the affected workspace using Dashboard and the *Devfile* tab.

      . Replace the `id` of the `components` property with the following:
      +
      [source,yaml]
      ----
      components:
        - id: vscode/typescript-language-features/latest
      ----
      ////
      Show
      = Node.js workspaces starting properly {prod-short} {prod-prev-ver} Node.js workspaces no longer fails to start after migration to the latest version. //// To work around this issue: . Open a devfile of the affected workspace using Dashboard and the *Devfile* tab. . Replace the `id` of the `components` property with the following: + [source,yaml] ---- components:   - id: vscode/typescript-language-features/latest ---- ////
    • Workaround Exists
    • Hide

      Open devfile content and replace:

      components:
        - id: che-incubator/typescript/latest
      

      with:

      components:
        - id: vscode/typescript-language-features/latest
      
      Show
      Open devfile content and replace: components: - id: che-incubator/typescript/latest with: components: - id: vscode/typescript-language-features/latest

      Can't start CRW 2.7.1 nodejs workspaces after migration to CRW 2.8.0:

      • 04_nodejs-mongo
      • 04_nodejs-configmap
      • 03_web-nodejs

      -------------------------------
      Plugins installation process failed. Error: Plugin brokering process for workspace workspacetlzumafbgitz12dc failed with error: Failed to download plugin meta: failed to fetch plugin meta.yaml from URL 'https://plugin-registry-update-crw-operatorhub.apps.ocp46.crw-qe.com/v3/plugins/che-incubator/typescript/latest/meta.yam
      ===================

      workspace start log
      Add eth0 [10.131.1.151/23]
      Pulling image "registry.redhat.io/codeready-workspaces/pluginbroker-metadata-rhel8@sha256:0143a80b869620af08a0d60165dc9d13357a79e7243502832326cf053c17ee38"
      Successfully pulled image "registry.redhat.io/codeready-workspaces/pluginbroker-metadata-rhel8@sha256:0143a80b869620af08a0d60165dc9d13357a79e7243502832326cf053c17ee38" in 2.103231267s
      Created container pluginbroker-metadata-rhel8-0143a80b86
      Started container pluginbroker-metadata-rhel8-0143a80b86
      Starting plugin metadata broker
      Failed to download plugin meta: failed to fetch plugin meta.yaml from URL 'https://plugin-registry-update-crw-operatorhub.apps.ocp46.crw-qe.com/v3/plugins/che-incubator/typescript/latest/meta.yaml': Downloading https://plugin-registry-update-crw-operatorhub.apps.ocp46.crw-qe.com/v3/plugins/che-incubator/typescript/latest/meta.yaml failed. Status code 404. Response body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>404 Not Found</title>
      </head><body>
      <h1>Not Found</h1>
      <p>The requested URL was not found on this server.</p>
      </body></html>
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Broker configuration
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Push endpoint: wss://codeready-update-crw-operatorhub.apps.ocp46.crw-qe.com/api/websocket
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Auth enabled: true
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Runtime ID:
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Workspace: workspacetlzumafbgitz12dc
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Environment: default
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 OwnerId: 70ecb687-417f-42b7-b11b-0da34a448490
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Self signed certificate /tmp/che/secret/ca.crt
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 CA bundle certificates path /public-certs
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Starting plugin metadata broker
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Fetching plugin meta.yaml from https://plugin-registry-update-crw-operatorhub.apps.ocp46.crw-qe.com/v3/plugins/che-incubator/typescript/latest/meta.yaml
      [pluginbroker-metadata-rhel8-0143a80b86] -> 2021/04/29 11:17:20 Failed to download plugin meta: failed to fetch plugin meta.yaml from URL 'https://plugin-registry-update-crw-operatorhub.apps.ocp46.crw-qe.com/v3/plugins/che-incubator/typescript/latest/meta.yaml': Downloading https://plugin-registry-update-crw-operatorhub.apps.ocp46.crw-qe.com/v3/plugins/che-incubator/typescript/latest/meta.yaml failed. Status code 404. Response body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      [pluginbroker-metadata-rhel8-0143a80b86] -> <html><head>
      [pluginbroker-metadata-rhel8-0143a80b86] -> <title>404 Not Found</title>
      [pluginbroker-metadata-rhel8-0143a80b86] -> </head><body>
      [pluginbroker-metadata-rhel8-0143a80b86] -> <h1>Not Found</h1>
      [pluginbroker-metadata-rhel8-0143a80b86] -> <p>The requested URL was not found on this server.</p>
      [pluginbroker-metadata-rhel8-0143a80b86] -> </body></html>
      Failed to run the workspace: "Plugins installation process failed. Error: Plugin brokering process for workspace workspacetlzumafbgitz12dc failed with error: Failed to download plugin meta: failed to fetch plugin meta.yaml from URL 'https://plugin-registry-update-crw-operatorhub.apps.ocp46.crw-qe.com/v3/plugins/che-incubator/typescript/latest/meta.yaml': Downloading https://plugin-registry-update-crw-operatorhub.apps.ocp46.crw-qe.com/v3/plugins/che-incubator/typescript/latest/meta.yaml failed. Status code 404. Response body: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL was not found on this server.</p> </body></html> "

      The reason is "che-incubator/typescript" meta.yaml had been moved to "vscode/typescript-language-features" directory in CRW 2.8.0 https://github.com/redhat-developer/codeready-workspaces/commit/9ee10e4fdf570e22addb094e1f700e1c85479584#diff-f28a5c4702488245b71c7c9301e514e2c665c8704b4ca6cdff365e38fd8c715c

      Workspace has started successfully after setting "id: vscode/typescript-language-features/latest" in devfile content:

              vsvydenk Valerii Svydenko
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: