AndreCox / PIBaker

Create Custom Raspberry Pi Images Easily
GNU General Public License v3.0
39 stars 6 forks source link

failed to register layer: ApplyLayer exit status 1 stdout: stderr: write /usr/lib/modules/5.4.0-91-generic/kernel/drivers/net/ethernet/netronome/nfp/nfp.ko: no space left on device #2

Closed mcuadros closed 4 months ago

mcuadros commented 1 year ago

python setup.py fails always with the following error:

failed to register layer: ApplyLayer exit status 1 stdout:  stderr: write /usr/lib/modules/5.4.0-91-generic/kernel/drivers/net/ethernet/netronome/nfp/nfp.ko: no space left on device
Docker version 23.0.1, build a5ee5b1dfc
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  7.168kB
Step 1/7 : FROM alpine:3.7
 ---> 6d1ef012b567
Step 2/7 : ENV ANSIBLE_VERSION=2.9.9
 ---> Using cache
 ---> 5a7b154387ed
Step 3/7 : ENV BUILD_PACKAGES         bash         curl         tar         nano         openssh-client         sshpass         git         python         py-boto         py-dateutil         py-httplib2         py-jinja2         py-paramiko         py-pip         py-setuptools         py-yaml         ca-certificates
 ---> Using cache
 ---> 5d38db6f39c2
Step 4/7 : RUN apk --update add --virtual build-dependencies         gcc         musl-dev         libffi-dev         openssl-dev         python-dev &&     set -x &&     apk update && apk upgrade &&     apk add --no-cache ${BUILD_PACKAGES} &&     pip install --upgrade pip &&     pip install python-keyczar docker-py boto3 botocore &&     apk del build-dependencies &&     rm -rf /var/cache/apk/* &&     mkdir -p /etc/ansible/ /ansible &&     echo "[local]" >> /etc/ansible/hosts &&     echo "localhost" >> /etc/ansible/hosts &&     curl -fsSL https://releases.ansible.com/ansible/ansible-${ANSIBLE_VERSION}.tar.gz -o ansible.tar.gz &&     tar -xzf ansible.tar.gz -C /ansible --strip-components 1 &&     rm -fr ansible.tar.gz /ansible/docs /ansible/examples /ansible/packaging
 ---> Using cache
 ---> 0df77c1aef38
Step 5/7 : ENV ANSIBLE_GATHERING=smart     ANSIBLE_HOST_KEY_CHECKING=false     ANSIBLE_RETRY_FILES_ENABLED=false     ANSIBLE_ROLES_PATH=/ansible/playbooks/roles     ANSIBLE_SSH_PIPELINING=True     PYTHONPATH=/ansible/lib     PATH=/ansible/bin:$PATH     ANSIBLE_LIBRARY=/ansible/library     EDITOR=nano
 ---> Using cache
 ---> d6cb7884a1a1
Step 6/7 : WORKDIR /ansible/playbooks
 ---> Using cache
 ---> 3784c3e73a45
Step 7/7 : ENTRYPOINT ["ansible-playbook"]
 ---> Using cache
 ---> c226f0694307
Successfully built c226f0694307
Successfully tagged andrerc1/ansible:latest
[+] Running 5/14
 ⠋ pi-emulator Pulling                                                                                                                                                                                        475.0s
   ⠿ 7b1a6ab2e44d Pull complete                                                                                                                                                                                14.6s
   ⠿ 2221fcc17923 Pull complete                                                                                                                                                                                14.8s
   ⠿ a3815e66d3f7 Pull complete                                                                                                                                                                               420.5s
   ⠿ 71598eb5fea3 Pull complete                                                                                                                                                                               420.7s
   ⠿ 5f7595dbc2fc Pull complete                                                                                                                                                                               420.8s
   ⠼ 6bd388054970 Extracting      [==================================================>]  737.4MB/737.4MB                                                                                                      473.3s
   ⠼ 9d65f8061e1e Download complete                                                                                                                                                                           473.3s
   ⠼ 3144056644c9 Download complete                                                                                                                                                                           473.3s
   ⠼ 6d26f5cec7e4 Download complete                                                                                                                                                                           473.3s
   ⠼ 84e6e0766dfa Download complete                                                                                                                                                                           473.3s
   ⠼ 9b3554a35442 Download complete                                                                                                                                                                           473.3s
   ⠼ 05be2ce77f69 Download complete                                                                                                                                                                           473.3s
   ⠼ b2857d08607f Download complete                                                                                                                                                                           473.3s
failed to register layer: ApplyLayer exit status 1 stdout:  stderr: write /usr/lib/modules/5.4.0-91-generic/kernel/drivers/net/ethernet/netronome/nfp/nfp.ko: no space left on device

Running on a X1 Carbon based on Arch

Linux mcuadros-x1 6.2.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 03 Mar 2023 15:58:31 +0000 x86_64 GNU/Linux
AndreCox commented 1 year ago

From the looks of things I think you are running out of space on one of your drives. Would it be possible to test on another machine?

AndreCox commented 1 year ago

The program does download a lot of data in the gigabytes so it may be causing some issues.

AndreCox commented 4 months ago

Since there has been no response I will close this issue now.