Add remote procedure call tunables to nova and neutron
This allows us to override the default settings, which is useful for large deployments or deploying a large number of instances. It also uses an unused variable in neutron for setting the rpc_backend. Change-Id: I83d11eb79b30dda51c6f738433ca960a0f63246e Closes-bug: 1471926
This commit is contained in:
parent
9d2a99bae8
commit
e09823570f
playbooks/roles
@ -223,6 +223,9 @@ neutron_dnsmasq_lease_max: 16777216
|
||||
|
||||
## RPC
|
||||
neutron_rpc_backend: rabbit
|
||||
neutron_rpc_thread_pool_size: 64
|
||||
neutron_rpc_conn_pool_size: 30
|
||||
neutron_rpc_response_timeout: 60
|
||||
|
||||
## Policy vars
|
||||
# Provide a list of access controls to update the default policy.json with. These changes will be merged
|
||||
|
@ -71,6 +71,12 @@ send_events_interval = 2
|
||||
## Nova
|
||||
nova_url = {{ nova_service_adminurl|replace('/%(tenant_id)s', '') }}
|
||||
|
||||
## Rpc all
|
||||
rpc_backend = {{ neutron_rpc_backend }}
|
||||
rpc_thread_pool_size = {{ neutron_rpc_thread_pool_size }}
|
||||
rpc_conn_pool_size = {{ neutron_rpc_conn_pool_size }}
|
||||
rpc_response_timeout = {{ neutron_rpc_response_timeout }}
|
||||
|
||||
[nova]
|
||||
auth_plugin = {{ nova_keystone_auth_plugin }}
|
||||
auth_url = {{ keystone_service_adminuri }}
|
||||
|
@ -40,6 +40,9 @@ nova_db_pool_timeout: 30
|
||||
|
||||
## RPC
|
||||
nova_rpc_backend: nova.openstack.common.rpc.impl_kombu
|
||||
nova_rpc_thread_pool_size: 64
|
||||
nova_rpc_conn_pool_size: 30
|
||||
nova_rpc_response_timeout: 60
|
||||
|
||||
## Nova virtualization Type, set to KVM if supported
|
||||
nova_virt_type: kvm
|
||||
|
@ -72,6 +72,9 @@ s3_host = {{ ansible_ssh_host }}
|
||||
|
||||
# Rpc all
|
||||
rpc_backend = {{ nova_rpc_backend }}
|
||||
rpc_thread_pool_size = {{ nova_rpc_thread_pool_size }}
|
||||
rpc_conn_pool_size = {{ nova_rpc_conn_pool_size }}
|
||||
rpc_response_timeout = {{ nova_rpc_response_timeout }}
|
||||
|
||||
# Metadata
|
||||
metadata_host = {{ internal_lb_vip_address }}
|
||||
|
Loading…
Reference in New Issue
Block a user