Increasing default timeouts from 5m to 2H for orchestrators.
Orchestrate job may run more than 5m.
If timeout is not specified, job will fail with 504 Gateway Timeout
error.
Change-Id: I81bcd968b371b50cb43f3651b22ed776e9fca2ad
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy
index 4278be6..88146fa 100644
--- a/src/com/mirantis/mk/Salt.groovy
+++ b/src/com/mirantis/mk/Salt.groovy
@@ -671,7 +671,7 @@
* @return output of salt command
*/
def orchestrateSystem(saltId, target, orchestrate=[], kwargs = null) {
- return runSaltCommand(saltId, 'runner', target, 'state.orchestrate', true, orchestrate, kwargs, -1, -1)
+ return runSaltCommand(saltId, 'runner', target, 'state.orchestrate', true, orchestrate, kwargs, 7200, 7200)
}
/**