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 Closes-Bug: #1647305
This commit is contained in:
parent
cf56e3f0f7
commit
9bc89b056e
|
@ -19,6 +19,8 @@ class nova::db::sync_api(
|
||||||
exec { 'nova-db-sync-api':
|
exec { 'nova-db-sync-api':
|
||||||
command => "/usr/bin/nova-manage ${extra_params} api_db sync",
|
command => "/usr/bin/nova-manage ${extra_params} api_db sync",
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
|
try_sleep => 5,
|
||||||
|
tries => 10,
|
||||||
logoutput => on_failure,
|
logoutput => on_failure,
|
||||||
subscribe => [
|
subscribe => [
|
||||||
Anchor['nova::install::end'],
|
Anchor['nova::install::end'],
|
||||||
|
|
Loading…
Reference in New Issue