mirror of https://github.com/ceph/ceph-ansible.git
Enable Ceph daemons debug options
Add debug options for Ceph daemons. Signed-off-by: Sébastien Han <sebastien.han@enovance.com>pull/187/head
parent
e18588b147
commit
74ffbf90fc
|
@ -55,7 +55,19 @@ cephx_require_signatures: true # Kernel RBD does NOT support signatures!
|
|||
cephx_cluster_require_signatures: true
|
||||
cephx_service_require_signatures: false
|
||||
max_open_files: 131072
|
||||
disable_in_memory_logs: true
|
||||
|
||||
# Logging
|
||||
disable_in_memory_logs: true # set this to false while enabling the options below
|
||||
|
||||
# Debug logs
|
||||
enable_debug_global: false
|
||||
debug_global_level: 20
|
||||
enable_debug_mon: false
|
||||
debug_mon_level: 20
|
||||
enable_debug_osd: false
|
||||
debug_osd_level: 20
|
||||
enable_debug_mds: false
|
||||
debug_mds_level: 20
|
||||
|
||||
## Monitor options
|
||||
#
|
||||
|
|
|
@ -56,6 +56,9 @@
|
|||
debug_paxos = 0/0
|
||||
debug_rgw = 0/0
|
||||
{% endif %}
|
||||
{% if enable_debug_global %}
|
||||
debug ms = {{ debug_global_level }}
|
||||
{% endif %}
|
||||
|
||||
[client]
|
||||
rbd cache = true
|
||||
|
@ -65,6 +68,11 @@
|
|||
[mon]
|
||||
mon osd down out interval = {{ mon_osd_down_out_interval }}
|
||||
mon osd min down reporters = {{ mon_osd_min_down_reporters }}
|
||||
{% if enable_debug_mon %}
|
||||
debug mon = {{ debug_mon_level }}
|
||||
debug paxos = {{ debug_mon_level }}
|
||||
debug auth = {{ debug_mon_level }}
|
||||
{% endif %}
|
||||
{% for host in groups['mons'] %}
|
||||
{% if hostvars[host]['ansible_hostname'] is defined %}
|
||||
[mon.{{ hostvars[host]['ansible_hostname'] }}]
|
||||
|
@ -100,9 +108,21 @@
|
|||
osd recovery threads = {{ osd_recovery_threads }}
|
||||
osd objectstore = {{ osd_objectstore }}
|
||||
osd crush update on start = {{ osd_crush_update_on_start }}
|
||||
{% if enable_debug_osd %}
|
||||
debug osd = {{ debug_osd_level }}
|
||||
debug filestore = {{ debug_osd_level }}
|
||||
debug journal = {{ debug_osd_level }}
|
||||
debug monc = {{ debug_osd_level }}
|
||||
{% endif %}
|
||||
|
||||
{% if mds %}
|
||||
[mds]
|
||||
{% if enable_debug_mds %}
|
||||
debug mds = {{ debug_mds_level }}
|
||||
debug mds balancer = {{ debug_mds_level }}
|
||||
debug mds log = {{ debug_mds_level }}
|
||||
debug mds migrator = {{ debug_mds_level }}
|
||||
{% endif %}
|
||||
{% for host in groups['mdss'] %}
|
||||
{% if hostvars[host]['ansible_hostname'] is defined %}
|
||||
[mds.{{ hostvars[host]['ansible_hostname'] }}]
|
||||
|
|
Loading…
Reference in New Issue