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: I8778bd1b609bc5458a250111dc0a0f9b2fb52161
Closes-Bug: #1628580
This commit is contained in:
Sharat Sharma 2016-09-29 12:11:05 +05:30
parent 5d98b75ea1
commit 0fc2099d12

View File

@ -21,6 +21,8 @@ class glance::db::sync(
path => '/usr/bin',
user => 'glance',
refreshonly => true,
try_sleep => 5,
tries => 10,
logoutput => on_failure,
subscribe => [
Anchor['glance::install::end'],