Increase the timeout of nova db-sync to 10 minutes

Currently, the nova-manage db_sync process takes quite long, but
still in the 5-minute timeout when running packstack on SSDs. However,
the process can take a bit longer than that when using HDDs, creating
unnecessary failures. Let's extend the timeout to increase resiliency.

Change-Id: I9586773b7f46095fb1e68e02dd30d6c1b116d213
This commit is contained in:
Javier Pena 2018-10-29 18:05:43 +01:00 committed by Javier Peña
parent fd11a9d531
commit 3897dc0c50
1 changed files with 10 additions and 1 deletions

View File

@ -28,12 +28,21 @@ class packstack::nova::api ()
metadata_listen => $bind_host,
enabled => true,
neutron_metadata_proxy_shared_secret => hiera('CONFIG_NEUTRON_METADATA_PW_UNQUOTED', undef),
sync_db_api => true,
sync_db => false,
sync_db_api => false,
osapi_compute_workers => hiera('CONFIG_SERVICE_WORKERS'),
metadata_workers => hiera('CONFIG_SERVICE_WORKERS'),
allow_resize_to_same_host => hiera('CONFIG_NOVA_ALLOW_RESIZE_TO_SAME'),
}
class { '::nova::db::sync':
db_sync_timeout => 600,
}
class { '::nova::db::sync_api':
db_sync_timeout => 600,
}
class { '::nova::pci':
aliases => $pci_alias,
}