Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1543869 - openshift_docker_log_driver doesn't work
openshift_docker_log_driver doesn't work
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.9.0
Assigned To: Michael Gugino
Gan Huang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-09 07:54 EST by Gan Huang
Modified: 2018-03-28 15:19 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-28 10:27:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 None None None 2018-03-28 10:27 EDT

  None (edit)
Description Gan Huang 2018-02-09 07:54:53 EST
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
Comment 1 Gan Huang 2018-02-09 07:55:43 EST
Proposed PR: https://github.com/openshift/openshift-ansible/pull/7085
Comment 2 Russell Teague 2018-02-13 09:57:42 EST
Assigning to mgugino since he is already involved in the PR above.
Comment 5 Gan Huang 2018-02-23 02:05:52 EST
Verified in openshift-ansible-3.9.0-0.50.0.git.0.bb78b91.el7.noarch.rpm
Comment 8 errata-xmlrpc 2018-03-28 10:27:28 EDT
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
Comment 9 Luke Meyer 2018-03-28 15:19:42 EDT
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".

Note You need to log in before you can comment on or make changes to this bug.