From 28c04297b2751f3d5dea152cadc1469033d7e1c7 Mon Sep 17 00:00:00 2001 From: Sharat Sharma Date: Thu, 29 Sep 2016 12:31:22 +0530 Subject: [PATCH] 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 --- manifests/db/sync.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/db/sync.pp b/manifests/db/sync.pp index d516b49f4..b65bb2be7 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -26,6 +26,8 @@ class keystone::db::sync( path => '/usr/bin', user => $keystone_user, refreshonly => true, + try_sleep => 5, + tries => 10, subscribe => [ Anchor['keystone::install::end'], Anchor['keystone::config::end'],