aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Gao <wanlong.gao@easystack.cn>2016-03-08 17:12:21 +0800
committerAllen Gao <wanlong.gao@easystack.cn>2016-03-08 17:50:08 +0800
commit9c739a7190db5b2fa904d5b347df6cf71ae05d4c (patch)
treea79f544a5866a16a7335df54805d25188c84465f
parentd1f6d0dee507d5ab1f8d4d866353630980a9c56e (diff)
downloadkolla-9c739a7190db5b2fa904d5b347df6cf71ae05d4c.tar.gz
kolla-9c739a7190db5b2fa904d5b347df6cf71ae05d4c.zip
Fix the deprecated security_group_api and network_api_class
The security_group_api option is deprecated since https://review.openstack.org/#/c/288602 , the security_group_api will be detected through use_neutron. TrivialFix Change-Id: I4e4dd9397b67243ed7268529d9ed0d9b86c846dd
-rw-r--r--ansible/roles/nova/templates/nova.conf.j23
1 files changed, 1 insertions, 2 deletions
diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2
index 4780f963c..c623b6b6f 100644
--- a/ansible/roles/nova/templates/nova.conf.j2
+++ b/ansible/roles/nova/templates/nova.conf.j2
@@ -22,8 +22,7 @@ ec2_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']
ec2_listen_port = {{ nova_api_ec2_port }}
-security_group_api = neutron
-network_api_class = nova.network.neutronv2.api.API
+use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver
{% if neutron_plugin_agent == "openvswitch" %}