From 9240927b58dbe85252561102945ce805dd7a315f Mon Sep 17 00:00:00 2001 From: Victor Romano Date: Tue, 29 Oct 2024 09:54:03 -0300 Subject: [PATCH] Adjust certmon parameters for scalability To reduce the time it takes to audit subclouds by certmon, the number of subclouds that can be audited in parallel was increased from 4 to 20 and the timeout to check if it's possible to establish a connection was reduced from 10 to 5. Test plan: - PASS: Lock/unlock a system controller with these changes and verify the config file was correctly updated and certmon is auditing subclouds successfully Partial-bug: 2085540 Change-Id: I01be5a7b50598e6ba97878e71eb84f1472673deb Signed-off-by: Victor Romano --- modules/puppet-sysinv/src/sysinv/manifests/certmon.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/puppet-sysinv/src/sysinv/manifests/certmon.pp b/modules/puppet-sysinv/src/sysinv/manifests/certmon.pp index 6348d1498..c7b4c597f 100644 --- a/modules/puppet-sysinv/src/sysinv/manifests/certmon.pp +++ b/modules/puppet-sysinv/src/sysinv/manifests/certmon.pp @@ -85,9 +85,9 @@ class sysinv::certmon ( 'certmon/startup_audit_all': value => false; 'certmon/network_retry_interval': value => 180; 'certmon/network_max_retry': value => 30; - 'certmon/audit_batch_size': value => 10; - 'certmon/audit_greenpool_size': value => 4; - 'certmon/certificate_timeout_secs': value => 10; + 'certmon/audit_batch_size': value => 40; + 'certmon/audit_greenpool_size': value => 20; + 'certmon/certificate_timeout_secs': value => 5; } if $keystone_enabled {