Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1926162

Summary: [RFE] - redirect MDS logs under /var/log/ceph/ceph-mds<XX>.log by default
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Hemanth Kumar <hyelloji>
Component: CephadmAssignee: Juan Miguel Olmo <jolmomar>
Status: CLOSED DUPLICATE QA Contact: Vasishta <vashastr>
Severity: high Docs Contact: Karen Norteman <knortema>
Priority: unspecified    
Version: 5.0CC: mhackett, sewagner, vereddy, vumrao
Target Milestone: ---Keywords: FutureFeature
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-31 12:43:05 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:

Comment 1 RHEL Program Management 2021-02-08 11:34:49 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 Juan Miguel Olmo 2021-02-09 17:45:34 UTC
why do we need to change the default logs settings in MDS daemons from the ones used in all the other daemons?


You say:
"when the service is down, it is very difficult to troubleshoot the failures"

If the service is down, we have several sources of information in order to know what is the cause:

In the "ceph shell":
# ceph orch ls <service> --format yaml

In the node where the ceph daemons are deployed:
# journalctl status service

Apart of that , and if you prefer use log files, you can follow:
https://docs.ceph.com/en/latest/cephadm/operations/#ceph-daemon-logs


Do you think that we need to change this? Please explain better what is the problem, I can't see any improvement changing the current default behavior

Comment 6 Sebastian Wagner 2021-05-31 12:43:05 UTC

*** This bug has been marked as a duplicate of bug 1939633 ***