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:
parent
0f0d9dcb9e
commit
36c8d242f8
|
@ -242,8 +242,8 @@ function verify_noapi {
|
||||||
ping_check_public $server_ip 60
|
ping_check_public $server_ip 60
|
||||||
# this sync is here to ensure that we don't accidentally pass when
|
# this sync is here to ensure that we don't accidentally pass when
|
||||||
# the volume is actually down.
|
# the volume is actually down.
|
||||||
timeout 30 $FSSH -i $CINDER_KEY_FILE cirros@$server_ip \
|
timeout 180 $FSSH -i $CINDER_KEY_FILE cirros@$server_ip \
|
||||||
"sync"
|
"echo Starting sync; sync; echo Done with sync"
|
||||||
local state=$($FSSH -i $CINDER_KEY_FILE cirros@$server_ip \
|
local state=$($FSSH -i $CINDER_KEY_FILE cirros@$server_ip \
|
||||||
"cat $CINDER_STATE_FILE")
|
"cat $CINDER_STATE_FILE")
|
||||||
if [[ "$state" != "$CINDER_STATE" ]]; then
|
if [[ "$state" != "$CINDER_STATE" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue