]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-config: do not log cluster log on container
authorSébastien Han <seb@redhat.com>
Thu, 5 Jul 2018 12:10:33 +0000 (14:10 +0200)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Thu, 5 Jul 2018 15:11:45 +0000 (15:11 +0000)
The container image recently merged both cluster and mon log into a
single stream. Following this, we now see this warning coming from the
container image:

2018-06-19 13:44:01.542990 7ff75b024700  1 mon.vm02@1(peon).log
v57928205 unable to write to '/var/log/ceph/ceph.log' for channel
'cluster': (2) No such file or directory

So we now tell the mon to not log cluster log on the filesystem.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1591771
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-config/templates/ceph.conf.j2

index 9c551444106c28d9745d9981e70b383f9a36ebfa..0d1c973933d98dcada05aec1e7e9fd0694c1eab4 100644 (file)
@@ -75,6 +75,7 @@ mon host = {% if nb_mon > 0 %}
 {% if containerized_deployment %}
 fsid = {{ fsid }}
 log file = /dev/null
+mon cluster log file = /dev/null
 mon host = {% if nb_mon > 0 %}
 {% for host in groups[mon_group_name] -%}
     {% if monitor_address_block != 'subnet' %}