summaryrefslogtreecommitdiffstats
path: root/docker/services/neutron-l3.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-25 05:11:52 +0000
committerGerrit Code Review <review@openstack.org>2017-07-25 05:11:52 +0000
commit13c936c067807de5e6a330c4944408313b093bb2 (patch)
tree6c587dc852e25e300ab8ea581e373e6852812532 /docker/services/neutron-l3.yaml
parentc282288e977a8f0e970416430a710d242b9bc48d (diff)
parentfbd01c2df6d2d1357bd0d0153b5ec825299bc896 (diff)
Merge "Mount /var/lib/neutron in neutron agents for metadata proxy"
Diffstat (limited to 'docker/services/neutron-l3.yaml')
-rw-r--r--docker/services/neutron-l3.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/services/neutron-l3.yaml b/docker/services/neutron-l3.yaml
index c3a4d27f..06470c05 100644
--- a/docker/services/neutron-l3.yaml
+++ b/docker/services/neutron-l3.yaml
@@ -77,6 +77,9 @@ outputs:
- path: /var/log/neutron
owner: neutron:neutron
recurse: true
+ - path: /var/lib/neutron
+ owner: neutron:neutron
+ recurse: true
docker_config:
step_4:
neutron_l3_agent:
@@ -93,10 +96,15 @@ outputs:
- /var/lib/config-data/puppet-generated/neutron/:/var/lib/kolla/config_files/src:ro
- /lib/modules:/lib/modules:ro
- /run:/run
+ - /var/lib/neutron:/var/lib/neutron
- /var/log/containers/neutron:/var/log/neutron
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks:
+ - name: create /var/lib/neutron
+ file:
+ path: /var/lib/neutron
+ state: directory
- name: create persistent logs directory
file:
path: /var/log/containers/neutron