Bug 1676905 - [3.10] More consistent modification of journald.conf.
Summary: [3.10] More consistent modification of journald.conf.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.10.0
Hardware: All
OS: Linux
high
high
Target Milestone: ---
: 3.10.z
Assignee: Jeremiah Stuever
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On: 1667185 1676906
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-13 14:47 UTC by Jeremiah Stuever
Modified: 2019-03-14 02:15 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1667185
Environment:
Last Closed: 2019-03-14 02:15:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:0405 0 None None None 2019-03-14 02:15:38 UTC

Comment 1 Jeremiah Stuever 2019-02-13 14:55:00 UTC
https://github.com/openshift/openshift-ansible/pull/11191

Comment 3 Gaoyun Pei 2019-02-27 09:57:30 UTC
Verify this bug with openshift-ansible-3.10.118-1.git.0.690b957.el7.noarch.rpm


By default, journald.conf would be updated by openshift-ansible as below:

[root@ip-172-18-2-164 ~]# cat /etc/systemd/journald.conf
# Managed by OpenShift Ansible
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See journald.conf(5) for details.

[Journal]
Storage=persistent
Compress=True
#Seal=yes
#SplitMode=uid
SyncIntervalSec=1s
RateLimitInterval=1s
RateLimitBurst=10000
SystemMaxUse=8G
#SystemKeepFree=
SystemMaxFileSize=10M
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
MaxRetentionSec=1month
MaxFileSec=1day
ForwardToSyslog=False
#ForwardToKMsg=no
#ForwardToConsole=no
ForwardToWall=False
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg
#LineMax=48K



With journald_vars_to_replace=[] set in ansible inventory file, update journald conf step would be skipped:

TASK [openshift_node : Update journald setup] **********************************
Wednesday 27 February 2019  17:33:42 +0800 (0:00:00.232)       0:01:09.895 **** 

TASK [openshift_node : Tag journald managed by Ansible] ************************
Wednesday 27 February 2019  17:33:42 +0800 (0:00:00.048)       0:01:09.943 **** 
skipping: [ec2-54-89-125-112.compute-1.amazonaws.com] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}

Comment 5 errata-xmlrpc 2019-03-14 02:15:34 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-2019:0405


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