Bug 1426169 - OPS Tools | Centralized Logging | Fluentd can not access /var/log/httpd and therefor can not gather logs for API services.
Summary: OPS Tools | Centralized Logging | Fluentd can not access /var/log/httpd and t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: fluentd
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 11.0 (Ocata)
Assignee: Martin Magr
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks: 1427900
TreeView+ depends on / blocked
 
Reported: 2017-02-23 11:09 UTC by Leonid Natapov
Modified: 2023-02-22 23:02 UTC (History)
14 users (show)

Fixed In Version: fluentd-0.12.31-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-17 20:24:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch (2.48 KB, application/mbox)
2017-03-09 11:19 UTC, Martin Magr
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1246 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 11.0 Operational Tools Enhancement Advisory 2017-05-17 23:19:50 UTC

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


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