Merge "Set neutron RPC workers and state report workers"

This commit is contained in:
Jenkins 2017-07-10 13:44:18 +00:00 committed by Gerrit Code Review
commit 4510c525a6
2 changed files with 3 additions and 0 deletions

View File

@ -287,6 +287,7 @@ multiple_regions_names:
- "{{ openstack_region_name }}" - "{{ openstack_region_name }}"
openstack_service_workers: "{{ [ansible_processor_vcpus, 5]|min if orchestration_engine == 'ANSIBLE' else '1'}}" openstack_service_workers: "{{ [ansible_processor_vcpus, 5]|min if orchestration_engine == 'ANSIBLE' else '1'}}"
openstack_service_rpc_workers: "{{ [ansible_processor_vcpus, 3]|min if orchestration_engine == 'ANSIBLE' else '1'}}"
# Optionally allow Kolla to set sysctl values # Optionally allow Kolla to set sysctl values
set_sysctl: "yes" set_sysctl: "yes"

View File

@ -16,6 +16,8 @@ endpoint_type = internalURL
api_workers = {{ openstack_service_workers }} api_workers = {{ openstack_service_workers }}
metadata_workers = {{ openstack_service_workers }} metadata_workers = {{ openstack_service_workers }}
rpc_workers = {{ openstack_service_rpc_workers }}
rpc_state_report_workers = {{ openstack_service_rpc_workers }}
# NOTE(SamYaple): We must specify this value here rather than the metadata conf # NOTE(SamYaple): We must specify this value here rather than the metadata conf
# because it is used by the l3 and dhcp agents. The reason the path has 'kolla' # because it is used by the l3 and dhcp agents. The reason the path has 'kolla'