Bug 1565555
| Summary: | audit log created in pod(master api) but not on master server in ocp 3.10 | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | ge liu <geliu> | |
| Component: | Master | Assignee: | Maciej Szulik <maszulik> | |
| Status: | CLOSED DUPLICATE | QA Contact: | Xingxing Xia <xxia> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 3.10.0 | CC: | aos-bugs, byount, cshereme, fshaikh, gferrazs, jokerman, mfojtik, mmccomas, mrobson, sdodson, sgaikwad, wsun, zhiwang | |
| Target Milestone: | --- | Keywords: | Reopened | |
| Target Release: | 3.10.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1663871 (view as bug list) | Environment: | ||
| Last Closed: | 2018-12-17 21:44:15 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: | ||||
| Bug Blocks: | 1663871 | |||
|
Description
ge liu
2018-04-10 09:55:12 UTC
Expected resutls: audit log should located on the host instead of the pod I think Scott, is there a way the installer can bind mount a directory from the master to store the audit log on the host? The location and mounting is not related to the audit functionality which is working just fine. I'm re-assigining this to Scott, since he's dealing with the installer bits. We're going to mount up /var/log and release note that you must configure the audit log to live in /var/log somewhere. Due to the move to static pods there are only certain paths that are mounted in the master pods. These are /etc/origin/master, /etc/origin/cloudprovider and /var/lib/origin. Bug 1570935 adds a pre-upgraed check to ensure that all paths defined in /etc/origin/master/master-config.yaml fall into those locations. If there's a path that doens't we'll require that the admin reconfigure their environment to move items to those paths. Closing this as a dupe of 1570935 *** This bug has been marked as a duplicate of bug 1570935 *** David Eads has pointed out that other apiservers are also affected by the audit config. I think the master team needs to more thoroughly consider audit logging. If all we really need to do is mount up /var/log in the apiserver static pod then move it back. It sounds like that isn't sufficient however. *** Bug 1619453 has been marked as a duplicate of this bug. *** *** Bug 1623700 has been marked as a duplicate of this bug. *** *** Bug 1630759 has been marked as a duplicate of this bug. *** This was fixed in https://github.com/openshift/openshift-ansible/pull/8189 as mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1570935. Also doc bugzilla is here: https://bugzilla.redhat.com/show_bug.cgi?id=1622044. Closing this as a duplicate. *** This bug has been marked as a duplicate of bug 1622044 *** |