Description of problem:
TripleO overrides ceph-ansible defaults ceph_conf_overrides,
/usr/share/ceph-ansible/roles/ceph-docker-common/defaults/main.yml defines a default log file to /dev/null to avoid double logging (file + journald). This parameter is ignored as tripleO builds its own ceph_conf_overrides map in /usr/share/openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml
Version-Release number of selected component (if applicable):
12
How reproducible:
Steps to Reproduce:
1. Deploy
2. Containers still logs in /var/log (inside the container)
docker exec -ti ceph-mon-lab-controller01 cat /var/log/ceph/ceph.log
(logging)
grep log /etc/ceph/ceph.conf
no match
3.
Actual results:
Containers are logging in files whereas ceph ansible default is to log to /dev/null
/usr/share/ceph-ansible/roles/ceph-docker-common/defaults/main.yml
---
ceph_conf_overrides:
global:
log_file: /dev/null
Expected results:
log_file: /dev/null in ceph.conf
Additional info:
Either include ceph-ansible ceph_conf_overrides values as part of the deployment or include them directly into /usr/share/openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml (require tracking over releases)
For now only one parameter (log_file) so impact is pretty low.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2018:0474
Description of problem: TripleO overrides ceph-ansible defaults ceph_conf_overrides, /usr/share/ceph-ansible/roles/ceph-docker-common/defaults/main.yml defines a default log file to /dev/null to avoid double logging (file + journald). This parameter is ignored as tripleO builds its own ceph_conf_overrides map in /usr/share/openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml Version-Release number of selected component (if applicable): 12 How reproducible: Steps to Reproduce: 1. Deploy 2. Containers still logs in /var/log (inside the container) docker exec -ti ceph-mon-lab-controller01 cat /var/log/ceph/ceph.log (logging) grep log /etc/ceph/ceph.conf no match 3. Actual results: Containers are logging in files whereas ceph ansible default is to log to /dev/null /usr/share/ceph-ansible/roles/ceph-docker-common/defaults/main.yml --- ceph_conf_overrides: global: log_file: /dev/null Expected results: log_file: /dev/null in ceph.conf Additional info: Either include ceph-ansible ceph_conf_overrides values as part of the deployment or include them directly into /usr/share/openstack-tripleo-heat-templates/docker/services/ceph-ansible/ceph-base.yaml (require tracking over releases) For now only one parameter (log_file) so impact is pretty low.