mirror of https://github.com/ceph/ceph-ansible.git
Add RBD client logs support
The path must be writable by QEMU and allowed by SELinux or AppArmor Signed-off-by: Sébastien Han <sebastien.han@enovance.com>pull/212/head
parent
c3df7813a6
commit
68e470c6b8
|
@ -58,6 +58,7 @@ max_open_files: 131072
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
disable_in_memory_logs: true # set this to false while enabling the options below
|
disable_in_memory_logs: true # set this to false while enabling the options below
|
||||||
|
rbd_client_log_file: /var/log/qemu/qemu-guest-$pid.log # must be writable by QEMU and allowed by SELinux or AppArmor
|
||||||
|
|
||||||
# Debug logs
|
# Debug logs
|
||||||
enable_debug_global: false
|
enable_debug_global: false
|
||||||
|
|
|
@ -64,7 +64,8 @@
|
||||||
[client]
|
[client]
|
||||||
rbd cache = true
|
rbd cache = true
|
||||||
rbd cache writethrough until flush = true
|
rbd cache writethrough until flush = true
|
||||||
admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok
|
admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok # must be writable by QEMU and allowed by SELinux or AppArmor
|
||||||
|
log file = {{ rbd_client_log_file }} # must be writable by QEMU and allowed by SELinux or AppArmor
|
||||||
|
|
||||||
[mon]
|
[mon]
|
||||||
mon osd down out interval = {{ mon_osd_down_out_interval }}
|
mon osd down out interval = {{ mon_osd_down_out_interval }}
|
||||||
|
|
Loading…
Reference in New Issue