Enable collectd-ceph plugin only where needed
We need to ensure that ceph plugin is enabled only on relevant nodes,
otherwise it might bring whole collectd down (unlike other collectd plugins)
Change-Id: I36735dc6699e957ee8903ee5a8e9f642740ea5d3
(cherry picked from commit 0b13905447
)
This commit is contained in:
parent
66c014e13e
commit
02355504f8
|
@ -71,6 +71,11 @@ outputs:
|
||||||
service_name: ceph_mon
|
service_name: ceph_mon
|
||||||
upgrade_tasks: {get_attr: [CephBase, role_data, upgrade_tasks]}
|
upgrade_tasks: {get_attr: [CephBase, role_data, upgrade_tasks]}
|
||||||
post_upgrade_tasks: {get_attr: [CephBase, role_data, post_upgrade_tasks]}
|
post_upgrade_tasks: {get_attr: [CephBase, role_data, post_upgrade_tasks]}
|
||||||
|
service_config_settings:
|
||||||
|
collectd:
|
||||||
|
tripleo.collectd.plugins.ceph_osd:
|
||||||
|
- ceph
|
||||||
|
collectd::plugin::ceph::daemons: []
|
||||||
puppet_config:
|
puppet_config:
|
||||||
config_image: ''
|
config_image: ''
|
||||||
config_volume: ''
|
config_volume: ''
|
||||||
|
|
|
@ -121,6 +121,11 @@ outputs:
|
||||||
when: step|int == 2
|
when: step|int == 2
|
||||||
become: true
|
become: true
|
||||||
delegate_to: "{{ ceph_mon_short_bootstrap_node_name }}"
|
delegate_to: "{{ ceph_mon_short_bootstrap_node_name }}"
|
||||||
|
service_config_settings:
|
||||||
|
collectd:
|
||||||
|
tripleo.collectd.plugins.ceph_osd:
|
||||||
|
- ceph
|
||||||
|
collectd::plugin::ceph::daemons: []
|
||||||
puppet_config:
|
puppet_config:
|
||||||
config_image: ''
|
config_image: ''
|
||||||
config_volume: ''
|
config_volume: ''
|
||||||
|
|
Loading…
Reference in New Issue