From 5d47105276d2c69c17a9a50a636e6573e15fbd8a Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Sat, 24 Nov 2018 12:08:19 +0100 Subject: [PATCH] Add --debug to nova db sync and increase timeout Double the timeout from 300 to 600 and add --debug to see if we can catch what is causing it to timeout. Change-Id: I7d6557eb8175a56d5a31e9b017af9fd192779862 --- manifests/nova.pp | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/manifests/nova.pp b/manifests/nova.pp index 642bdc695..e19d19b83 100644 --- a/manifests/nova.pp +++ b/manifests/nova.pp @@ -130,10 +130,19 @@ class openstack_integration::nova ( notification_topics => $notification_topics, } class { '::nova::api': - api_bind_address => $::openstack_integration::config::host, - sync_db_api => true, - service_name => 'httpd', - nova_metadata_wsgi_enabled => true, + api_bind_address => $::openstack_integration::config::host, + sync_db => false, + sync_db_api => false, + service_name => 'httpd', + nova_metadata_wsgi_enabled => true, + } + class { '::nova::db::sync': + extra_params => '--debug', + db_sync_timeout => 600, + } + class { '::nova::db::sync_api': + extra_params => '--debug', + db_sync_timeout => 600, } class { '::nova::metadata': neutron_metadata_proxy_shared_secret => 'a_big_secret',