Bug 1824984

Summary: fedora iot should have overlayfs to save diskspace
Product: [Fedora] Fedora Reporter: Ilkka Tengvall <ikke>
Component: IoTAssignee: Peter Robinson <pbrobinson>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 31   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-16 20:08:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ilkka Tengvall 2020-04-16 19:18:10 UTC
Description of problem:

Not having fuse-overlayfs installed wastes lot of diskspace while pulling container images as user.

Version-Release number of selected component (if applicable): 31


How reproducible: Every time


Steps to Reproduce:
1. as user: docker pull ansible/awx_task:10.0.0


Actual results:

My 15GB LV got full and I didn't receive 2GB image.

Expected results:

```
REPOSITORY                                 TAG      IMAGE ID       CREATED        SIZE
docker.io/ansible/awx_task                 10.0.0   a968a1c4d9fd   2 weeks ago    2.1 GB
```


Additional info:

See this podman issue: https://github.com/containers/libpod/issues/5806

The fix is to

```
sudo rpm-ostree install fuse-overlayfs
```

Which helps to reduce diskspace by using overlayfs instead of vfs. I see this as mandatory addition to Fedora-IoT image, as the sole purpose of the release is to run containers. And without overlayfs the usage is very suboptimal.

Comment 1 Peter Robinson 2020-04-16 19:37:23 UTC
We've added this to IoT on F-32 already, is this F-31?

Comment 2 Ilkka Tengvall 2020-04-16 20:07:28 UTC
Yes, 31. Excellent, thanks.