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 1856309

Summary: [RFE] [cephadm] : save cephadm bootstrap logs in a log file
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
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: pnataraj, sunnagar
Target Milestone: ---Keywords: FutureFeature, TestBlocker
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-17 13:06:57 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:
Attachments:
Description Flags
cephadm log
none
cehadm.log.1 none

Description Vasishta 2020-07-13 11:20:07 UTC
Description of problem:
As of now cephadm bootstrap logs are not stored in a particular file. It would be helpful if bootstrap logs are stored so that it will be helpful in future references.

cephadm-15.2.4-9.el8cp.x86_64

Comment 3 Preethi 2020-11-18 09:28:00 UTC
Created attachment 1730498 [details]
cephadm log

Comment 7 Preethi 2020-11-19 10:36:50 UTC
Created attachment 1730879 [details]
cehadm.log.1

Comment 8 Preethi 2020-11-20 09:57:19 UTC
@Juan, I was able to verify the logs again. We do not see the Dashboard credentials capturing in the cephadm.log file as displayed when bootstrap completes. If this is expected due to security reasons we can close this BZ. Please confirm.

I assume rest all details are capturing in the cephadm.log except dashboard credentials displayed at the time of bootstrap completes

Comment 9 Preethi 2020-11-25 06:57:36 UTC
@Juan, Is there a way to regenerate dashboard credentials as am not able to see the credentials getting captured in /var/log/cephadm.log and cephadm.log.1. We need them if we forget to login to dashboard url displayed at the time of bootstrap.

Comment 10 Juan Miguel Olmo 2020-12-02 17:31:38 UTC
Can we close this bug?

The log file is created, the problem seen is because:
https://bugzilla.redhat.com/show_bug.cgi?id=1901644

Comment 11 Preethi 2020-12-17 13:06:57 UTC
This is tracked in another BZ. https://bugzilla.redhat.com/show_bug.cgi?id=1901644. Hence, closing this as duplicate.

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