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
{{ message }}
Repository navigation
Worker does not recover if btrfs volume is still mounted #7430
If a worker is initially deployed using the btrfs driver and then switches to overlay as the driver, there's nothing to remove the btrfs mount (to workdir/volumes), which seems to cause issues with the overlay driver.
Steps to reproduce
Deploy concourse with CONCOURSE_BAGGAGECLAIM_DRIVER: btrfs
Set a pipeline with a resource and run a check
Re-deploy concourse with CONCOURSE_BAGGAGECLAIM_DRIVER: overlay
Run mount
NOTE: You can't use docker-compose for these deployments as the container would be recreated at this point, getting rid of all of the mounts
Expected results
The btrfs mount to /work-dir/volumes is gone
Actual results
It remains after deploying with overlay, causing issues
Additional context
We observed this in our bin-smoke job. The worker process reported the following errors:
"worker.garden.garden-server.run.failed","data":{"error":"proc start: OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: read init-p: connection reset by peer: unknown"
error":"run check: check: exec failed: container_linux.go:380: starting container process caused: exec: \"/opt/resource/check\": stat /opt/resource/check: no such file or directory
When we took a look at the rootfs volume, we noticed that the lower dir (in this case, the volume for the mock base resource type) was empty, hence the missing /opt/resource/check binary.
Activity