commit 4de1d93f2fff3a225b1002663e62a071b9cb24e3
Author: Oliver Walsh <email address hidden>
Date: Fri Jun 30 11:51:06 2017 +0100
Tolerate network errors in pingtest retry logic
We use ping -w <deadline> -c <count>. This will ping every second until
<count> replies are received, or <deadline> is reached, or a network error occurs.
With the current retry logic a network error will result in a short tight loop
instead of waiting for the network to come up.
This change reduces the deadline to 10s, but sleeps 60s between retries.
Change-Id: Ib00cff6f843c04a00737b40e3ef3d1560d6e6d2d
Related-bug: #1680167
(cherry picked from commit 6a64a4a9d20a7a43eee6181c7bab738329844eba)
Reviewed: https:/ /review. openstack. org/548665 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=4de1d93f2ff f3a225b1002663e 62a071b9cb24e3
Committed: https:/
Submitter: Zuul
Branch: stable/newton
commit 4de1d93f2fff3a2 25b1002663e62a0 71b9cb24e3
Author: Oliver Walsh <email address hidden>
Date: Fri Jun 30 11:51:06 2017 +0100
Tolerate network errors in pingtest retry logic
We use ping -w <deadline> -c <count>. This will ping every second until
<count> replies are received, or <deadline> is reached, or a network error occurs.
With the current retry logic a network error will result in a short tight loop
instead of waiting for the network to come up.
This change reduces the deadline to 10s, but sleeps 60s between retries.
Change-Id: Ib00cff6f843c04 a00737b40e3ef3d 1560d6e6d2d 3eee6181c7bab73 8329844eba)
Related-bug: #1680167
(cherry picked from commit 6a64a4a9d20a7a4