From 63320022a2f6156b6f9a038790f713bc861be380 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Mon, 1 Dec 2025 16:15:05 +1300 Subject: [PATCH] Restore agent MASTER_MEMORY default to 16GiB The default MASTER_MEMORY was changed in some agent scenarios in order to work around a problem in OKD where FCOS would use only 20% of RAM for the ephemeral storage instead of 50%. Other scenarios were later changed to match when tests started failing in 4.19 due to OCPBUGS-62790. Return the defaults to the minimum values validated by assisted-service in ABI, so that any future regressions like OCPBUGS-62790 are caught immediately. --- common.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/common.sh b/common.sh index 4b824798b..492425d27 100644 --- a/common.sh +++ b/common.sh @@ -454,28 +454,28 @@ if [[ ! -z ${AGENT_E2E_TEST_SCENARIO} ]]; then export NUM_MASTERS=5 export MASTER_VCPU=${MASTER_VCPU:-4} export MASTER_DISK=${MASTER_DISK:-100} - export MASTER_MEMORY=${MASTER_MEMORY:-24576} + export MASTER_MEMORY=${MASTER_MEMORY:-16384} export NUM_WORKERS=0 ;; "4CONTROL" ) export NUM_MASTERS=4 export MASTER_VCPU=${MASTER_VCPU:-4} export MASTER_DISK=${MASTER_DISK:-100} - export MASTER_MEMORY=${MASTER_MEMORY:-24576} + export MASTER_MEMORY=${MASTER_MEMORY:-16384} export NUM_WORKERS=0 ;; "COMPACT" ) export NUM_MASTERS=3 export MASTER_VCPU=${MASTER_VCPU:-4} export MASTER_DISK=${MASTER_DISK:-100} - export MASTER_MEMORY=${MASTER_MEMORY:-32768} + export MASTER_MEMORY=${MASTER_MEMORY:-16384} export NUM_WORKERS=0 ;; "TNA" ) export NUM_MASTERS=2 export MASTER_VCPU=${MASTER_VCPU:-8} export MASTER_DISK=${MASTER_DISK:-100} - export MASTER_MEMORY=${MASTER_MEMORY:-32768} + export MASTER_MEMORY=${MASTER_MEMORY:-16384} export NUM_ARBITERS=1 export ARBITER_VCPU=${ARBITER_VCPU:-2} export ARBITER_MEMORY=${ARBITER_MEMORY:-8192} @@ -486,7 +486,7 @@ if [[ ! -z ${AGENT_E2E_TEST_SCENARIO} ]]; then export NUM_MASTERS=2 export MASTER_VCPU=${MASTER_VCPU:-8} export MASTER_DISK=${MASTER_DISK:-100} - export MASTER_MEMORY=${MASTER_MEMORY:-32768} + export MASTER_MEMORY=${MASTER_MEMORY:-16384} export NUM_WORKERS=0 export ENABLE_TWO_NODE_FENCING="true" ;; @@ -494,7 +494,7 @@ if [[ ! -z ${AGENT_E2E_TEST_SCENARIO} ]]; then export NUM_MASTERS=3 export MASTER_VCPU=${MASTER_VCPU:-4} export MASTER_DISK=${MASTER_DISK:-100} - export MASTER_MEMORY=${MASTER_MEMORY:-32768} + export MASTER_MEMORY=${MASTER_MEMORY:-16384} export NUM_WORKERS=2 export WORKER_VCPU=${WORKER_VCPU:-4} export WORKER_DISK=${WORKER_DISK:-100} @@ -504,7 +504,7 @@ if [[ ! -z ${AGENT_E2E_TEST_SCENARIO} ]]; then export NUM_MASTERS=1 export MASTER_VCPU=${MASTER_VCPU:-8} export MASTER_DISK=${MASTER_DISK:-100} - export MASTER_MEMORY=${MASTER_MEMORY:-32768} + export MASTER_MEMORY=${MASTER_MEMORY:-16384} export NUM_WORKERS=0 export NETWORK_TYPE="OVNKubernetes" export AGENT_PLATFORM_TYPE="${AGENT_PLATFORM_TYPE:-"none"}"