The collect operation has been seen to fail with a timeout error
when collecting from remote hosts over a high latency network.
This update consolidates the collect timeouts into a separate
source included file '/etc/collect/collect_timeouts'.
The ssh, scp and sudo timeouts were seen to vary from function
to function. Since the timeout is always waiting for password
prompt this update normaizes them all to 60 seconds.
Move additional miscellaneous timeouts to the timeouts file
giving them opportunity to be configurable in the future.
Test Plan: High latency is 1200 ms
PASS: Verify collect system hosts on typical network
PASS: Verify collect multiple subclouds on typical network
PASS: Verify collect system hosts on high latency network
PASS: Verify collect multiple subclouds on high latency network
PASS: Verify collect subcloud with persistent long delays
... 1200ms, 1500ms, 2000ms, 300ms and 5000ms
PASS: Verify that the new collect timeouts file can be modified and
those modified values used in subsequent collect operations
PASS: High latency collect soak (10 iterations)
Closes-Bug: 2023554
Change-Id: I6fa318eea35c175d01646d93220637e95efd29e1
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>