Copy ml2_conf.ini to correct location
The ml2_conf.ini file which sets OpenVswitch as the mechanism driver was not being copied to the corect place. This patch resolves that problem. Change-Id: Ia276916a3183564c9b7d8d6aa9595c384ed99cf6 Closes-Bug: #1477399
This commit is contained in:
parent
6d4a55060e
commit
ad57661d51
@ -19,6 +19,18 @@
|
||||
config_dest: "{{ node_config_directory }}/{{ service_name }}/neutron.conf"
|
||||
when: inventory_hostname in groups['neutron-server']
|
||||
|
||||
- include: ../../config.yml
|
||||
vars:
|
||||
service_name: "neutron-server"
|
||||
config_source:
|
||||
- "roles/{{ project_name }}/templates/ml2_conf.ini.j2"
|
||||
- "/etc/kolla/config/{{ project_name }}/ml2_conf.ini"
|
||||
config_template_dest:
|
||||
- "{{ node_templates_directory }}/{{ service_name }}/ml2_conf.ini_minimal"
|
||||
- "{{ node_templates_directory }}/{{ service_name }}/ml2_conf.ini_augment"
|
||||
config_dest: "{{ node_config_directory }}/{{ service_name }}/ml2_conf.ini"
|
||||
when: inventory_hostname in groups['neutron-server']
|
||||
|
||||
- include: ../../config.yml
|
||||
vars:
|
||||
service_name: "neutron-agents"
|
||||
@ -39,6 +51,18 @@
|
||||
config_dest: "{{ node_config_directory }}/{{ service_name }}/neutron.conf"
|
||||
when: inventory_hostname in groups['neutron-agents']
|
||||
|
||||
- include: ../../config.yml
|
||||
vars:
|
||||
service_name: "neutron-agents"
|
||||
config_source:
|
||||
- "roles/{{ project_name }}/templates/ml2_conf.ini.j2"
|
||||
- "/etc/kolla/config/{{ project_name }}/ml2_conf.ini"
|
||||
config_template_dest:
|
||||
- "{{ node_templates_directory }}/{{ service_name }}/ml2_conf.ini_minimal"
|
||||
- "{{ node_templates_directory }}/{{ service_name }}/ml2_conf.ini_augment"
|
||||
config_dest: "{{ node_config_directory }}/{{ service_name }}/ml2_conf.ini"
|
||||
when: inventory_hostname in groups['neutron-agents']
|
||||
|
||||
- include: ../../config.yml
|
||||
vars:
|
||||
service_name: "neutron-openvswitch-agent"
|
||||
@ -69,6 +93,6 @@
|
||||
config_template_dest:
|
||||
- "{{ node_templates_directory }}/{{ service_name }}/ml2_conf.ini_minimal"
|
||||
- "{{ node_templates_directory }}/{{ service_name }}/ml2_conf.ini_augment"
|
||||
config_dest: "{{ node_config_directory }}/ml2_conf.ini"
|
||||
config_dest: "{{ node_config_directory }}/{{ service_name }}/ml2_conf.ini"
|
||||
when: inventory_hostname in groups['neutron-agents'] or
|
||||
inventory_hostname in groups['compute']
|
||||
|
Loading…
x
Reference in New Issue
Block a user