Increase target image build timeout 75/13575/1
authorStanislaw Kardach <kda@semihalf.com>
Thu, 21 Apr 2016 22:42:04 +0000 (15:42 -0700)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 2 May 2016 14:37:14 +0000 (14:37 +0000)
Currently we're close to 40 minutes of image building (thanks to
qemu-debootstrap). If network connectivity is a bit slow (happened to
me) it's easy to go over 1h limit. Therefore let's push this to 2 hours
to be safer.

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
(cherry picked from commit 8bbaf656043e99b265487dfc9c85ac37ca17abba)

Change-Id: I47069e7e67fb7c68f639e5089e346bdb78c0ae39

patches/fuel-web/0007-Increase-target-image-build-timeout.patch [new file with mode: 0644]

diff --git a/patches/fuel-web/0007-Increase-target-image-build-timeout.patch b/patches/fuel-web/0007-Increase-target-image-build-timeout.patch
new file mode 100644 (file)
index 0000000..218f033
--- /dev/null
@@ -0,0 +1,27 @@
+From: Stanislaw Kardach <kda@semihalf.com>
+Date: Thu, 21 Apr 2016 15:36:27 -0700
+Subject: [PATCH] Increase target image build timeout
+
+Currently we're close to 40 minutes of image building (thanks to
+qemu-debootstrap). If network connectivity is a bit slow (happened to
+me) it's easy to go over 1h limit. Therefore let's push this to 2 hours
+to be safer.
+
+Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
+---
+ nailgun/nailgun/settings.yaml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/nailgun/nailgun/settings.yaml b/nailgun/nailgun/settings.yaml
+index 495a9c3..ac52141 100644
+--- a/nailgun/nailgun/settings.yaml
++++ b/nailgun/nailgun/settings.yaml
+@@ -85,7 +85,7 @@ COLLECTOR_INST_INFO_URL: "https://{collector_server}/api/v1/installation_structu
+ COLLECTOR_OSWL_INFO_URL: "https://{collector_server}/api/v1/oswl_stats/"
+ COLLECTOR_PING_URL: "https://{collector_server}/api/v1/ping/"
+-PROVISIONING_IMAGES_BUILD_TIMEOUT: 3600
++PROVISIONING_IMAGES_BUILD_TIMEOUT: 7200
+ PROVISIONING_IMAGES_PATH: "/var/www/nailgun/targetimages"
+ REPO_PRIORITIES: