TLS loadbalancer creation fails due to unread neutron_lbaas.conf

LBaaS v2 agent is starting without the config file neutron_lbaas.conf.
Added the file to lbaas' container config directory in order to
initialize a Keystone session for the creation of a TLS listener.

Change-Id: I2f47590af0421f4c8f1c8fd25e599e446ad1c0f1
Closes-Bug: #1656777
This commit is contained in:
Nenad Radojevic 2017-01-16 10:34:11 +00:00
parent e6b235e1c7
commit 380822eb97
2 changed files with 8 additions and 1 deletions

View File

@ -77,6 +77,7 @@
dest: "{{ node_config_directory }}/{{ item }}/neutron_lbaas.conf" dest: "{{ node_config_directory }}/{{ item }}/neutron_lbaas.conf"
with_items: with_items:
- "neutron-server" - "neutron-server"
- "neutron-lbaas-agent"
- name: Copying over neutron_vpnaas.conf - name: Copying over neutron_vpnaas.conf
merge_configs: merge_configs:

View File

@ -1,5 +1,5 @@
{ {
"command": "neutron-lbaasv2-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /etc/neutron/lbaas_agent.ini", "command": "neutron-lbaasv2-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-file /etc/neutron/lbaas_agent.ini --config-file /etc/neutron/neutron_lbaas.conf",
"config_files": [ "config_files": [
{ {
"source": "{{ container_config_directory }}/neutron.conf", "source": "{{ container_config_directory }}/neutron.conf",
@ -19,6 +19,12 @@
"owner": "neutron", "owner": "neutron",
"perm": "0600" "perm": "0600"
}, },
{
"source": "{{ container_config_directory }}/neutron_lbaas.conf",
"dest": "/etc/neutron/neutron_lbaas.conf",
"owner": "neutron",
"perm": "0600"
},
{ {
"source": "{{ container_config_directory }}/policy.json", "source": "{{ container_config_directory }}/policy.json",
"dest": "/etc/neutron/policy.json", "dest": "/etc/neutron/policy.json",