We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there I'm trying to bring up concourse with the docker-compose file but its failing to bring up the worker
{ "timestamp":"2021-04-28T13:24:16.201601866Z", "level":"error", "source":"baggageclaim", "message":"baggageclaim.fs.run-command.failed", "data":{ "args":[ "bash", "-e", "-x", "-c", "\n\t\tif [ ! -e $IMAGE_PATH ] || [ \"$(stat --printf=\"%s\" $IMAGE_PATH)\" != \"$SIZE_IN_BYTES\" ]; then\n\t\t\ttouch $IMAGE_PATH\n\t\t\ttruncate -s ${SIZE_IN_BYTES} $IMAGE_PATH\n\t\tfi\n\n\t\tlo=\"$(losetup -j $IMAGE_PATH | cut -d':' -f1)\"\n\t\tif [ -z \"$lo\" ]; then\n\t\t\tlo=\"$(losetup -f --show $IMAGE_PATH)\"\n\t\tfi\n\n\t\tif ! file $IMAGE_PATH | grep BTRFS; then\n\t\t\tmkfs.btrfs --nodiscard $IMAGE_PATH\n\t\tfi\n\n\t\tmkdir -p $MOUNT_PATH\n\n\t\tif ! mountpoint -q $MOUNT_PATH; then\n\t\t\tmount -t btrfs -o discard $lo $MOUNT_PATH\n\t\tfi\n\t" ], "command":"/bin/bash", "env":[ "PATH=/usr/local/concourse/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "MOUNT_PATH=/worker-state/volumes", "IMAGE_PATH=/worker-state/volumes.img", "SIZE_IN_BYTES=4817158144" ], "error":"exit status 1", "session":"3.1", "stderr":"+ '[' '!' -e /worker-state/volumes.img ']'\n+ touch /worker-state/volumes.img\n+ truncate -s 4817158144 /worker-state/volumes.img\n++ losetup -j /worker-state/volumes.img\n++ cut -d: -f1\n+ lo=\n+ '[' -z '' ']'\n++ losetup -f --show /worker-state/volumes.img\nlosetup: /worker-state/volumes.img: failed to set up loop device: No such file or directory\n+ lo=\n", "stdout":"" } }
To get round it I changed the driver to be detect (I commented it out to get the error again)
Happy to PR if you think that should be the default for the docker-compose file
I'm running centos 7 running 5.7.10-1
Thanks
Gary
The text was updated successfully, but these errors were encountered:
That's odd since the default is detect in the binary. I wonder why adding that worked for you?
detect
Sorry, something went wrong.
No branches or pull requests
Hi there
I'm trying to bring up concourse with the docker-compose file but its failing to bring up the worker
To get round it I changed the driver to be detect (I commented it out to get the error again)
Happy to PR if you think that should be the default for the docker-compose file
I'm running centos 7 running 5.7.10-1
Thanks
Gary
The text was updated successfully, but these errors were encountered: