concourse / concourse-docker

Offical concourse/concourse Docker image.
Apache License 2.0
241 stars 153 forks source link

Failed to create btrfs filesystem on Kind cluster. #85

Closed Jaypers closed 1 year ago

Jaypers commented 1 year ago

Environment:

Component Value
OS: Ubuntu 22.04.1 LTS (with cgroups v2 still enabled)
Kernel: 5.15.0-52-generic
Kubernetes: Kind v0.16.0
Concourse: v7.8.3
Deployment method: Helm
Runtime: containerd
Baggageclaim Driver: btrfs
Worker count: 2

Description After installing Concourse both of the worker pods present this error:

{"timestamp":"2022-10-24T11:07:20.385058103Z","level":"error","source":"baggageclaim","message":"baggageclaim.failed-to-set-up-driver","data":{"error":"failed to create btrfs filesystem: exit status 1"}}
error: failed to create btrfs filesystem: exit status 1

After rebooting the server one pod concourse-worker-1 comes up but concourse-worker-0 does not. It still has the below error in its logs:

{"timestamp":"2022-10-24T11:07:20.385058103Z","level":"error","source":"baggageclaim","message":"baggageclaim.failed-to-set-up-driver","data":{"error":"failed to create btrfs filesystem: exit status 1"}}
error: failed to create btrfs filesystem: exit status 1

When Concourse checks for repo resource using concourse-worker-1 it fails with below:

selected worker: concourse-worker-1

run check: find or create container on worker concourse-worker-1: starting task: new task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "sysfs" to rootfs at "/sys": mount sysfs:/sys (via /proc/self/fd/11), flags: 0xf: operation not permitted: unknown
Jaypers commented 1 year ago

Recreated issue here: https://github.com/concourse/concourse/issues/8603 Closing as duplicate.