You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cant run simplest commands.
I get this error both on Ubuntu 16:04 docker 1.12.1 and debian 8.5 on Docker 1.11.1:
runc create: exit status 1: rootfs_linux.go:42: preparing rootfs caused "permission denied"
folowing runs perfectly:
docker run busybox /bin/echo hello world
but cant you just make a work around or inform me of working setup?
I tried CeontOS 7.2 and docker 1.10, but it gives capability error, searching the web it implies I need kernel 3.19 or higher, latest CentOS comes with 3.13
totally locked up.
how do you run concourse? in which distro and setup that it works?
Reacted by Johan Steenhoven, Rodrigue Cloutier, vmesh and Shingo Omura
Hey guys, I ran into what I think is the same issue as well, not sure what the cause is, but I was able to work around this by chmod +x /concourse-work-dir on the worker pods. So I think this is an issue with the helm chart and not concourse.
@everpeace Check the kubernetes ticket I referenced above. This is an issue with how kubernetes gives permissions to volumes when the pod is created. Tasks in the pipeline that are not run as privileged will be hit by this error, but if privileged is set to true, the task will run because it is then run as root and has the proper permissions.
Activity
concourse-bot commentedon Aug 22, 2016
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
vito commentedon Oct 7, 2016
Is this still an issue or at least one you can debug some more? I'm afraid we won't be able to help much without steps to reproduce.
We definitely need kernel 3.19+ at least.
sbkg0002 commentedon Dec 20, 2016
This issue still persists on CoreOS 4.7.3-coreos-r2 with Concourse 2.5.0 and Docker version:
27 remaining items
vmesh commentedon Mar 28, 2017
Same problem on Debian 8.7 with 4.9.13 kernel from jessie-backports repository and Concourse 2.7.0.
BrianHicks commentedon Mar 31, 2017
This happens to me on Minikube with the Helm chart too.
Steps to reproduce
minikube starthelm inithelm install stable/concourseExpected Result
Container echos "Hey! Listen!"
Actual Result
Step fails with this message:
Versions
concourse/concourse:2.6.0andconcourse/concourse:2.7.0Additional Steps
I've also tried changing the image to
alpine:latestand get the same message.vito commentedon Apr 11, 2017
Make sure you're all running the worker in a "privileged" container, however you do that on your platform of choice.
everpeace commentedon Apr 12, 2017
helm's package
stable/concourseset its workerprivileged: truein the definition:https://github.com/kubernetes/charts/blob/master/stable/concourse/templates/worker-statefulset.yaml#L80-L81
gregarcara commentedon Apr 12, 2017
Hey guys, I ran into what I think is the same issue as well, not sure what the cause is, but I was able to work around this by
chmod +x /concourse-work-diron the worker pods. So I think this is an issue with the helm chart and not concourse.Looks like this explains the issue possibly: kubernetes/kubernetes#2630
everpeace commentedon Apr 13, 2017
@gregarcara Thanks! your workaround did work!!
However, I tried to dig root causes and realized these facts (I used helm's chart
stable/concourse).worker process(PID=6) runs by root user
concourse-worker-diris mounted on worker pod with750however, hello-world in GettingStarted fails
after the build failed, several files were output in
concourse-worker-dir.I hope this would help to inspect root causes. Would somebody figures out them??
gregarcara commentedon Apr 13, 2017
@everpeace Check the kubernetes ticket I referenced above. This is an issue with how kubernetes gives permissions to volumes when the pod is created. Tasks in the pipeline that are not run as privileged will be hit by this error, but if privileged is set to true, the task will run because it is then run as root and has the proper permissions.
bump dns