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:
parent
fd11a9d531
commit
3897dc0c50
@ -28,12 +28,21 @@ class packstack::nova::api ()
|
|||||||
metadata_listen => $bind_host,
|
metadata_listen => $bind_host,
|
||||||
enabled => true,
|
enabled => true,
|
||||||
neutron_metadata_proxy_shared_secret => hiera('CONFIG_NEUTRON_METADATA_PW_UNQUOTED', undef),
|
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'),
|
osapi_compute_workers => hiera('CONFIG_SERVICE_WORKERS'),
|
||||||
metadata_workers => hiera('CONFIG_SERVICE_WORKERS'),
|
metadata_workers => hiera('CONFIG_SERVICE_WORKERS'),
|
||||||
allow_resize_to_same_host => hiera('CONFIG_NOVA_ALLOW_RESIZE_TO_SAME'),
|
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':
|
class { '::nova::pci':
|
||||||
aliases => $pci_alias,
|
aliases => $pci_alias,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user