summaryrefslogtreecommitdiffstats
path: root/patches/fuel-astute/0001-Increase-maximum-shell-command-timeout-to-2h.patch
diff options
context:
space:
mode:
authorStanislaw Kardach <stanislaw.kardach@cavium.com>2016-05-14 23:55:11 -0700
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-05-16 11:47:25 +0000
commite18f9779ab00fee7f31dd1ad9002dd7b799657a8 (patch)
tree8b4e13747c43c3085c7b7418882f49deddef479e /patches/fuel-astute/0001-Increase-maximum-shell-command-timeout-to-2h.patch
parent39f77acb6d4cdcbea04a817b01f67cad8f202c1d (diff)
Fix improperly exported patches
Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
Diffstat (limited to 'patches/fuel-astute/0001-Increase-maximum-shell-command-timeout-to-2h.patch')
-rw-r--r--patches/fuel-astute/0001-Increase-maximum-shell-command-timeout-to-2h.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/fuel-astute/0001-Increase-maximum-shell-command-timeout-to-2h.patch b/patches/fuel-astute/0001-Increase-maximum-shell-command-timeout-to-2h.patch
new file mode 100644
index 00000000..d7048954
--- /dev/null
+++ b/patches/fuel-astute/0001-Increase-maximum-shell-command-timeout-to-2h.patch
@@ -0,0 +1,33 @@
+From: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
+Date: Mon, 9 May 2016 18:54:33 -0700
+Subject: [PATCH] Increase maximum shell command timeout to 2h
+
+Since `execute_shell_command` mcagent is used for building the target
+image and the timeout provided in the astute task is just respected on
+the Astute level (on mcollective level this timeout is actually a
+minumum between value provided and ddl value) we need to increase it
+for Armband operation.
+
+Because Armband builds the target image via `qemu-debootstrap`, it can
+take more than 1 hour to finish the building. Therefore aside of
+increasing the timeout in the Astute task, the maximum timeout value
+for mcagent has to be increased.
+
+Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
+---
+ mcagents/execute_shell_command.ddl | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mcagents/execute_shell_command.ddl b/mcagents/execute_shell_command.ddl
+index 0480be7..ad58046 100644
+--- a/mcagents/execute_shell_command.ddl
++++ b/mcagents/execute_shell_command.ddl
+@@ -4,7 +4,7 @@ metadata :name => "Execute shell command",
+ :license => "Apache License 2.0",
+ :version => "8.0.0",
+ :url => "http://mirantis.com",
+- :timeout => 3600
++ :timeout => 7200
+
+ action "execute", :description => "Execute shell command" do
+