summaryrefslogtreecommitdiffstats
path: root/docker/services/gnocchi-statsd.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-08-19 05:38:03 +0000
committerGerrit Code Review <review@openstack.org>2017-08-19 05:38:03 +0000
commit2bc41c0da00bdb24bbab6fffe7c37be05ae62a14 (patch)
tree04385cf15c34af43560967b1665970e867c14438 /docker/services/gnocchi-statsd.yaml
parent4adb01f7ae34234caf06f52cce5428fcdd294cdf (diff)
parent71059a08ccd8135c5b789facc3c3233247b18d8a (diff)
Merge "Mount ceph config on gnocchi statsd"
Diffstat (limited to 'docker/services/gnocchi-statsd.yaml')
-rw-r--r--docker/services/gnocchi-statsd.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/docker/services/gnocchi-statsd.yaml b/docker/services/gnocchi-statsd.yaml
index 19e658cd..2957312b 100644
--- a/docker/services/gnocchi-statsd.yaml
+++ b/docker/services/gnocchi-statsd.yaml
@@ -81,6 +81,10 @@ outputs:
dest: "/"
merge: true
preserve_properties: true
+ - source: "/var/lib/kolla/config_files/src-ceph/"
+ dest: "/etc/ceph/"
+ merge: true
+ preserve_properties: true
permissions:
- path: /var/log/gnocchi
owner: gnocchi:gnocchi
@@ -99,6 +103,7 @@ outputs:
- /var/lib/kolla/config_files/gnocchi_statsd.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/gnocchi/:/var/lib/kolla/config_files/src:ro
- /var/log/containers/gnocchi:/var/log/gnocchi
+ - /etc/ceph:/var/lib/kolla/config_files/src-ceph:ro
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks:
@@ -106,6 +111,10 @@ outputs:
file:
path: /var/log/containers/gnocchi
state: directory
+ - name: ensure ceph configurations exist
+ file:
+ path: /etc/ceph
+ state: directory
upgrade_tasks:
- name: Stop and disable openstack-gnocchi-statsd service
tags: step2