Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are quite a few instances where the "exec_command" function fails due unrelated issues. This change adds a retry with a backoff. The exec function will now retry 3 times in the event of an exception with a cool down of 2 seconds. The play context for retries will also be set if undefined making it possible to recover from transient UNREACHABLE errors. Change-Id: Ic7c7af49e1c5eba21216b33814b92e276e3fba3e Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters