Bug 1454370 - [3.4] Include Audit configuration in the installation process (Ansible OCP inventory)
Summary: [3.4] Include Audit configuration in the installation process (Ansible OCP in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.4.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.4.z
Assignee: Russell Teague
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On: 1447019 1454377
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-22 14:55 UTC by Russell Teague
Modified: 2017-06-12 15:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Adjusted conditionals to allow audit configuration for non-ha environments.
Clone Of: 1447019
Environment:
Last Closed: 2017-06-12 15:41:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1429 0 normal SHIPPED_LIVE OpenShift Container Platform atomic-openshift-utils bug fix and enhancement 2017-06-12 19:40:05 UTC

Comment 1 Russell Teague 2017-05-22 15:13:36 UTC
Proposed: https://github.com/openshift/openshift-ansible/pull/4259

Comment 3 Gaoyun Pei 2017-05-24 08:33:00 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

Comment 4 Gaoyun Pei 2017-06-01 07:08:24 UTC
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.

Comment 6 errata-xmlrpc 2017-06-12 15:41:07 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-2017:1429


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