Skip to content

Tekton Buildah Task failed No Space left On device #1305

@tppalani

Description

@tppalani

Expected Behavior

Buildah docker build task from tekton source workspace inside this i have Dockerfile to build the app layers. I have 10Gi space you can refer the workspace path location /workspace/source

Actual Behavior

Steps to Reproduce the Problem

disk space check i have noticed overlay is used for 100% but main workspace we have lot of space is availbile.

Filesystem                         Size  Used Avail Use% Mounted on
overlay                             59G   59G     0 100% /
tmpfs                               64M     0   64M   0% /dev
tmpfs                              7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/nvme0n1p1                      60G  8.0G   53G  14% /workspace
tmpfs                               15G  8.0K   15G   1% /tekton/creds
/dev/mapper/vg.docker-lv.dockerfs   59G   59G     0 100% /etc/hostname
tmpfs                               15G  4.0K   15G   1% /workspace/dockerconfig
shm                                 64M     0   64M   0% /dev/shm
/dev/nvme2n1                       9.8G   55M  9.7G   1% /workspace/source
tmpfs                               15G  8.0K   15G   1% /tekton/creds-secrets/bitbucket-secret
tmpfs                               15G   12K   15G   1% /run/secrets/kubernetes.io/serviceaccount
tmpfs                              7.8G     0  7.8G   0% /proc/acpi
tmpfs                              7.8G     0  7.8G   0% /sys/firmware

Tekton Task yaml

buildah --storage-driver=$(params.STORAGE_DRIVER) bud --format=$(params.FORMAT) --no-cache -f $(params.DOCKERFILE) -t $(params.IMAGE)

Error logs

Copying blob sha256:64c1fd37906bb3f2ed67579acf26337afe3999f7bcac3851b73f2252dfea2cec
Error: creating build container: copying system image from manifest list: writing blob: adding layer with blob "sha256:148a3ed2f70ea72bafab6a24598d47682ae82214e6b84b09c69960fdd727465b": processing tar file(mkdir /usr/lib/.build-id/bb: no space left on device): exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions