Add support for Ceph monitoring
This change adds support for Ceph monitoring:
- service.monitoring.cluster_stats is applied to monitoring nodes for
collecting cluster-wide metrics (through the Ceph CLI).
- service.monitoring.node_stats is applied to the Ceph nodes for
collecting monitor and OSD metrics (through Unix sockets).
Because Telegraf runs as a container on the monitoring nodes and
requires a working Ceph client configuration, this change also adds
support for deploying Ceph client in container mode.
Change-Id: If7359aca34a350f2c8ee2251bbe8a85314550a45
diff --git a/tests/pillar/ceph_client_container.sls b/tests/pillar/ceph_client_container.sls
new file mode 100644
index 0000000..41fd7d1
--- /dev/null
+++ b/tests/pillar/ceph_client_container.sls
@@ -0,0 +1,26 @@
+ceph:
+ client:
+ enabled: true
+ container_mode: true
+ prefix_dir: /srv/volumes/ceph
+ config:
+ global:
+ fsid: 00000000-0000-0000-0000-000000000000
+ mon initial members: ceph1,ceph2,ceph3
+ mon host: 10.103.255.252:6789,10.103.255.253:6789,10.103.255.254:6789
+ osd_fs_mkfs_arguments_xfs:
+ osd_fs_mount_options_xfs: rw,noatime
+ network public: 10.0.0.0/24
+ network cluster: 10.0.0.0/24
+ osd_fs_type: xfs
+ osd:
+ osd journal size: 7500
+ filestore xattr use omap: true
+ mon:
+ mon debug dump transactions: false
+ keyring:
+ cinder:
+ key: 00000000000000000000000000000000000000==
+ glance:
+ key: 00000000000000000000000000000000000000==
+