Merge "add configurable timeouts for DB sync"

This commit is contained in:
Jenkins 2017-04-06 09:42:27 +00:00 committed by Gerrit Code Review
commit e10ddcc3d2
3 changed files with 14 additions and 0 deletions

View File

@ -22,6 +22,10 @@ parameters:
default: 5672 default: 5672
description: Set rabbit subscriber port, change this if using SSL description: Set rabbit subscriber port, change this if using SSL
type: number type: number
DatabaseSyncTimeout:
default: 300
description: DB Sync Timeout default
type: number
NeutronDhcpAgentsPerNetwork: NeutronDhcpAgentsPerNetwork:
type: number type: number
default: 0 default: 0
@ -95,6 +99,7 @@ outputs:
neutron::host: '%{::fqdn}' neutron::host: '%{::fqdn}'
neutron::db::database_db_max_retries: -1 neutron::db::database_db_max_retries: -1
neutron::db::database_max_retries: -1 neutron::db::database_max_retries: -1
neutron::db::sync::db_sync_timeout: {get_param: DatabaseSyncTimeout}
neutron::global_physnet_mtu: {get_param: NeutronGlobalPhysnetMtu} neutron::global_physnet_mtu: {get_param: NeutronGlobalPhysnetMtu}
- if: - if:
- dhcp_agents_zero - dhcp_agents_zero

View File

@ -52,6 +52,10 @@ parameters:
default: 5672 default: 5672
description: Set rabbit subscriber port, change this if using SSL description: Set rabbit subscriber port, change this if using SSL
type: number type: number
DatabaseSyncTimeout:
default: 300
description: DB Sync Timeout default
type: number
Debug: Debug:
type: string type: string
default: '' default: ''
@ -198,6 +202,8 @@ outputs:
nova::network::neutron::neutron_auth_type: 'v3password' nova::network::neutron::neutron_auth_type: 'v3password'
nova::db::database_db_max_retries: -1 nova::db::database_db_max_retries: -1
nova::db::database_max_retries: -1 nova::db::database_max_retries: -1
nova::db::sync::db_sync_timeout: {get_param: DatabaseSyncTimeout}
nova::db::sync_api::db_sync_timeout: {get_param: DatabaseSyncTimeout}
nova::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]} nova::glance_api_servers: {get_param: [EndpointMap, GlanceInternal, uri]}
nova::use_ipv6: {get_param: NovaIPv6} nova::use_ipv6: {get_param: NovaIPv6}
nova::network::neutron::neutron_ovs_bridge: {get_param: NovaOVSBridge} nova::network::neutron::neutron_ovs_bridge: {get_param: NovaOVSBridge}

View File

@ -0,0 +1,3 @@
---
features:
- Adds DatabaseSyncTimeout parameter to Nova and Neutron templates.