Added retries in db_sync for nova_api db
That patch continue fixes made for LP#1628580 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: Ie718efef81a24d0299fff83d39d04fac5a36fbb0 Related-Bug: #1628580 Related-Bug: #1647305 Closes-Bug: #1645474
This commit is contained in:
parent
238fe9e0a0
commit
6cf54de342
|
@ -19,6 +19,8 @@ class nova::db::sync_api(
|
|||
exec { 'nova-db-sync-api':
|
||||
command => "/usr/bin/nova-manage ${extra_params} api_db sync",
|
||||
refreshonly => true,
|
||||
try_sleep => 5,
|
||||
tries => 10,
|
||||
logoutput => on_failure,
|
||||
subscribe => [
|
||||
Anchor['nova::install::end'],
|
||||
|
|
Loading…
Reference in New Issue