question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot start workspace with plugins on a Che local instance in Minishift

See original GitHub issue

Description

i cannot start a workspace with a plugin activated. there si always this error:

exit status 1 Error: Failed to run the workspace: “Plugins installation process failed. Error: Plugin broking process for workspace workspaceoa628vydrzj2s390 failed with error: exit status 1”

Reproduction Steps

  • Create a workspace based on a Che 7 stack
  • Go to workspaces to configure it to add a Plugin (i tried with java, XML and Python)
  • try to restart the workspace

OS and version:

Windows 10 installed on minishift using CDK 3.8.0 the Che version pulled is 7.0.0-beta-3.0

Diagnostics: if i go to the che-plugin-broker pod when the workspace is trying to start, there is this kind of log:

2019/04/12 14:05:37 Broker configuration
2019/04/12 14:05:37   Push endpoint: ws://che-mini-che.172.18.93.39.nip.io/api/websocket
2019/04/12 14:05:37   Auth enabled: false
2019/04/12 14:05:37   Runtime ID:
2019/04/12 14:05:37     Workspace: workspaceoa628vydrzj2s390
2019/04/12 14:05:37     Environment: default
2019/04/12 14:05:37     OwnerId: che
2019/04/12 14:05:37 Unified Che Plugin Broker
2019/04/12 14:05:37 List of plugins and editors to install
- che-machine-exec-plugin:0.0.1 - Che Plug-in with che-machine-exec service to provide creation terminal or tasks for Eclipse CHE workspace machines.
- ms-python.python:2019.2.5433 - Linting, Debugging (multi-threaded, remote), Intellisense, code formatting, refactoring, unit tests, snippets, and more.
- org.eclipse.che.editor.theia:next - Eclipse Theia, get the latest release each day.
2019/04/12 14:05:37 Starting Che common plugins processing
2019/04/12 14:05:37 Stared processing plugin 'che-machine-exec-plugin:0.0.1'
2019/04/12 14:05:37 Downloading archive 'https://github.com/eclipse/che-machine-exec/releases/download/0.0.2/che-service-plugin.tar.gz'  for plugin 'che-machine-exec-plugin:0.0.1' to '/tmp/che-plugin-broker443678868/pluginArchive.tar.gz'
2019/04/12 14:05:38 Untarring archive 'https://github.com/eclipse/che-machine-exec/releases/download/0.0.2/che-service-plugin.tar.gz'  for plugin 'che-machine-exec-plugin:0.0.1' to '/tmp/che-plugin-broker443678868/pluginArchive.tar.gz'
2019/04/12 14:05:38 Resolving 'che-machine-exec-plugin:0.0.1'
2019/04/12 14:05:38 Copying dependencies for 'che-machine-exec-plugin:0.0.1'
2019/04/12 14:05:38 Stared processing plugin 'org.eclipse.che.editor.theia:next'
2019/04/12 14:05:38 Downloading archive 'https://github.com/eclipse/che-theia/releases/download/next/che-editor-plugin.tar.gz'  for plugin 'org.eclipse.che.editor.theia:next' to '/tmp/che-plugin-broker250082019/pluginArchive.tar.gz'
2019/04/12 14:05:38 Untarring archive 'https://github.com/eclipse/che-theia/releases/download/next/che-editor-plugin.tar.gz'  for plugin 'org.eclipse.che.editor.theia:next' to '/tmp/che-plugin-broker250082019/pluginArchive.tar.gz'
2019/04/12 14:05:38 Resolving 'org.eclipse.che.editor.theia:next'
2019/04/12 14:05:38 Copying dependencies for 'org.eclipse.che.editor.theia:next'
2019/04/12 14:05:38 Starting Theia plugins processing
2019/04/12 14:05:38 Starting VS Code plugins processing
2019/04/12 14:05:38 Stared processing plugin 'ms-python.python:2019.2.5433'
2019/04/12 14:05:38 Downloading VS Code extension archive 'https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2019.2.5433/vspackage'  for plugin 'ms-python.python:2019.2.5433' to '/tmp/vscode-extension-broker556251878/pluginArchivelhexeqxexf'
2019/04/12 14:05:38 Downloading VS Code extension for plugin 'ms-python.python:2019.2.5433'
2019/04/12 14:05:43 Unzipping archive '/tmp/vscode-extension-broker556251878/pluginArchivelhexeqxexf' for plugin 'ms-python.python:2019.2.5433' to '/tmp/vscode-extension-broker556251878/extension/mkekwpljme'
2019/04/12 14:05:46 Copying VS Code extension 'ms-python.python:2019.2.5433' from '/tmp/vscode-extension-broker556251878/extension/mkekwpljme' to '/plugins/ms-python.python.2019.2.5433.mspython_python'
2019/04/12 14:05:46 exit status 1

In events of the pods: eventsStartWorkspace (the only strange thing is that there is a che-init-plugin-broker which is more recent on docker hub and with a version corresponding to the che-unified-plugin-broker v0.15.1 available although version 0.14.0 is used https://hub.docker.com/r/eclipse/che-init-plugin-broker/tags )

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
nickboldtcommented, Jun 14, 2019
1reaction
themr0ccommented, May 30, 2019

@amisevsk my issue was related to the last changes in API (v1 then v2 and v3). See #13439 and the related PR. I managed to get things working with minishift.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Administration Guide Red Hat CodeReady Workspaces 2.0
CodeReady Workspaces 2.0 introduces two registries: the plug-in registry and the devfile registry. They are static websites where the metadata of CodeReady ...
Read more >
Troubleshooting Getting Started | Minishift | OKD 3.11
While Minishift starts, it runs several startup checks to make sure that the Minishift VM and the OpenShift Cluster are able to start...
Read more >
Start developing in the cloud with Eclipse Che IDE
I run both Code Ready Workspace 1.2 and Eclipse Che 7 on OpenShift, ... install Eclipse Che if you launch OKD locally through...
Read more >
eclipse/che-machine-exec - Docker Image
Go-lang server side to creation machine-execs for Eclipse CHE workspaces. ... minishift start --memory=8GB -- Starting local OpenShift cluster using 'kvm' ...
Read more >
Installing OpenShift Connector in Che - Eclipse
A running instance of Eclipse Che. Procedure. Install OpenShift Connector in Che by adding it as an extension in the Che Plugins panel....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found