Skip to content

Resource processor disk full #4835

@JC-wk

Description

@JC-wk

Describe the bug
vmss resource processor disk (64GB) is full
write /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/717/fs/cnab/app/.cnab/app/runtimes/porter-runtime: no space left on device

adminuser@vmss-rp-porter-00000X:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        62G   61G  1.3G  99% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           774M  1.1M  773M   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
efivarfs        128K   40K   84K  33% /sys/firmware/efi/efivars
/dev/sda15      105M  6.1M   99M   6% /boot/efi
/dev/sdb1       7.8G   28K  7.4G   1% /mnt
tmpfs           387M  4.0K  387M   1% /run/user/1000

caused by docker images filling the disk

adminuser@vmss-rp-porter-axdev25052800000X:~$ docker system df
TYPE            TOTAL     ACTIVE    SIZE      RECLAIMABLE
Images          33        1         61.81GB   1.434GB (2%)
Containers      1         1         5.423MB   0B (0%)
Local Volumes   0         0         0B        0B
Build Cache     0         0         0B        0B

Steps to reproduce

  1. observe error deploying resource
  2. check resource processor disk space df -h
  3. run hourly cron doesn't clean up any space

Azure TRE release version (e.g. v0.14.0 or main):
main

Deployed Azure TRE components - click the (i) in the UI:
latest

Workaround

Run docker image prune -a -f manually or add it to the cron script sudo nano /etc/cron.hourly/docker-prune

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions