Cannot start workspace with plugins on a Che local instance in Minishift
See original GitHub issueDescription
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: (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:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top GitHub Comments
And I see this is fixed upstream in minishift >1.34.0: https://github.com/minishift/minishift/pull/3273 -> https://github.com/minishift/minishift/compare/v1.34.0...master
@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.