Added retries for db_sync

If db sync fails, it is never retried leading to errors. So, this
patch adds retries for db_sync to avoid sync fails.

Change-Id: I6117fc818c44ac31ae656c18ed7fe5434fa73b77
Related-Bug: #1628580
Closes-Bug: #1645474
(cherry picked from commit b7d3c18b2a)
This commit is contained in:
Sharat Sharma 2016-09-29 11:43:11 +05:30 committed by Anton Chevychalov
parent ebc384ab39
commit e8aa7064ad
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,8 @@ class ceilometer::db::sync(
path => '/usr/bin',
user => $::ceilometer::params::user,
refreshonly => true,
try_sleep => 5,
tries => 10,
logoutput => on_failure,
}