Increase orchestrator max_overflow

This commit increases the max_overflow for dcmanager's orchestrator from
1,000 to 2,500 to avoid QueuePool errors when executing a strategy for a
large number of subclouds.

Test plan:
1. PASS: Run DC orchestration in scale and verify that there are no
   QueuePool errors

Closes-bug: 2085560

Change-Id: I77e3b39e654cab12c54bc58a4c90c05ab4ea0a62
Signed-off-by: Raphael Lima <Raphael.Lima@windriver.com>
This commit is contained in:
Raphael Lima 2024-10-24 14:36:35 -03:00
parent 2b1e8fcc45
commit 6b9b7b00e6

View File

@ -57,7 +57,7 @@ def main():
# Override values from /etc/dcmanager/dcmanager.conf specific
# to dcmanager-orchestrator:
cfg.CONF.set_override("max_pool_size", 5, group="database")
cfg.CONF.set_override("max_overflow", 1000, group="database")
cfg.CONF.set_override("max_overflow", 2500, group="database")
LOG.info("Starting...")
LOG.debug("Configuration:")
CONF.log_opt_values(LOG, logging.DEBUG)