-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Failed to create volume" when executing a task (Running Concourse CI in Docker) #8242
Comments
Some updates: If I set the following environment variables on the worker I can get my pipeline to work. CONCOURSE_BAGGAGECLAIM_DRIVER: "naive"
CONCOURSE_RUNTIME: "houdini" It seems like having the driver be either: detect, btrfs or overlay will not work. If I don't set the runtime to houdini I get this error:
|
Not sure what is going on but when I tried again I now get this error: initializing
initializing check: image
selected worker: 4a7bff5e4a55
selected worker: 4a7bff5e4a55
waiting for docker to come up...
Pulling busybox@sha256:14d4f50961544fdb669075c442509f194bdc4c0e344bde06e35dbd55af842a38...
docker.io/library/busybox@sha256:14d4f50961544fdb669075c442509f194bdc4c0e344bde06e35dbd55af842a38: Pulling from library/busybox
554879bb3004: Pulling fs layer
554879bb3004: Verifying Checksum
554879bb3004: Download complete
failed to register layer: ApplyLayer exit status 1 stdout: stderr: remount /, flags: 0x84000: invalid argument I am not sure why I got the image to download before but now it fails everytime with above message... |
Did you try Houdini and naive as your runtime and storage driver basically mean you're not using containers at all. We generally recommend using |
I use |
@ponytin How would you do this via the Helm Chart? Currently using the following we get the error in the issue: values:
image: URL/third-party/concourse
imageTag: 7.8.3
imagePullPolicy: Always
concourse:
web:
nodeSelector: |
Capability: k8s-concourse-workers
worker:
autoscaling:
maxReplicas: 3
minReplicas: 3
baggageclaim:
driver: overlay
runtime: containerd
containerd:
dnsProxyEnable: false
worker:
kind: Deployment
replicas: 3 |
Hitting the same issue on a mac m2, with concourse 7.10.0 and CONCOURSE_WORKER_RUNTIME: houdini
CONCOURSE_WORKER_BAGGAGECLAIM_DRIVER: naive
CONCOURSE_WORKER_BAGGAGECLAIM_DISABLE_USER_NAMESPACES: true |
I have the same issue with Mac M1 with concourse but I can trigger jobs for a couple of times then I start to have this error. I have to restart docker-compose and then it will work again for a while.
|
@edwardCao I've got a relatively stable concourse deployment (not entirely without its issues) on arm64 (with podman desktop) and : image: rdclda/concourse:7.9.1
platform: linux/arm64
environment:
CONCOURSE_WORKER_RUNTIME: "containerd"
CONCOURSE_WORKER_BAGGAGECLAIM_DRIVER: overlay wanna give that a try ? |
Summary
While working through the Concourse tutorial here https://concoursetutorial.com/basics/task-hello-world.html I wanted to run the hello-world task to make sure that my concourse installation is working. I downloaded the tutorial git repo and proceded with a
fly execute
on the hello-world task. Instead of getting the output that the tutorial was describing I get an error message saying that "failed to create volume". I tried other tasks available in the tutorial and received the same error.Steps to reproduce
After Concourse is up and running with Docker I logged in to Concourse, created a team and then created a target called
ci
that points to the new team.After that I just did
$ fly -t ci execute -c task_hello_world.yml
Expected results
Expecting to see the task being executed successfully and eventually outputting "Hello world".
Actual results
Fly output:
Worker logs:
Additional context
Concourse CI is running in a Docker Compose environment.
Underlying hardware is a Synology NAS running DSM 7.0.1 (Linux with btrfs filesystem).
Here follows the docker compose filed that I used:
Triaging info
The text was updated successfully, but these errors were encountered: