Merge "Extend the lookup timeout to 600 seconds"

This commit is contained in:
Zuul 2023-09-22 12:35:00 +00:00 committed by Gerrit Code Review
commit 23c8427224
2 changed files with 10 additions and 1 deletions

View File

@ -121,7 +121,7 @@ cli_opts = [
cfg.IntOpt('lookup_timeout', cfg.IntOpt('lookup_timeout',
min=0, min=0,
default=int(APARAMS.get('ipa-lookup-timeout', 300)), default=int(APARAMS.get('ipa-lookup-timeout', 600)),
help='The amount of time to retry the initial lookup ' help='The amount of time to retry the initial lookup '
'call to Ironic. After the timeout, the agent ' 'call to Ironic. After the timeout, the agent '
'will exit with a non-zero exit code. ' 'will exit with a non-zero exit code. '

View File

@ -0,0 +1,9 @@
---
fixes:
- |
The default timeout value for the agent to lookup itself in an Ironic
deployment has been extended to 600 seconds from 300 seconds. This is
to provide better stability for Ironic deployments under heavy load
which may be unable to service new requests. This is particularly true
when the backing database is SQLite for Ironic due to the limited write
concurrency of the database.