Skip to content

Commit

Permalink
Storage: 4.0 stats daemon provision
Browse files Browse the repository at this point in the history
Closes-Bug: #1690949
- Enabling the storage stats process via ansible.
  This is applicable for the ceph controller container

Change-Id: I4f8d15bf88637d0ddeb4a7376b52eb435a0a9157
  • Loading branch information
srinivn committed May 16, 2017
1 parent fbe4e26 commit d350aa7
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions playbooks/roles/storage/ceph_controller/tasks/configure.yml
Expand Up @@ -10,3 +10,6 @@

- name: setup daemons
include: ceph_daemon_config.yml

- name: prepare variables for storage stats
include: contrail_storage_stats_prep_vars.yml
@@ -0,0 +1,5 @@
---
- name: create contrail-storage-stats config file
template:
src: contrail.storage.nodemgr.conf.j2
dest: "{{ contrail_storage_nodemgr_file }}"
@@ -0,0 +1,17 @@
[DEFAULTS]
node_type=storage-master
#disc_server_port=5998
log_file=/var/log/contrail/contrail-storage-stats.log
log_level=SYS_NOTICE
log_local=1
disc_server_ip= {{ analytics_ip }}
# Sandesh send rate limit can be used to throttle system logs transmitted per
# second. System logs are dropped if the sending rate is exceeded
# sandesh_send_rate_limit=

[SANDESH]
#sandesh_ssl_enable=False
#introspect_ssl_enable=False
#sandesh_keyfile=/etc/contrail/ssl/private/server-privkey.pem
#sandesh_certfile=/etc/contrail/ssl/certs/server.pem
#sandesh_ca_cert=/etc/contrail/ssl/certs/ca-cert.pem
1 change: 1 addition & 0 deletions playbooks/roles/storage/ceph_controller/vars/main.yml
@@ -1,6 +1,7 @@
---
ceph_controller_conf_file: /etc/contrailctl/cephcontroller.conf
ceph_conf_file: /etc/ceph/ceph.conf
contrail_storage_nodemgr_file: /etc/contrail/contrail-storage-nodemgr.conf
ceph_mon_keyring_file: /tmp/ceph.mon.keyring
ceph_client_admin_keyring_file: /etc/ceph/ceph.client.admin.keyring
ceph_monip_list: ''
Expand Down

0 comments on commit d350aa7

Please sign in to comment.