Skip to content

Commit bd6e520

Browse files
committed
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
1 parent 02f8c16 commit bd6e520

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/neutron_plugins/ovn_agent

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function wait_for_db_file {
176176
while [ ! -f $1 ]; do
177177
sleep 1
178178
count=$((count+1))
179-
if [ "$count" -gt 5 ]; then
179+
if [ "$count" -gt 40 ]; then
180180
die $LINENO "DB File $1 not found"
181181
fi
182182
done
@@ -187,7 +187,7 @@ function wait_for_sock_file {
187187
while [ ! -S $1 ]; do
188188
sleep 1
189189
count=$((count+1))
190-
if [ "$count" -gt 5 ]; then
190+
if [ "$count" -gt 40 ]; then
191191
die $LINENO "Socket $1 not found"
192192
fi
193193
done

0 commit comments

Comments
 (0)