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: I64e011820591796168cafa4e0a93d5e2157ce445
Closes-Bug: #1628580
This commit is contained in:
Sharat Sharma 2016-09-29 12:36:52 +05:30
parent 42efe1223f
commit 71619fbfc1
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ class manila::db::sync {
path => '/usr/bin',
user => 'manila',
refreshonly => true,
try_sleep => 5,
tries => 10,
logoutput => 'on_failure',
}
}