]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
container: change the way we force no logs inside the container
authorSébastien Han <seb@redhat.com>
Tue, 9 Jan 2018 13:34:09 +0000 (14:34 +0100)
committerSébastien Han <seb@redhat.com>
Thu, 11 Jan 2018 14:08:19 +0000 (15:08 +0100)
Previously we were using ceph_conf_overrides however this doesn't play
nice for softwares like TripleO that uses ceph_conf_overrides inside its
own code. For now, and since this is the only occurence of this, we can
ensure no logs through the ceph conf template.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1532619
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit c2e04623a54007674ec60647a9e5ddd2da4f991b)
Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-config/templates/ceph.conf.j2
roles/ceph-docker-common/defaults/main.yml

index fb6a0cd05324982987206fe4442413e715b68415..433fb243380d823efad65f8d6a81249ccf644f5f 100644 (file)
@@ -74,6 +74,7 @@ mon host = {% if nb_mon > 0 %}
 
 {% if containerized_deployment %}
 fsid = {{ fsid }}
+log file = /dev/null
 mon host = {% if nb_mon > 0 %}
 {% for host in groups[mon_group_name] -%}
     {% if monitor_address_block != 'subnet' %}
index c9a5ea5149645fe221ef22935f9bc7828167b176..ed97d539c095cf1413af30cc23dea272095b97dd 100644 (file)
@@ -1,4 +1 @@
 ---
-ceph_conf_overrides:
-  global:
-    log_file: /dev/null