Bug 1305981 - [RHCeph 1.3.2] rgw logs in '/var/log/radosgw/
Summary: [RHCeph 1.3.2] rgw logs in '/var/log/radosgw/
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Installer
Version: 1.3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 1.3.2
Assignee: Boris Ranto
QA Contact: Vasu Kulkarni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-09 17:38 UTC by Vasu Kulkarni
Modified: 2022-02-21 18:03 UTC (History)
7 users (show)

Fixed In Version: ceph-0.94.5-9.el7cp
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-29 14:46:09 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1351375 0 unspecified CLOSED Rados Gateway (RGW) logrotate script references wrong path 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2016:0313 0 normal SHIPPED_LIVE Red Hat Ceph Storage 1.3.2 bug fix and enhancement update 2016-02-29 19:37:43 UTC

Internal Links: 1351375

Description Vasu Kulkarni 2016-02-09 17:38:32 UTC
Description of problem:

rgw logs in /var/log/radosgw instead of /var/log/ceph/radosgw

From bz1303799

issues noticed by borris

2.) You do store rgw logs in '/var/log/radosgw/ceph-client.rgw.clara005.log'. We should not do that as we have designated /var/log/ceph/ directory for ceph-related logs (we do not even package /var/log/radosgw directory). Again, let me know if this is a default (not configured) behaviour somewhere in the source code so that I could update the policy accordingly.

Version-Release number of selected component (if applicable):
1.3.2 - 0.94.5-8

How reproducible:
always


Steps to Reproduce:
run test with selinux and notice the denials

Actual results:
rgw logs should be in /var/log/ceph

Comment 2 Boris Ranto 2016-02-11 11:17:00 UTC
The upstream PR:

https://github.com/ceph/ceph/pull/7604

We should do the same downstream.

Comment 3 Boris Ranto 2016-02-11 14:03:50 UTC
dist-git commits related to build ceph-0.94.5-9.el7cp:
http://pkgs.devel.redhat.com/cgit/rpms/ceph/commit/?h=ceph-1.3-rhel-7&id=2ceb68f2a953acc1a12b7cc7ebcc14f35cf4bc6c

Comment 6 errata-xmlrpc 2016-02-29 14:46:09 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-2016:0313


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