Bug 1676905
| Summary: | [3.10] More consistent modification of journald.conf. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jeremiah Stuever <jstuever> |
| Component: | Installer | Assignee: | Jeremiah Stuever <jstuever> |
| Installer sub component: | openshift-ansible | QA Contact: | Gaoyun Pei <gpei> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aos-bugs, gpei, jialiu, jokerman, jstuever, mmccomas, rhowe, rmeggins, rupatel, sdodson, vrutkovs |
| Version: | 3.10.0 | Keywords: | Reopened |
| Target Milestone: | --- | ||
| Target Release: | 3.10.z | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1667185 | Environment: | |
| Last Closed: | 2019-03-14 02:15:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1667185, 1676906 | ||
| Bug Blocks: | |||
|
Comment 1
Jeremiah Stuever
2019-02-13 14:55:00 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}
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 |