From 3593869b01b50f70a502a5097660af807b59ebdf Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Thu, 23 Jun 2022 08:53:12 -0400 Subject: [PATCH] cmdlib: bump supermin VM memory to 3G Something has changed recently which causes us to hit the ENOMEM issue more easily now: https://github.com/openshift/os/issues/594#issuecomment-1163549882 Mid-term, we could rework the compose so that only the OCI archive is pulled through 9p rather than a full `pull-local`. Long-term, the fix is to stop using 9p. But for now to unblock CI, let's just bump the VM memory to 3G which should help. --- src/cmdlib.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cmdlib.sh b/src/cmdlib.sh index 2fbd40eaaa..9f9be95e97 100755 --- a/src/cmdlib.sh +++ b/src/cmdlib.sh @@ -651,7 +651,9 @@ EOF # There seems to be some false positives in shellcheck # https://github.com/koalaman/shellcheck/issues/2217 - memory_default=2048 + # If this is too low, we can hit ENOMEM issues in the guest kernel related + # to a 9p memory bug: https://github.com/openshift/os/issues/594 + memory_default=3072 # shellcheck disable=2031 case $arch in # Power 8 page faults with 2G of memory in rpm-ostree