-
Notifications
You must be signed in to change notification settings - Fork 152
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", Concourse running in docker-compose on Linux #42
Comments
Are there any |
Here's the log from the systemd unit running There are a few
|
Looks like a pretty low-level failure, possibly from an incompatibility with your kernel/OS stack - we haven't tested NixOS. 🤔 To get to the bottom of the 'invalid argument' error you'll probably need to run |
I'm getting this on Arch running in compose as well. Tried running the worker with strace but I didn't see anything that stood out. |
Switching my Docker storage driver to EDIT: For some background, I'm building docker images as part of my pipeline. |
@barrucadu setting:
and adding a volume for the |
I tried setting I then tried switching to the
Then I tried switching to the |
I did a cursory search and couldn't find that I don't use ZFS but you could configure docker to use a different partition for its storage that supports "overlay2". |
FWIW I think you'd want to Here's a snippet that'll strip out a lot of noise: strace -f -p (worker pid) -e '!futex,restart_syscall,epoll_wait,select,getdents64,close,sched_yield,epoll_ctl,accept4,setsockopt,getsockname' |
I'm running into same issue - NixOS 19.09 and ZFS. I'll try debugging this... |
So I assume that worker strictly attempts to use overlayfs. I'm not entirely sure how Concourse works internally yet, but I'll try to feed an ext4 based workdir hosted on ZFS zvol to worker instead. |
Yeah that seems to work.
zfs create -V 10g rpool/concourse-workdir0-ext4
mkfs.ext4 /dev/zvol/rpool/concourse-workdir0-ext4
Into configuration.nix, add: fileSystems."/mnt/concourse-workdir0" = {
device = "/dev/zvol/rpool/concourse-workdir0-ext4";
fsType = "ext4";
};
|
We are seeing this error very frequently in the Spring Boot builds. We are running v5.7.2 on In
In
The error arrives at the end of builds. The pipelines use https://concourse-ci.org/tasks.html#task-caches to cache dependencies between runs. We considered underlying server load, so enabled We can re-recreate all of the workers to make the issue go way for a few days, but it eventually comes back. We see a clear pattern of the error re-surfacing after a number of green builds. reported in #concourse-operations. |
I started seeing this error after upgrading from concourse 6.1.0 to 6.7.1. I have downgraded back to 6.1.0. Only resources using custom resource types are affected. I am running my workers on Flatcar Linux (successor of the defunct CoreOS) as a docker container started by a systemd unit. I have tried setting the baggageclaim driver to overlay and naive with the same results as the default value. I have tried mounting a volume in the container and using it as the work directory with the same results. The kernel is 5.4.77-flatcar. The filesystem is ext4 and there is plenty of space. The docker is version 19.03.12 running with defaults plus a registry mirror. Here is the systemd unit that I use to start the worker container:
|
I've isolated the problem to the upgrade from 6.6.0 to 6.7.1. All concourse minor versions fro 6.1.0 though 6.6.0 are able to process resources with a custom resource type correctly. |
I've got Concourse running on a NixOS 18.03 VPS inside docker-compose, and this is working fine. I'm now trying to deploy exactly the same Concourse configuration to another NixOS 18.03 machine, but aren't having any luck. I'm using the same docker-compose file, and the same pipelines.
The new machine gives errors about being unable to create volumes:
The
concoursefiles-git
resource it's failing to create a volume for there is a normal git resource. The other resources in the pipeline are failing with the same error.The pipeline is here: https://github.com/barrucadu/concoursefiles/blob/master/pipelines/ci.yml
This is the docker-compose file:
I'm using the latest
concourse/concourse
image, as I set this up today. The version of docker is 18.09.2 (build 62479626f213818ba5b4565105a05277308587d5). What can I look at to help debug this?The text was updated successfully, but these errors were encountered: