diff options
| author | Takeaki Matsumoto <takeaki.matsumoto@ntt.com> | 2016-08-03 02:35:58 +0000 |
|---|---|---|
| committer | Takeaki Matsumoto <takeaki.matsumoto@ntt.com> | 2016-08-03 02:47:59 +0000 |
| commit | 046f739d1b5b1202e6614855fd0190930c7094ea (patch) | |
| tree | 279f1507d67656e29df89b0e2ef823988a1eae1f | |
| parent | 5ce4de6b2b76ca14387e5e5984f3b1067a4a223b (diff) | |
| download | kolla-046f739d1b5b1202e6614855fd0190930c7094ea.tar.gz kolla-046f739d1b5b1202e6614855fd0190930c7094ea.zip | |
Change workers to be static when using kubernates
When orchestration engine is Kubernates,
ansible_processor_vcpus is not defined.
This patch changes workers to be static when using kubernates
Change-Id: I4d77b2e48ea24c4ca8b86ec5b7e6029c054b247a
Closes-Bug: #1609206
| -rw-r--r-- | ansible/group_vars/all.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index e5ff91e3b..b5c472ad6 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -185,7 +185,7 @@ openstack_logging_debug: "False" openstack_region_name: "RegionOne" -openstack_service_workers: "{{ [ansible_processor_vcpus, 5]|min }}" +openstack_service_workers: "{{ [ansible_processor_vcpus, 5]|min if orchestration_engine == 'ANSIBLE' else '1'}}" # Optionally allow Kolla to set sysctl values set_sysctl: "yes" |
