]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
cobbler: Change method used to ping Cobbler host in rc.local 388/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 20 Mar 2018 15:22:53 +0000 (11:22 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 20 Mar 2018 15:22:53 +0000 (11:22 -0400)
commit783b2b4ab51ca3bdb9b88a3a63c3cdc88287fa44
tree6e23a2e40e36e84f317a0f707902ab203eb37e75
parentfd0aeae187c1a93c20295cf7bfa2ace11f04445c
cobbler: Change method used to ping Cobbler host in rc.local

I've observed a *very* occasional race condition where dhclient
completes but the host can't ping Cobbler.  Instead of timing out
waiting for one ping packet to return, we'll try pinging X number of
times (based on $attempts number) and then give up.

I'll paste an example of the race condition observed in the PR notes.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler/templates/snippets/cephlab_rc_local