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

Cannot start custom plugin (vscode-didact) on OCP 4.6 airgap

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.11.0.GA
    • 2.11.0.GA
    • testing
    • None
    • False
    • False

      Checking `use of custom .vsix plugins` test-case works well except OCP airgap. Because of restricted environment I use Bitbucket server deployed on the same OCP and workspace starts successfully. But it doesn't have DIDACT panel. According to logs plugin was successfully decompressed but load plugin dependencies failed

      2021-09-10 09:34:17.824 root INFO [redhat.vscode-didact.0.1.14.urzprxvlwc.vscode-didact-0.1.14.vsix]: trying to decompress into "/tmp/vscode-unpacked/redhat.vscode-didact.0.1.14.urzprxvlwc.vscode-didact-0.1.14.vsix"... 
      2021-09-10 09:34:17.850 root WARN Backend CheMiniBrowserEndpoint.onStart is slow, took: 110.5 ms 
      2021-09-10 09:34:17.878 root INFO Configuring to accept webviews on 'routetnu2retg-admin-codeready.apps.crw-disconnected-v6.crw-qe.com' hostname. 
      2021-09-10 09:34:17.886 root INFO [redhat.vscode-didact.0.1.14.urzprxvlwc.vscode-didact-0.1.14.vsix]: decompressed 
      2021-09-10 09:34:17.887 root INFO PluginTheiaDirectoryHandler: accepting plugin with path Params: /plugins/installed.json
      2021-09-10 09:34:17.887 root INFO PluginTheiaDirectoryHandler: accepting plugin with path Params: /tmp/vscode-unpacked/redhat.vscode-didact.0.1.14.urzprxvlwc.vscode-didact-0.1.14.vsix
      2021-09-10 09:34:17.887 root INFO PluginTheiaDirectoryHandler: accepting plugin with path Params: /plugins/sidecars
      2021-09-10 09:34:17.909 root ERROR Failed to load plugin dependencies from '/plugins/installed.json' path Params: Error: ENOTDIR: not a directory, open '/plugins/installed.json/package.json'
      2021-09-10 09:34:17.941 root ERROR Failed to load plugin dependencies from '/tmp/vscode-unpacked/redhat.vscode-didact.0.1.14.urzprxvlwc.vscode-didact-0.1.14.vsix' path Params: Error: ENOENT: no such file or directory, open '/tmp/vscode-unpacked/redhat.vscode-didact.0.1.14.urzprxvlwc.vscode-didact-0.1.14.vsix/package.json'
      

              sskoryk Serhii Skoryk
              sskoryk Serhii Skoryk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: