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: I892869a67136b648a0acf9d4468914c2d8875f86 Closes-Bug: #1628580
This commit is contained in:
parent
5bf9d855c7
commit
2b383a087f
@ -16,6 +16,8 @@ class octavia::db::sync(
|
||||
path => '/usr/bin',
|
||||
user => 'octavia',
|
||||
refreshonly => true,
|
||||
try_sleep => 5,
|
||||
tries => 10,
|
||||
subscribe => [Package['octavia'], Octavia_config['database/connection']],
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user