From 5e3b5e050fa2b9377792852aabba8487abb7099e Mon Sep 17 00:00:00 2001 From: Sharat Sharma Date: Thu, 29 Sep 2016 12:23:49 +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: I094f592989928cefef0b9cd9c7b9d837f51d03b1 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 931339a4..d1a34166 100644 --- a/manifests/db/sync.pp +++ b/manifests/db/sync.pp @@ -21,6 +21,8 @@ class heat::db::sync( path => '/usr/bin', user => 'heat', refreshonly => true, + try_sleep => 5, + tries => 10, logoutput => on_failure, subscribe => [ Anchor['heat::install::end'],