aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2016-04-03 21:19:22 -0400
committerSteven Dake <stdake@cisco.com>2016-04-06 01:58:37 -0400
commit8cdd8c4ec35e96d1f02d71fbf58a49f87961adc7 (patch)
tree2b912ef3cb29ae1ca4d157bc4fcece85f6456521
parentba4bcdbbe84a42e0346c0e36abf0d1cbc5007444 (diff)
downloadkolla-8cdd8c4ec35e96d1f02d71fbf58a49f87961adc7.tar.gz
kolla-8cdd8c4ec35e96d1f02d71fbf58a49f87961adc7.zip
Increase max scheduling attempts to 10
At high scale, such as 64 nodes with 13TB ram and 2600 cores, nova seems to struggle when scheduling 100+ VMs at the same time. The issue is unrelated to the database, as the error printed indicates the max_scheduling_attempts have been reached. Increase that value to something more fitting of a 100 node cluster. Change-Id: I8982d77c7c66db8f7c95b9fd73f58ceb66dbd723 Closes-Bug: #1563664
-rw-r--r--ansible/roles/nova/templates/nova.conf.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2
index 8560483bb..20c3c29c9 100644
--- a/ansible/roles/nova/templates/nova.conf.j2
+++ b/ansible/roles/nova/templates/nova.conf.j2
@@ -24,6 +24,8 @@ ec2_listen_port = {{ nova_api_ec2_port }}
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
+scheduler_max_attempts = 10
+
{% if neutron_plugin_agent == "openvswitch" %}
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
{% elif neutron_plugin_agent == "linuxbridge" %}