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 <victor.gluzromano@windriver.com>
This commit is contained in:
Victor Romano 2024-10-29 09:54:03 -03:00
parent 9bc64ca31c
commit 9240927b58

View File

@ -85,9 +85,9 @@ class sysinv::certmon (
'certmon/startup_audit_all': value => false; 'certmon/startup_audit_all': value => false;
'certmon/network_retry_interval': value => 180; 'certmon/network_retry_interval': value => 180;
'certmon/network_max_retry': value => 30; 'certmon/network_max_retry': value => 30;
'certmon/audit_batch_size': value => 10; 'certmon/audit_batch_size': value => 40;
'certmon/audit_greenpool_size': value => 4; 'certmon/audit_greenpool_size': value => 20;
'certmon/certificate_timeout_secs': value => 10; 'certmon/certificate_timeout_secs': value => 5;
} }
if $keystone_enabled { if $keystone_enabled {