minishift: Permission denied error while creating workspaces in che
General information
- Minishift version: master
- OS: Linux
- Hypervisor: KVM
While creating a new che workspace, the following error appears:
Starting Init Plugin Broker
Cleaning /plugins dir
Unified Che Plugin Broker
List of plugins and editors to install
- che-incubator/typescript/latest - Typescript language features
- eclipse/che-machine-exec-plugin/7.1.0 - Che Plug-in with che-machine-exec service to provide creation terminal or tasks for Eclipse CHE workspace containers.
- eclipse/che-theia/7.1.0 - Eclipse Theia, get the latest release each day.
Starting Che plugins and editor processing
Downloading VS Code extension for plugin 'che-incubator/typescript/latest'
Starting VS Code and Theia plugins processing
mkdir /plugins/sidecars: permission denied
Error: Failed to run the workspace: "Plugins installation process failed. Error: Plugin broking process for workspace workspace4aosa9xw85sfy9vv failed with error: mkdir /plugins/sidecars: permission denied"
/cc @l0rd @sleshchenko
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (5 by maintainers)
@amisevsk I guess the issue you faced is in forbidden hostPath volume (I think it’s not related to
/pluginsfolder permissions issue that is described here). I’ve reported it in https://github.com/minishift/minishift/issues/3349 and I believe it’s not Che related issue at all. Could you checkoc describe pv pvXXXXto make sure that you have the same issue? If yes - executingoc adm policy add-scc-to-group hostmount-anyuid system:serviceaccountsas admin user should help you to solve this issue.@l0rd I believe sidecars is just a subfolder in plugins. It’s created by the plugin broker, but I have no idea why it fails.
I run minishift with kvm so I’ll check in a bit if I can reproduce.