Description of problem: Set openshift_docker_log_driver to journald in inventory file, but it still resulted in that the docker log driver defaulted to json-file. Version-Release number of the following components: openshift-ansible-3.9.0-0.38.0.git.0.57e1184.el7.noarch How reproducible: always Steps to Reproduce: 1. Set openshift_docker_log_driver=journald in inventory file 2. trigger intallation 3. Actual results: Docker log driver was not set to /etc/sysconfig/docker. The docker log driver still defaulted to json-file Expected results: The docker log driver set journald as expected. Additional info: Please attach logs from ansible-playbook with the -vvv flag
Proposed PR: https://github.com/openshift/openshift-ansible/pull/7085
Assigning to mgugino since he is already involved in the PR above.
Verified in openshift-ansible-3.9.0-0.50.0.git.0.bb78b91.el7.noarch.rpm
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:0489
It's worth noting that this option is undocumented, and prior to 3.9, it would be overridden by the default openshift_docker_options which included "--log-driver=journald".