Skip to content

Commit

Permalink
[dhcp_relay] Add extra sleep before starting relay agent processes (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jleveque authored and yxieca committed Nov 27, 2019
1 parent 5e6f8ad commit 7622a30
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dockers/docker-dhcp-relay/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ if [ $(supervisorctl status | grep -c "^isc-dhcp-relay:") -gt 0 ]; then
# lifetime of the process.
/usr/bin/wait_for_intf.sh

# Allow a bit more time for interfaces to settle before starting the
# relay agent processes.
# FIXME: Remove/decrease this once we determine how to prevent future race
# conditions here.
sleep 180

# Start all DHCP relay agent(s)
supervisorctl start isc-dhcp-relay:*
fi

0 comments on commit 7622a30

Please sign in to comment.