]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
windows: increase package install timeout 2240/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 16 May 2024 14:17:50 +0000 (17:17 +0300)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 16 May 2024 14:18:59 +0000 (17:18 +0300)
One "apt-get install" command times out after the default 30 seconds.
We'll increase the timeout to 10m.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
scripts/ceph-windows/setup_ceph_vstart

index 82fce8fb70a938049e91dd2e3e4a22190c218f51..12c42ab1b54401c75d3bed876de257b6228154aa 100644 (file)
@@ -44,7 +44,7 @@ chmod +x ${VSTART_DIR}/build-ceph-vstart.sh
 time rsync_cmd $WORKSPACE/ceph ${VSTART_DIR}/build-ceph-vstart.sh ${UBUNTU_SSH_USER}@${UBUNTU_VM_IP}:
 
 time SSH_TIMEOUT=4h ssh_exec ./build-ceph-vstart.sh
-ssh_exec sudo apt-get install -y python3-prettytable
+time SSH_TIMEOUT=10m ssh_exec sudo apt-get install -y python3-prettytable
 
 if [[ "$USE_MEMSTORE" == "yes" ]]; then
     OBJECTSTORE_ARGS="--memstore -o memstore_device_bytes=$VSTART_MEMSTORE_BYTES"