From ec5be10bed1773bc9abc6b3cc6d5d1170ecb843c Mon Sep 17 00:00:00 2001 From: Bhagyashri Shewale Date: Wed, 16 Sep 2020 11:06:08 +0530 Subject: [PATCH] Increase configure_swap_size to 8192 https://review.opendev.org/#/c/750941/ changes use dd and limit swap size to 1024MB in openstack-zuul-jobs configure_swap role, caused the OOM issue during container image prepare step. Earlier the swap size was 8192, in order to fix that, the configure-swap role variable configure_swap_size is setted to 8192 at playbook level and remove the vars defined at job level in https://review.opendev.org/751828 Change-Id: I80c1ee16662fa4e50e46f864d0e70847731449df Related-Bug: #1895290 Related-Bug: #1895288 Signed-off-by: Bhagyashri Shewale Co-authored-by: Chandan Kumar (raukadah) --- roles/prepare-node/tasks/main.yaml | 2 ++ zuul.d/base.yaml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/prepare-node/tasks/main.yaml b/roles/prepare-node/tasks/main.yaml index b1741666a..052fe386b 100644 --- a/roles/prepare-node/tasks/main.yaml +++ b/roles/prepare-node/tasks/main.yaml @@ -1,4 +1,6 @@ - name: Swap is essential as we are not meeting memory requirements + vars: + configure_swap_size: 8192 include_role: name: configure-swap diff --git a/zuul.d/base.yaml b/zuul.d/base.yaml index b20f7af6b..b7d145e32 100644 --- a/zuul.d/base.yaml +++ b/zuul.d/base.yaml @@ -181,7 +181,6 @@ environment_infra: osinfra environment_type: multinode common_featureset: featureset-multinode-common.yml - configure_swap_size: 4096 playbooks: - quickstart.yml - multinode-undercloud.yml