File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 313
313
# on fedora 21 nodes we see this running in a context where eth0 is not known to the system
314
314
# could be related to a dependency that we poorly describe to systemd
315
315
# I am increasing this timeout to 2 minutes in order to check that conjecture
316
- ALLOW=120
316
+ ALLOW=60
317
317
COUNTER=0
318
318
while true ; do
319
319
if /sbin/ifconfig $ETH_DEVICE >& /dev/null; then
320
320
echo $( date " +%H:%M:%S" ) " pl_netinit: device present $ETH_DEVICE , proceeding (${COUNTER} s/${ALLOW} s)"
321
321
break
322
322
fi
323
323
echo $( date " +%H:%M:%S" ) " pl_netinit: waiting for device $ETH_DEVICE - ${COUNTER} s/${ALLOW} s"
324
- echo ========== ifconfig beg
324
+ set -x
325
325
/sbin/ifconfig
326
- echo ========== ifconfig end
326
+ journalctl -b | egrep ' eth|bnx|udev'
327
+ systemctl list-unit-files | grep -i network
328
+ set +x
327
329
COUNTER=$(( $COUNTER + 1 ))
328
330
[ $COUNTER -ge $ALLOW ] && net_init_failed
329
331
sleep 1
You can’t perform that action at this time.
0 commit comments