summaryrefslogtreecommitdiffstats
path: root/docker/services/ceilometer-agent-notification.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-09-11 17:47:47 +0000
committerGerrit Code Review <review@openstack.org>2017-09-11 17:47:47 +0000
commitdeb1f8cd49c0efde0c4c66d6812b1a15262248c4 (patch)
tree1e4286ced87184c89d5fb3ebf47248a666882702 /docker/services/ceilometer-agent-notification.yaml
parentd99b7b9e067a036352fdc94217195f3d7055ea7b (diff)
parent1dd48af650fc5b768243715c712f1c524626f2ba (diff)
Merge "Enable Ceilometer agent logging for containers" into stable/pike
Diffstat (limited to 'docker/services/ceilometer-agent-notification.yaml')
-rw-r--r--docker/services/ceilometer-agent-notification.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/docker/services/ceilometer-agent-notification.yaml b/docker/services/ceilometer-agent-notification.yaml
index 7f1d442a..d8afe695 100644
--- a/docker/services/ceilometer-agent-notification.yaml
+++ b/docker/services/ceilometer-agent-notification.yaml
@@ -69,7 +69,7 @@ outputs:
config_image: {get_param: DockerCeilometerConfigImage}
kolla_config:
/var/lib/kolla/config_files/ceilometer_agent_notification.json:
- command: /usr/bin/ceilometer-agent-notification
+ command: /usr/bin/ceilometer-agent-notification --logfile /var/log/ceilometer/agent-notification.log
config_files:
- source: "/var/lib/kolla/config_files/src/*"
dest: "/"
@@ -96,8 +96,14 @@ outputs:
-
- /var/lib/kolla/config_files/ceilometer_agent_notification.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/ceilometer/:/var/lib/kolla/config_files/src:ro
+ - /var/log/containers/ceilometer:/var/log/ceilometer
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: Stop and disable ceilometer agent notification service
tags: step2