Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes-Bug: #1690949 - Enabling the storage stats process via ansible. This is applicable for the ceph controller container Change-Id: I4f8d15bf88637d0ddeb4a7376b52eb435a0a9157
- Loading branch information
Showing
4 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
playbooks/roles/storage/ceph_controller/tasks/contrail_storage_stats_prep_vars.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
- name: create contrail-storage-stats config file | ||
template: | ||
src: contrail.storage.nodemgr.conf.j2 | ||
dest: "{{ contrail_storage_nodemgr_file }}" |
17 changes: 17 additions & 0 deletions
17
playbooks/roles/storage/ceph_controller/templates/contrail.storage.nodemgr.conf.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters