Increase timed out for cert-mon certificate installation
Cert-mon can fail to install certificates during host-unlock because this can be a busy moment for the system, especially for sysinv. This happens when the system is under stress with high CPU load ( usually in virtual environments where many vms are running in parallel). This change only affects the cert-mon rest client. Test plan: PASS: Check if cert-mon is able to install certificates on host-unlock under high CPU load Story: 2009834 Task: 46166 Change-Id: I4ae92aa8d07e717401e815ac156dc60233383e14 Signed-off-by: Karla Felix <karla.karolinenogueirafelix@windriver.com>
This commit is contained in:
parent
2324cf7a6f
commit
1bcbede214
@ -251,7 +251,7 @@ def update_subcloud_status(token, subcloud_name, status):
|
||||
|
||||
|
||||
def rest_api_request(token, method, api_cmd,
|
||||
api_cmd_payload=None, timeout=30):
|
||||
api_cmd_payload=None, timeout=45):
|
||||
"""
|
||||
Make a rest-api request
|
||||
Returns: response as a dictionary
|
||||
|
Loading…
x
Reference in New Issue
Block a user