1 From: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
2 Date: Mon, 9 May 2016 18:54:33 -0700
3 Subject: [PATCH] Increase maximum shell command timeout to 2h
5 Since `execute_shell_command` mcagent is used for building the target
6 image and the timeout provided in the astute task is just respected on
7 the Astute level (on mcollective level this timeout is actually a
8 minumum between value provided and ddl value) we need to increase it
11 Because Armband builds the target image via `qemu-debootstrap`, it can
12 take more than 1 hour to finish the building. Therefore aside of
13 increasing the timeout in the Astute task, the maximum timeout value
14 for mcagent has to be increased.
16 Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
18 mcagents/execute_shell_command.ddl | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 diff --git a/mcagents/execute_shell_command.ddl b/mcagents/execute_shell_command.ddl
22 index 0480be7..ad58046 100644
23 --- a/mcagents/execute_shell_command.ddl
24 +++ b/mcagents/execute_shell_command.ddl
25 @@ -4,5 +4,5 @@ metadata :name => "Execute shell command",
26 :url => "http://mirantis.com",
30 action "execute", :description => "Execute shell command" do