ceph: invalid value for log_file parameter in ceph.conf

Bug #1428693 reported by Mykola Golub
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Bartłomiej Piotrowski
6.0.x
Won't Fix
Medium
Bartłomiej Piotrowski

Bug Description

After deploy we have the following value for log_file parameter in ceph.conf:

  log_file = /var/log/ceph/radosgw.log

why is it radosgw.log there? I would expect it to be:

  log_file = /var/log/ceph/$name.log

So different daemon would log to files with their names (e.g. osd1.log). This is especially good for OSD hosts running many OSD daemons, so the logs go to different files.

Or don't specify the parameter at all so the default value (/var/log/ceph/$cluster-$name.log) is used.

[root@cz-env-3-1-fuel-60-58 ~]# fuel -v
6.0.0

Ryan Moe (rmoe)
Changed in fuel:
status: New → Confirmed
milestone: none → 6.1
importance: Undecided → Medium
Ryan Moe (rmoe)
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Bartlomiej Piotrowski (bpiotrowski)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/162639

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/162640

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/162639
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=132415a8aeb88589745d860b10b180372a46883b
Submitter: Jenkins
Branch: master

commit 132415a8aeb88589745d860b10b180372a46883b
Author: Bartłomiej Piotrowski <email address hidden>
Date: Mon Mar 9 15:24:13 2015 +0100

    Use default log filenames for Ceph OSD nodes

    There is a possibility that an OSD host will run many OSD deamons, so it
    is better idea to log messages to different files, as it's done by
    default.

    Change-Id: Ief8186006386af8ae7e40cffeeaeef5a5c0f3c70
    Closes-Bug: 1428693

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/6.0)

Change abandoned by Bart?omiej Piotrowski (<email address hidden>) on branch: stable/6.0
Review: https://review.openstack.org/162640

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.