Bug 1543869 - openshift_docker_log_driver doesn't work
Summary: openshift_docker_log_driver doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: Michael Gugino
QA Contact: Gan Huang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-09 12:54 UTC by Gan Huang
Modified: 2018-03-28 19:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-28 14:27:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:27:56 UTC

Description Gan Huang 2018-02-09 12:54:53 UTC
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 12:55:43 UTC
Proposed PR: https://github.com/openshift/openshift-ansible/pull/7085

Comment 2 Russell Teague 2018-02-13 14:57:42 UTC
Assigning to mgugino since he is already involved in the PR above.

Comment 5 Gan Huang 2018-02-23 07:05:52 UTC
Verified in openshift-ansible-3.9.0-0.50.0.git.0.bb78b91.el7.noarch.rpm

Comment 8 errata-xmlrpc 2018-03-28 14:27:28 UTC
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 19:19:42 UTC
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.