From 0b392634899a15d75cd530edcd2cb77d93e8005c Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Fri, 13 Feb 2026 17:57:04 +1300 Subject: [PATCH 1/2] Log size of ostree repo after pulls --- .../bootstrap/files/usr/local/bin/node-image-pull.sh.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/data/bootstrap/files/usr/local/bin/node-image-pull.sh.template b/data/data/bootstrap/files/usr/local/bin/node-image-pull.sh.template index 7b321c3c9d0..247c245d793 100755 --- a/data/data/bootstrap/files/usr/local/bin/node-image-pull.sh.template +++ b/data/data/bootstrap/files/usr/local/bin/node-image-pull.sh.template @@ -39,6 +39,7 @@ if test -f /run/ostree-live; then if [ -d /ostree/repo/refs/heads/ostree/container ]; then echo "Importing base content from system repo for deduplication" ostree pull-local --repo="${ostree_repo}" /ostree/repo + df -h "${ostree_repo}" fi # but we won't be able to force hardlinks cross-device hardlink='' @@ -56,6 +57,7 @@ while ! ostree container image pull --authfile "/root/.docker/config.json" \ echo 'Failed to fetch release image; retrying...' sleep 10 done +df -h "${ostree_repo}" # ideally, `ostree container image pull` would support `--write-ref` or a # command to escape a pullspec, but for now it's pretty easy to tell which ref From b81fab98fa1e76e061f675b61e1b6069adbfa731 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Fri, 13 Feb 2026 18:00:25 +1300 Subject: [PATCH 2/2] OCPBUGS-70168: Increase size of /var/ostreecontainer mount Evidently on PPC64LE we need about 200MiB more space than a 4GiB volume can contain, despite the image we're pulling being only about 1.4GB. It's not clear why the system repo is (presumably) taking up so much space, but a 5GiB volume should be enough to contain it. Since a tmpfs only allocates RAM for space that is actually used, it should be safe to increase the allocation. If this causes us to actually run out of RAM, we will encounter that problem later (it may, however, be more difficult to debug). --- .../files/etc/systemd/system/var-ostree\\x2dcontainer.mount" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/data/data/bootstrap/files/etc/systemd/system/var-ostree\\x2dcontainer.mount" "b/data/data/bootstrap/files/etc/systemd/system/var-ostree\\x2dcontainer.mount" index 674eb2ba76a..2089f2e6404 100644 --- "a/data/data/bootstrap/files/etc/systemd/system/var-ostree\\x2dcontainer.mount" +++ "b/data/data/bootstrap/files/etc/systemd/system/var-ostree\\x2dcontainer.mount" @@ -7,4 +7,4 @@ ConditionPathExists=/run/ostree-live What=tmpfs Where=/var/ostree-container Type=tmpfs -Options=size=4G +Options=size=5G