diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-05-05 15:17:55 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-05-05 15:17:55 +0000 |
commit | 574617d007b02f98b2ac9b7e853cf4fd266fe085 (patch) | |
tree | 5a6069263cc5160b1051078370ae15785add0cd8 /docker/services/heat-api.yaml | |
parent | c577755082a92e638ca03ae8a8bd38045bf7901c (diff) | |
parent | 58a8b282c2f244b2675a6da7aac161a53f58c288 (diff) |
Merge "Mount hostpath logs on /var/log"
Diffstat (limited to 'docker/services/heat-api.yaml')
-rw-r--r-- | docker/services/heat-api.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/services/heat-api.yaml b/docker/services/heat-api.yaml index 784794b0..fe565411 100644 --- a/docker/services/heat-api.yaml +++ b/docker/services/heat-api.yaml @@ -69,6 +69,10 @@ outputs: kolla_config: /var/lib/kolla/config_files/heat_api.json: command: /usr/sbin/httpd -DFOREGROUND + permissions: + - path: /var/log/heat + owner: heat:heat + recurse: true docker_config: step_4: heat_api: @@ -90,8 +94,14 @@ outputs: - /var/lib/config-data/heat_api/etc/heat/:/etc/heat/:ro - /var/lib/config-data/heat_api/etc/httpd/:/etc/httpd/:ro - /var/lib/config-data/heat_api/var/www/:/var/www/:ro + - /var/log/containers/heat:/var/log/heat environment: - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS + host_prep_tasks: + - name: create persistent logs directory + file: + path: /var/log/containers/heat + state: directory upgrade_tasks: - name: Stop and disable heat_api service tags: step2 |