]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-common: client settings are for libvirt 916/head
authorKen Dreyer <kdreyer@redhat.com>
Tue, 2 Aug 2016 15:57:24 +0000 (09:57 -0600)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 2 Aug 2016 16:00:22 +0000 (10:00 -0600)
Prior to this change, each ceph cluster node would end up with several
"qemu-client-$pid.log" files owned by root. The [client] section would
capture *all* client activity (for example the "ceph health" command,
etc), not just librbd-in-qemu.

Restrict this section to libvirt clients only so that we don't generate
these spurious log files for other Ceph client traffic.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
roles/ceph-common/templates/ceph.conf.j2

index 12370bdbe8bc3c4c7771854dec919b91e1434f58..aa383c2175fd63f6dad82c87e35e0fcdc9534c59 100644 (file)
@@ -15,7 +15,7 @@ max open files = {{ max_open_files }}
 {% if common_single_host_mode is defined %}
 osd crush chooseleaf type = 0
 {% endif %}
-[client]
+[client.libvirt]
 admin socket = {{ rbd_client_admin_socket_path }}/$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