Page MenuHomeVyOS Platform

containers storage doesn't cleanup
In progress, Requires assessmentPublicBUG

Description

The current containers storage located in /config/containers/storage/
It copies the images between updates, but it can't properly clean up the old data/garbage, even when the old VyOS images were deleted.

24K	/config/containers/storage/vfs/dir/ce6df2d4d10331a0e4dd12f663389e43e2b18fa48d695ec74af52af93ba8abf9/usr/share/GConf/gsettings
28K	/config/containers/storage/vfs/dir/ce6df2d4d10331a0e4dd12f663389e43e2b18fa48d695ec74af52af93ba8abf9/usr/share/GConf
1.1G	/config/containers/storage/vfs/dir/ce6df2d4d10331a0e4dd12f663389e43e2b18fa48d695ec74af52af93ba8abf9
6.5G	/config/containers/storage/vfs/dir
6.5G	/config/containers/storage/vfs
[email protected]:~$ 
[email protected]:~$ 
[email protected]:~$ sudo podman image ls --all
REPOSITORY  TAG     IMAGE ID  CREATED  SIZE
[email protected]:~$ 
[email protected]:~$ sudo podman image rm --all
[email protected]:~$ 
[email protected]:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            2.0G     0  2.0G   0% /dev
tmpfs           395M  1.5M  393M   1% /run
/dev/vda1       7.8G  7.3G   62M 100% /usr/lib/live/mount/persistence
/dev/loop0      408M  408M     0 100% /usr/lib/live/mount/rootfs/1.4-rolling-202111150317.squashfs
tmpfs           2.0G     0  2.0G   0% /usr/lib/live/mount/overlay
overlay         7.8G  7.3G   62M 100% /

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202111150317
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to In progress.May 8 2022, 5:20 PM
c-po claimed this task.