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

Activating extension 'che-openshift-authentication-plugin' failed

XMLWordPrintable

    • False
    • False
    • Workaround Exists
    • Hide

      login to the cluster from the terminal where OS connector is running

      Show
      login to the cluster from the terminal where OS connector is running
    • Hide
      • Create a workspace using next devfile:
      apiVersion: 1.0.0
      metadata:
        generateName: wksp-
      projects:
        - name: node-js
          source:
            type: git
            location: https://github.com/maxura/nodejs-hello-world.git
      components:
        - id: redhat/vscode-openshift-connector/latest
          type: chePlugin
      
      • Go inside created workspace
      • Open the "Openshift Connector" plugin view
      • Click to the "Login into Cluster" button
      • In the opened drop-down choose proposed server link -> Credentials -> Add new user... -> type login -> type password
      • Take a look at plugin view

      Expected behavior:
      The list of cluster's projects is shown

      Observed behavior:
      The list of cluster's projects is not shown

      The "openshift-connector" plugin logs:

      LOG:PLUGIN_HOST(1): PluginManagerExtImpl/init()
      LOG:PLUGIN_HOST(1): initializing(che-openshift-authentication-plugin@0.0.2 with /remote-endpoint/node_modules/@theia/plugin-ext/lib/hosted/node/scanners/backend-init-theia)
      ERROR:Error: Cannot find module '/remote-endpoint/node_modules/@theia/plugin-ext/lib/hosted/node/scanners/backend-init-theia'
      Require stack:
      - /remote-endpoint/node_modules/@theia/core/lib/node/dynamic-require.js
      - /remote-endpoint/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host-rpc.js
      - /remote-endpoint/node_modules/@eclipse-che/theia-remote/lib/node/plugin-remote-init.js
      - /remote-endpoint/node_modules/@eclipse-che/theia-remote/lib/node/plugin-remote.js
      LOG:PLUGIN_HOST(1): initializing(vscode-openshift-connector@0.2.11 with /remote-endpoint/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
      LOG:PLUGIN_HOST(1): initializing(vscode-kubernetes-tools@1.2.1 with /remote-endpoint/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
      LOG:Debugger contribution has been registered: draft
      LOG:PLUGIN_HOST(1): initializing(vscode-yaml@0.14.0 with /remote-endpoint/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
      LOG:PLUGIN_HOST(1): PluginManagerExtImpl/loadPlugin(/tmp/vscode-unpacked/redhat.vscode-openshift-connector.latest.ciqwwpcoxw.che-openshift-authentication-plugin-0.0.2.vsix/extension/lib/che-openshift-authentication.js)
      ERROR:Activating extension 'che-openshift-authentication-plugin' failed:Error: Cannot find module '@theia/plugin'
      Require stack:
      - /tmp/vscode-unpacked/redhat.vscode-openshift-connector.latest.ciqwwpcoxw.che-openshift-authentication-plugin-0.0.2.vsix/extension/lib/che-openshift-authentication.js
      - /remote-endpoint/node_modules/@theia/core/lib/node/dynamic-require.js
      - /remote-endpoint/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host-rpc.js
      - /remote-endpoint/node_modules/@eclipse-che/theia-remote/lib/node/plugin-remote-init.js
      - /remote-endpoint/node_modules/@eclipse-che/theia-remote/lib/node/plugin-remote.js
      
      Show
      Create a workspace using next devfile: apiVersion: 1.0.0 metadata: generateName: wksp- projects: - name: node-js source: type: git location: https: //github.com/maxura/nodejs-hello-world.git components: - id: redhat/vscode-openshift-connector/latest type: chePlugin Go inside created workspace Open the "Openshift Connector" plugin view Click to the "Login into Cluster" button In the opened drop-down choose proposed server link -> Credentials -> Add new user... -> type login -> type password Take a look at plugin view Expected behavior: The list of cluster's projects is shown Observed behavior: The list of cluster's projects is not shown The "openshift-connector" plugin logs: LOG:PLUGIN_HOST(1): PluginManagerExtImpl/init() LOG:PLUGIN_HOST(1): initializing(che-openshift-authentication-plugin@0.0.2 with /remote-endpoint/node_modules/@theia/plugin-ext/lib/hosted/node/scanners/backend-init-theia) ERROR:Error: Cannot find module '/remote-endpoint/node_modules/@theia/plugin-ext/lib/hosted/node/scanners/backend-init-theia' Require stack: - /remote-endpoint/node_modules/@theia/core/lib/node/dynamic-require.js - /remote-endpoint/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host-rpc.js - /remote-endpoint/node_modules/@eclipse-che/theia-remote/lib/node/plugin-remote-init.js - /remote-endpoint/node_modules/@eclipse-che/theia-remote/lib/node/plugin-remote.js LOG:PLUGIN_HOST(1): initializing(vscode-openshift-connector@0.2.11 with /remote-endpoint/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init) LOG:PLUGIN_HOST(1): initializing(vscode-kubernetes-tools@1.2.1 with /remote-endpoint/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init) LOG:Debugger contribution has been registered: draft LOG:PLUGIN_HOST(1): initializing(vscode-yaml@0.14.0 with /remote-endpoint/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init) LOG:PLUGIN_HOST(1): PluginManagerExtImpl/loadPlugin(/tmp/vscode-unpacked/redhat.vscode-openshift-connector.latest.ciqwwpcoxw.che-openshift-authentication-plugin-0.0.2.vsix/extension/lib/che-openshift-authentication.js) ERROR:Activating extension 'che-openshift-authentication-plugin' failed:Error: Cannot find module '@theia/plugin' Require stack: - /tmp/vscode-unpacked/redhat.vscode-openshift-connector.latest.ciqwwpcoxw.che-openshift-authentication-plugin-0.0.2.vsix/extension/lib/che-openshift-authentication.js - /remote-endpoint/node_modules/@theia/core/lib/node/dynamic-require.js - /remote-endpoint/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host-rpc.js - /remote-endpoint/node_modules/@eclipse-che/theia-remote/lib/node/plugin-remote-init.js - /remote-endpoint/node_modules/@eclipse-che/theia-remote/lib/node/plugin-remote.js

      Failed login to the cluster in the "Openshift Connector" plugin of version 0.2.11 (pluginregistry-rhel8:2.13-12)

        1. screenshot-codeready-crw-crwctl.apps.ocp49.crw-qe.com-2021.11.09-12_40_19.png
          screenshot-codeready-crw-crwctl.apps.ocp49.crw-qe.com-2021.11.09-12_40_19.png
          361 kB
        2. Screenshot from 2021-11-09 16-49-53.png
          Screenshot from 2021-11-09 16-49-53.png
          33 kB
        3. Screenshot from 2021-11-16 11-56-01.png
          Screenshot from 2021-11-16 11-56-01.png
          8 kB
        4. t1.png
          t1.png
          13 kB
        5. t2.png
          t2.png
          71 kB
        6. t3.png
          t3.png
          15 kB
        7. t4.png
          t4.png
          5 kB

              ivinokur-1 Igor Vinokur
              iokhrime Ihor Okhrimenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: