aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorZhongShengping <chdzsp@163.com>2016-11-15 14:41:03 +0800
committerZhongShengping <chdzsp@163.com>2016-11-15 14:41:03 +0800
commit69c674b8d0b33a27e845fa450d8a179769f5cfb6 (patch)
tree133d3e746047c1bf283ae69c1729ff5b9d1032fe /ansible
parent837b7d1b71178c06686bbf978ae54a9066b10a3a (diff)
downloadkolla-69c674b8d0b33a27e845fa450d8a179769f5cfb6.tar.gz
kolla-69c674b8d0b33a27e845fa450d8a179769f5cfb6.zip
Deprecate scheduler_max_attempts option in nova
Option "scheduler_max_attempts" from group "DEFAULT" is deprecated. Use option "max_attempts" from group "scheduler". Change-Id: I7b25291b61200cf2402f19a187cc4fe2fe6b0e11 Closes-Bug: #1641840
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/nova/templates/nova.conf.j25
1 files changed, 3 insertions, 2 deletions
diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2
index 6706d16e9..93797fc27 100644
--- a/ansible/roles/nova/templates/nova.conf.j2
+++ b/ansible/roles/nova/templates/nova.conf.j2
@@ -22,8 +22,6 @@ metadata_listen_port = {{ nova_metadata_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" %}
@@ -205,3 +203,6 @@ debug = {{ nova_logging_debug }}
[wsgi]
api_paste_config = /etc/nova/api-paste.ini
+
+[scheduler]
+max_attempts = 10