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: Ia9d09515435618624919ad715ffa3df833a50a7a
Closes-Bug: #1628580
This commit is contained in:
Sharat Sharma 2016-09-29 12:31:22 +05:30
parent 2704d1fb19
commit 28c04297b2

@ -26,6 +26,8 @@ class keystone::db::sync(
path => '/usr/bin', path => '/usr/bin',
user => $keystone_user, user => $keystone_user,
refreshonly => true, refreshonly => true,
try_sleep => 5,
tries => 10,
subscribe => [ subscribe => [
Anchor['keystone::install::end'], Anchor['keystone::install::end'],
Anchor['keystone::config::end'], Anchor['keystone::config::end'],