Increase sysinv API timeout from 45 to 60 seconds

When the VIM issues a sysinv command, it will terminate the thread
and report a 'timed out' for the plugin activity if the command
takes longer than 45 seconds.

Under heavy load (10 hosts patching in parallel) sysinv can take longer
than 45 seconds to generate the hieradata for an unlock, and therefore
the patch strategy can fail.

This fix bumps the value up to 60.

Any future improvements will focus on speeding up the generation
of sysinv hieradata.

Closes-Bug: 1986972
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I1dbb6f1e3c5529de9199dea8453f32e954da2f51
This commit is contained in:
Al Bailey 2022-08-18 15:35:17 +00:00
parent fc1aff636d
commit 1861fe9af8
2 changed files with 2 additions and 2 deletions

View File

@ -123,5 +123,5 @@ neutron.disable_host_services=40
neutron.delete_host_services=40
glance.upload_image_data_by_file=180
glance.upload_image_data_by_url=180
sysinv=45
sysinv=60
patching.apply_patch=180

View File

@ -14,7 +14,7 @@ DLOG = debug.debug_get_logger('nfv_plugins.nfvi_plugins.openstack.sysinv')
# WARNING: Any change to this timeout must be reflected in the config.ini
# file for the nfvi plugins.
REST_API_REQUEST_TIMEOUT = 45
REST_API_REQUEST_TIMEOUT = 60
KUBE_ROOTCA_UPDATE_ENDPOINT = "/kube_rootca_update"