Increase deploy delete timeout

Currently deploy delete phase uses default timeout of 60s,
which is not enough now that the upgrade scripts are executed
with action 'delete' during this phase.

This commit increases the timeout of this step to 5 minutes.

Test Plan
PASS: create sw-deploy-strategy and verify the timeout set
      for deploy delete phase is set to 5 minutes/300 seconds
PASS: e2e stx-10 to stx-11 orchestrated upgrade

Partial-bug: 2119671

Change-Id: Id89542e6fd8beebe79dbfe4d92b0cd66e059a91f
Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
This commit is contained in:
Heitor Matsui
2025-08-07 14:27:49 -03:00
parent e327c2e78d
commit 75d48c6a1b

View File

@@ -98,6 +98,7 @@ class nfv::nfvi (
$usm_timeout = 60,
$usm_sw_deploy_execute_timeout = 3600,
$usm_sw_deploy_rollback_timeout = 3600,
$usm_sw_deploy_delete_timeout = 300,
) {
include nfv::params
@@ -222,6 +223,7 @@ class nfv::nfvi (
'nfvi-timeouts/usm': value => $usm_timeout;
'nfvi-timeouts/usm.sw_deploy_execute': value => $usm_sw_deploy_execute_timeout;
'nfvi-timeouts/usm.sw_deploy_rollback': value => $usm_sw_deploy_rollback_timeout;
'nfvi-timeouts/usm.sw_deploy_delete': value => $usm_sw_deploy_delete_timeout;
}
if $identity_uri {