Bug 1317427 - [RFE] ceph.log is used for 2 different purposes (ceph and ceph-deploy) , Rename ceph-deploy log file to ceph-deploy-${CLUSTER}.log
[RFE] ceph.log is used for 2 different purposes (ceph and ceph-deploy) , Rena...
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Installer (Show other bugs)
1.3.2
x86_64 All
medium Severity medium
: rc
: 1.3.3
Assigned To: Ken Dreyer (Red Hat)
Vasishta
Bara Ancincova
:
Depends On: 1304533
Blocks: 1372735
  Show dependency treegraph
 
Reported: 2016-03-14 04:56 EDT by Vikhyat Umrao
Modified: 2017-01-06 15:11 EST (History)
6 users (show)

See Also:
Fixed In Version: RHEL: ceph-deploy-1.5.36-1.el7cp Ubuntu: ceph-deploy_1.5.36-2redhat1
Doc Type: Enhancement
Doc Text:
."ceph-deploy" now has its own ceph-deploy-${cluster_name}.log file The `ceph-deploy` utility has now its own `ceph-deploy-${cluster-name}.log` file. Previously, the `${cluster-name}.log` file was used to log `ceph-deploy` entries, which could lead to confusion because this file is also used to log entries related to the Ceph cluster.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-29 08:57:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2200571 None None None 2016-03-16 02:04 EDT
Ceph Project Bug Tracker 15112 None None None 2016-03-14 05:01 EDT

  None (edit)
Description Vikhyat Umrao 2016-03-14 04:56:36 EDT
Description of problem:

[RFE] ceph.log is used for 2 different purposes (ceph and ceph-deploy) , Rename ceph-deploy log file to ceph-deploy.log instead of ceph.log.

Using the same log file for 2 different things is very confusing for users . And this would also make support process easier as you would no longer have to explain what ceph.log is required.


Version-Release number of selected component (if applicable):
Red Hat Ceph Storage 1.3
Comment 2 Vikhyat Umrao 2016-03-14 04:58:58 EDT
Actually both the logs file based on *cluster* name. ceph-deploy uses "ceph.log" because it is using $CLUSTER.log so if you name your cluster $FOO it will write a foo.log

ceph-deploy logs got to the current working directory for installation.  This surely does not conflict with /var/log/ceph/ceph.log which is also  $CLUSTER.log but in different path.

So the whole logic behind these log file name is $CLUSTER name.  But still both have different path.

I have created this bugzilla as RFE and also will open an ceph upstream tracker to take inputs from upstream. 

If it will get accepted in next future release of ceph-deploy log file name would be changed.
Comment 3 Vikhyat Umrao 2016-03-14 05:01:16 EDT
Ceph Upstream Tracker : http://tracker.ceph.com/issues/15112
Comment 5 Vikhyat Umrao 2016-03-15 09:28:50 EDT
Sent an upstream patch : https://github.com/ceph/ceph-deploy/pull/390
Comment 6 Vikhyat Umrao 2016-03-16 02:01:10 EDT
(In reply to Vikhyat Umrao from comment #5)
> Sent an upstream patch : https://github.com/ceph/ceph-deploy/pull/390

Patch is Merged now in master.
Comment 7 Mike McCune 2016-03-28 18:51:39 EDT
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions
Comment 14 errata-xmlrpc 2016-09-29 08:57:09 EDT
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://rhn.redhat.com/errata/RHSA-2016-1972.html

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