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
This commit is contained in:
Tobias Urdin 2018-11-24 12:08:19 +01:00
parent 0fcb4ce9aa
commit 5d47105276

View File

@ -130,10 +130,19 @@ class openstack_integration::nova (
notification_topics => $notification_topics, notification_topics => $notification_topics,
} }
class { '::nova::api': class { '::nova::api':
api_bind_address => $::openstack_integration::config::host, api_bind_address => $::openstack_integration::config::host,
sync_db_api => true, sync_db => false,
service_name => 'httpd', sync_db_api => false,
nova_metadata_wsgi_enabled => true, 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': class { '::nova::metadata':
neutron_metadata_proxy_shared_secret => 'a_big_secret', neutron_metadata_proxy_shared_secret => 'a_big_secret',