Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1426169

Summary: OPS Tools | Centralized Logging | Fluentd can not access /var/log/httpd and therefor can not gather logs for API services.
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: fluentdAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: dbecker, jschluet, lnatapov, lruzicka, mbracho, mburns, mcornea, mmagr, morazi, mrunge, oblaut, rhel-osp-director-maint, rmeggins, sgordon
Target Milestone: ---Keywords: Regression
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fluentd-0.12.31-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-17 20:24:31 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: 1427900    
Attachments:
Description Flags
patch none

Description Leonid Natapov 2017-02-23 11:09:18 UTC
In the latest OSP11 puddle from 21/2/2017 ,fluentd can not access /var/log/httpd and therefor can not gather logs for API services.

chmod 750 /var/log/httpd solves the problem.

Comment 1 Martin Magr 2017-02-23 17:42:54 UTC
Gonna change fluentd packaging to run the service as root.

Comment 7 Martin Magr 2017-03-09 11:19:41 UTC
Created attachment 1261512 [details]
patch

Comment 9 Lon Hohberger 2017-04-10 15:22:47 UTC
Building new package - the commit to fix this removed uid/gid creation of fluentd user, so 'rpm -V' fails.

This is because without a fluend user/group on the system, rpm resets file permissions to root/root.

Simple fix: change defattr from (-, fluentd, fluent, -) to (-, root, root, -) in order to match UID/GID expectations in RPM.

Comment 10 Leonid Natapov 2017-04-23 12:41:37 UTC
fixed.

Comment 13 errata-xmlrpc 2017-05-17 20:24:31 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:1246