Add missing host_prep_tasks for log dirs creation

Change-Id: Iecce2820657c5ad6bd2b02849c0433e5dce8009b
Partial-Bug: #1730957
This commit is contained in:
Jiri Stransky 2017-11-08 18:18:36 +01:00
parent 86a8ad9d89
commit 669be6f436
2 changed files with 10 additions and 0 deletions

View File

@ -104,6 +104,11 @@ outputs:
- /var/lib/config-data/puppet-generated/ceilometer/:/var/lib/kolla/config_files/src:ro
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks:
- name: create persistent logs directory
file:
path: /var/log/containers/ceilometer
state: directory
upgrade_tasks:
- name: Check if ceilometer-agent-ipmi is deployed
command: systemctl is-enabled --quiet openstack-ceilometer-ipmi

View File

@ -101,6 +101,11 @@ outputs:
- /var/log/containers/openvswitch:/var/log/openvswitch
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks:
- name: create persistent logs directory
file:
path: /var/log/containers/openvswitch
state: directory
upgrade_tasks:
- name: Stop and disable ovn-controller service
tags: step2