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.

Failed to run the workspace: mkdir /plugins/sidecars: permission denied

See original GitHub issue

Describe the bug

I am trying to get Che 7.0.0 multiuser running on K8’s, deployed via Rancher using the Helm charts in the repo. I’ve managed to get everything running now so far as the Che dashboard appears. I am however now stuck from going any further as, when starting a workspace I get the following error:

Error: Failed to run the workspace: "Plugins installation process failed. Error: Plugin broking process for workspace workspacehe0g3fhudssx2s7n failed with error: mkdir /plugins/sidecars: permission denied"

The first thing I did was to check the physical volume, it is just a local folder path on the node at the moment for testing purposes. Here is it’s contents:

root@staging1:/test15# ls -la
total 12
drwxrwxrwx  3 root root 4096 Aug 24 11:47 .
drwxr-xr-x 25 root root 4096 Aug 24 11:47 ..
drwxr-xr-x  4 1724 root 4096 Aug 24 11:47 workspacehe0g3fhudssx2s7n

So it looks like Che has been able to create the workspace’s folder in the volume without any permission errors. It has also created the plugins folder:

root@staging1:/test15/workspacehe0g3fhudssx2s7n# ls -la
total 16
drwxr-xr-x 4 1724 root 4096 Aug 24 11:55 .
drwxrwxrwx 3 root root 4096 Aug 24 11:55 ..
drwxrwxrwx 2 1724 root 4096 Aug 24 11:55 che-logs-che-plugin-broker
drwxrwxrwx 2 1724 root 4096 Aug 24 11:55 plugins

So…I’m at a loss as to why the plugins/sidecars can’t be create. I’ve tried deleting all folders and starting again but end up with the same problem.

I’d really appreciate any help or pointers on this, it’s stopped us moving to the new Che for quite a while now and I’m at a loss.

Thanks!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
davidwindellcommented, Dec 11, 2019

Can confirm, the problem is isolated to hostPath volumes (which I was using for testing).

Switching to EBS finally solves this issue for me. Thank you @amisevsk for your help with this.

1reaction
davidwindellcommented, Nov 22, 2019

Thanks @amisevsk, I’m going to try and use an EBS volume and will report back in a few days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 7. Issues on Linux - Red Hat Customer Portal
Error: Failed to run the workspace: "Plugins installation process failed. Error: Plugin ... failed with error: mkdir /plugins/sidecars: permission denied".
Read more >
Various CI jobs failing after "mkdir: cannot create directory 'log'
Various CI jobs failing after "mkdir: cannot create directory 'log': Permission denied". Open, Needs TriagePublic. Actions.
Read more >
How to let php get mkdir() access? - Stack Overflow
The issue is not access to the command that is denied. But to create that folder in the file system. So you need...
Read more >
34e0161f7655 - Quay.io
RUN /bin/sh -c mkdir /projects ${HOME} && for f in "${HOME}" "/etc/passwd" "/projects"; do echo "Changing permissions on ${f}" && chgrp -R 0...
Read more >
Tanzu Application Platform v1.2 | VMware Docs
Tanzu CLI - Apps plug-in ... Perform the upgrade of Tanzu Application Platform ... Failure to accept an End User License Agreement error....
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