From 36c8d242f8a702c0e6673530e02990d6ab269588 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Wed, 18 Oct 2023 08:31:12 -0700 Subject: [PATCH] Increase cinder verify sync timeout This is occasionally failing with a timeout. It has been for months, but it seems like the frequency has increased lately. Change-Id: Ib1270e4f5bada8680a5d19133a888a8ade8f73c3 Closes-Bug: #2039707 --- projects/70_cinder/resources.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/70_cinder/resources.sh b/projects/70_cinder/resources.sh index d7a3acf6..8b117021 100755 --- a/projects/70_cinder/resources.sh +++ b/projects/70_cinder/resources.sh @@ -242,8 +242,8 @@ function verify_noapi { ping_check_public $server_ip 60 # this sync is here to ensure that we don't accidentally pass when # the volume is actually down. - timeout 30 $FSSH -i $CINDER_KEY_FILE cirros@$server_ip \ - "sync" + timeout 180 $FSSH -i $CINDER_KEY_FILE cirros@$server_ip \ + "echo Starting sync; sync; echo Done with sync" local state=$($FSSH -i $CINDER_KEY_FILE cirros@$server_ip \ "cat $CINDER_STATE_FILE") if [[ "$state" != "$CINDER_STATE" ]]; then