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
This commit is contained in:
Dan Smith 2023-10-18 08:31:12 -07:00
parent 0f0d9dcb9e
commit 36c8d242f8
1 changed files with 2 additions and 2 deletions

View File

@ -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