summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack/templates/nova.conf
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-02-13 12:00:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-13 12:00:05 +0000
commit9b3c5d5f10e99a4612bf3e05274c8d183da9f2ca (patch)
treef007e9e337d3a0ebfa1c291c59bf0919542ae883 /deploy/adapters/ansible/openstack/templates/nova.conf
parent76936c6ecd32033562e10589fb44e7d1cb204e79 (diff)
parent00791156cb2b98f7126a466dc28cf89a4a2a9eef (diff)
Merge "FIX access database failed"
Diffstat (limited to 'deploy/adapters/ansible/openstack/templates/nova.conf')
-rw-r--r--deploy/adapters/ansible/openstack/templates/nova.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/openstack/templates/nova.conf b/deploy/adapters/ansible/openstack/templates/nova.conf
index 99071d78..b648b030 100644
--- a/deploy/adapters/ansible/openstack/templates/nova.conf
+++ b/deploy/adapters/ansible/openstack/templates/nova.conf
@@ -39,8 +39,9 @@ notification_driver = nova.openstack.common.notifier.rpc_notifier
notification_driver = ceilometer.compute.nova_notifier
memcached_servers = {{ memcached_servers }}
-{% if ansible_processor_vcpus > 30 %}
-osapi_compute_workers = 30
+{% if ansible_processor_vcpus > 20 %}
+osapi_compute_workers = 20
+metadata_workers = 20
{% endif %}
[database]