Bug 1939633 - RFE - 5.0 Cephadm - Need support for cephadm daemon logs redirection to non default files other than fixed files and also to a non default directory or to an external path
Summary: RFE - 5.0 Cephadm - Need support for cephadm daemon logs redirection to non ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: 7.0
Assignee: Adam King
QA Contact: Vasishta
Karen Norteman
URL:
Whiteboard:
: 1926162 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-16 17:34 UTC by Preethi
Modified: 2023-07-05 15:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-05 15:29:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 49838 0 None None None 2021-03-19 17:07:29 UTC

Description Preethi 2021-03-16 17:34:59 UTC
Description of problem:
RFE - 5.0 Cephadm - Need support for cephadm daemon logs redirection to  non default files other than fixed files and also to a non default directory or to an external path

logged upstream tracker for the same:
https://tracker.ceph.com/issues/49838



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Sebastian Wagner 2021-05-31 12:43:01 UTC
*** Bug 1926162 has been marked as a duplicate of this bug. ***

Comment 3 Preethi 2021-07-09 07:37:25 UTC
This support is needed to provide flexibility to the customer to save the logs wherever they want apart from the fixed or default location what we have now. ex: NFS share. external devices

Comment 4 Sebastian Wagner 2021-07-09 08:51:11 UTC
There are plenty of ways, customers can post-process logs. 

In case they're using journald, the can use rsyslog, syslog, imjournal, logstash, symlinks or bind mounts to get the logs where ever they want to have them. 
In case they're logging to files, they can use rsync or symlinks to get the logs where ever they want to have them. 

If they're disabling the journald integration, they're loosing a lot of features and flexibility. I'd really like to avoid re-implementing journald here and this BZ here feels like an inferior workaround compared to the proper solution to their problem. What do you think?

Comment 5 Preethi 2021-07-14 06:44:22 UTC
@Sebastian, We have an option to redirect ansible logs in 4.x. Similarly we want atleast for cephadm log redirection to non default path. Daemon logs however,we have journald option to make use of it as you said.


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