Increase timeout waiting for OVN startup
We see some cases where OVN startup takes much longer than 5 seconds, up to 28 seconds have been observed, so increase the limit to 40 to be on the safe side. Signed-off-by: Dr. Jens Harbott <harbott@osism.tech> Closes-Bug: 1980421 Change-Id: I6da4a537e6a8d527ff71a821f07164fc7d342882
This commit is contained in:
parent
02f8c16c9b
commit
bd6e5205b1
@ -176,7 +176,7 @@ function wait_for_db_file {
|
|||||||
while [ ! -f $1 ]; do
|
while [ ! -f $1 ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
count=$((count+1))
|
count=$((count+1))
|
||||||
if [ "$count" -gt 5 ]; then
|
if [ "$count" -gt 40 ]; then
|
||||||
die $LINENO "DB File $1 not found"
|
die $LINENO "DB File $1 not found"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -187,7 +187,7 @@ function wait_for_sock_file {
|
|||||||
while [ ! -S $1 ]; do
|
while [ ! -S $1 ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
count=$((count+1))
|
count=$((count+1))
|
||||||
if [ "$count" -gt 5 ]; then
|
if [ "$count" -gt 40 ]; then
|
||||||
die $LINENO "Socket $1 not found"
|
die $LINENO "Socket $1 not found"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user