From 09dcac618e460717b979ab990256f632592c306b 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 87dce6a3c40..89972960052 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 68e2f4c1401eb837a46fc45a837d5ee8c1fcc160 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-ostreecontainer.mount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/data/bootstrap/files/etc/systemd/system/var-ostreecontainer.mount b/data/data/bootstrap/files/etc/systemd/system/var-ostreecontainer.mount index 1c793bc3375..ed025f36fe2 100644 --- a/data/data/bootstrap/files/etc/systemd/system/var-ostreecontainer.mount +++ b/data/data/bootstrap/files/etc/systemd/system/var-ostreecontainer.mount @@ -7,4 +7,4 @@ ConditionPathExists=/run/ostree-live What=tmpfs Where=/var/ostreecontainer Type=tmpfs -Options=size=4G +Options=size=5G