summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/config-osa/files
diff options
context:
space:
mode:
authorYifei Xue <xueyifei@huawei.com>2018-01-30 01:03:47 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-30 01:03:47 +0000
commit7dfbe30d59e513da56fe34e3ffa44840a4c41ded (patch)
treefb3e6188baff221827a7e6c71c055de93f327e0a /deploy/adapters/ansible/roles/config-osa/files
parent2c93fa28f1f1e78f4135f096f0c59e82963fd847 (diff)
parent8c52d2b68d656aef61baf8d092e40024f397c5ed (diff)
Merge "Change gnocchi storage and increase the capacity of ceph"
Diffstat (limited to 'deploy/adapters/ansible/roles/config-osa/files')
-rw-r--r--deploy/adapters/ansible/roles/config-osa/files/polling.yaml6
-rw-r--r--deploy/adapters/ansible/roles/config-osa/files/user_ceph.yml10
2 files changed, 16 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/files/polling.yaml b/deploy/adapters/ansible/roles/config-osa/files/polling.yaml
new file mode 100644
index 00000000..631e3687
--- /dev/null
+++ b/deploy/adapters/ansible/roles/config-osa/files/polling.yaml
@@ -0,0 +1,6 @@
+---
+sources:
+ - name: all_pollsters
+ interval: 300
+ meters:
+ - "*"
diff --git a/deploy/adapters/ansible/roles/config-osa/files/user_ceph.yml b/deploy/adapters/ansible/roles/config-osa/files/user_ceph.yml
index 9d5f13a9..6daa1436 100644
--- a/deploy/adapters/ansible/roles/config-osa/files/user_ceph.yml
+++ b/deploy/adapters/ansible/roles/config-osa/files/user_ceph.yml
@@ -14,3 +14,13 @@ cinder_backends:
rbd_user: cinder
rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"
report_discard_supported: true
+
+gnocchi_storage_driver: ceph
+gnocchi_ceph_pool: "metrics"
+ceph_extra_components:
+ - component: gnocchi_api
+ package:
+ - "{{ python_ceph_package }}"
+ client:
+ - '{{ gnocchi_ceph_client }}'
+ service: '{{ ceph_gnocchi_service_names }}'