Commit 57892c6
committed
OCPBUGS-62790: Resize /var tmpfs to 10GiB for ABI installations
Agent-based installations on vSphere with 16GB RAM were failing with
"no space left on device" errors during ostree image operations. The
live ISO environment uses a tmpfs mounted at /var that is sized at 50%
of available RAM. On systems with 16GB RAM, this provides only 8GB of
tmpfs space.
During the bootstrap process, node-image-pull.sh creates a temporary
ostree repository in /var/ostree-container/repo to pull and apply the
node image. This operation has a peak tmpfs usage of approximately
8.5-9GB, exceeding the available 8GB and causing ENOSPC errors.
This fix resizes the /var tmpfs to 10GiB before creating the temporary
ostree repository, providing sufficient space for the image operations
while maintaining compatibility with the minimum 16GB RAM requirement.
The resize is performed using systemd-run to escape the mount namespace
and only affects systems running in the live environment (detected by
the presence of /run/ostree-live).
Assisted-by: Claude Code1 parent 5684032 commit 57892c6
File tree
1 file changed
+5
-0
lines changed- data/data/bootstrap/files/usr/local/bin
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
0 commit comments