Extend timeout of patching REST API
In an extreme case, the patching operation failed due to heavy network traffic. This commit extends the timeout of patching REST API to 900s to pass this scenario. Test: 1 Deploy a DC with this change. 2 Patch the subclouds with patch orchestration. Closes-Bug: 1978857 Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com> Change-Id: I921dc98404805d60dfa1199cbf893cca91c3d637
This commit is contained in:
parent
594806a2a6
commit
4114969a0c
@ -29,7 +29,7 @@ PATCH_STATE_PARTIAL_APPLY = 'Partial-Apply'
|
||||
PATCH_STATE_PARTIAL_REMOVE = 'Partial-Remove'
|
||||
PATCH_STATE_COMMITTED = 'Committed'
|
||||
PATCH_STATE_UNKNOWN = 'n/a'
|
||||
PATCH_REST_DEFAULT_TIMEOUT = 600
|
||||
PATCH_REST_DEFAULT_TIMEOUT = 900
|
||||
|
||||
|
||||
class PatchingClient(base.DriverBase):
|
||||
|
Loading…
x
Reference in New Issue
Block a user