Bug 1454370
| Summary: | [3.4] Include Audit configuration in the installation process (Ansible OCP inventory) | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Russell Teague <rteague> |
| Component: | Installer | Assignee: | Russell Teague <rteague> |
| Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.4.1 | CC: | aos-bugs, bleanhar, gpei, jialiu, jkaur, jokerman, mmccomas, rteague |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | 3.4.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Adjusted conditionals to allow audit configuration for non-ha environments.
|
Story Points: | --- |
| Clone Of: | 1447019 | Environment: | |
| Last Closed: | 2017-06-12 15:41:07 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: | |||
| Bug Depends On: | 1447019, 1454377 | ||
| Bug Blocks: | |||
|
Comment 1
Russell Teague
2017-05-22 15:13:36 UTC
Verify this bug with openshift-ansible-3.4.1.28-1.git.0.983b1fb.el7.noarch.rpm.
With audit options added in ansible inventory for non-ha master environment, the related configurations could be found in master config file after installation.
openshift_master_audit_config={"enabled": true, "auditFilePath": "/var/log/audit-ocp.log", "maximumFileRetentionDays": 10,"maximumRetainedFiles": 10,"maximumFileSizeMegabytes": 100}
[root@ip-172-18-8-106 ~]# grep -A 4 audit /etc/origin/master/master-config.yaml
auditConfig:
auditFilePath: /var/log/audit-ocp.log
enabled: true
maximumFileRetentionDays: 10
maximumFileSizeMegabytes: 100
maximumRetainedFiles: 10
Will move this bug to verified after the openshift-ansible rpm package was attached to advisory 28675
Verify this bug with openshift-ansible-3.4.92-1.git.0.d622679.el7.noarch.rpm. openshift_master_audit_config works as expected in non-ha master env. 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-2017:1429 |