Bug 1676565
| Summary: | openshift_node/defaults/main.yml using a wrong journald value | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Javier Ramirez <javier.ramirez> |
| Component: | Installer | Assignee: | Russell Teague <rteague> |
| Installer sub component: | openshift-ansible | QA Contact: | Johnny Liu <jialiu> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aos-bugs, gpei, jokerman, mmccomas |
| Version: | 3.11.0 | ||
| Target Milestone: | --- | ||
| Target Release: | 3.11.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Default journald configuration had SystemKeepFree parameter set to percentages
Consequence: journald doesn't accept percentage values in SystemKeepFree, so this setting had no effect and could cause disk to be filled up
Fix: This parameter was removed from default settings
Result: Users have to update journald_vars_to_replace with absolute value in SystemKeepFree to avoid disk filling in
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-14 18:47:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Reading through the referenced bug it seems like the default if not specified is 15% but when specifying a value it must be in absolute units. So I think we should just drop this value as it's not possible to specify a percentage via configuration and it's not possible to come up with a reasonable absolute value otherwise. Created upstream Pull Request: https://github.com/openshift/openshift-ansible/pull/11187 Thanks Javier! Fix is available in openshift-ansible-3.11.84-1 Verify this bug with openshift-ansible-3.11.87-1.git.0.a7b07ff.el7.noarch.rpm SystemKeepFree was removed from roles/openshift_node/defaults/main.yml After a fresh installation, no such setting in journald.conf [root@qe-gpei-2master-registry-router-etcd-1 ~]# grep SystemKeepFree /etc/systemd/journald.conf [root@qe-gpei-2master-registry-router-etcd-1 ~]# |
Description of problem: In /roles/openshift_node/defaults/main.yml there is a setting - { var: SystemKeepFree, val: 20% } that is incorrect, journald doesnt accept percentages as input for config files as specified in https://bugzilla.redhat.com/show_bug.cgi?id=874631 ' This cause log disk filling up because of wrong default configuration settings in openshift-ansible. How reproducible: Always Actual results: Log disk filling up because of wrong default configuration settings in openshift-ansible. Expected results: Good journald settings to be used Additional info: While We wait until https://bugzilla.redhat.com/show_bug.cgi?id=874631 is resolved and therefore the percentage value would be correct, we should ammend the main.yml file with a fixed value like: - { var: SystemKeepFree, val: 1G }