ceph mon log is in wrong locaiton

Bug #1677237 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
High
Jeffrey Zhang
Ocata
Fix Released
High
Jeffrey Zhang

Bug Description

current ceph mon log is wrote into /var/log/ceph/ceph.log, which is wrong.

ceph mon log is controlled by "mon cluster log file"

Changed in kolla-ansible:
milestone: none → pike-1
assignee: nobody → Jeffrey Zhang (jeffrey4l)
importance: Undecided → Critical
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

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

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/451407
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=2947a95c291c0ddfbf60cd611f30f2ece6173098
Submitter: Jenkins
Branch: master

commit 2947a95c291c0ddfbf60cd611f30f2ece6173098
Author: Jeffrey Zhang <email address hidden>
Date: Wed Mar 29 21:33:31 2017 +0800

    Fix ceph log location

    There are to parameter for ceph-mon/ceph-osd/radosgw, "-f" and "-d".

        -d run in foreground, log to stderr.
        -f run in foreground, log to usual location.

    When log tin stderr, docker engine will collect the logs. It is useless
    and we should write the log into file only. Then stop writing log to
    stderr.

    ceph-mon log location is controlled by "mon cluster log file".

    Change-Id: I7883a4316420bc2bf4c772cb7248b663359f54b7
    Closes-Bug: #1677237

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/453023

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ocata)

Reviewed: https://review.openstack.org/453023
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=a2b02c58c07129874db319c07d29f0730f00ab86
Submitter: Jenkins
Branch: stable/ocata

commit a2b02c58c07129874db319c07d29f0730f00ab86
Author: Jeffrey Zhang <email address hidden>
Date: Wed Mar 29 21:33:31 2017 +0800

    Fix ceph log location

    There are to parameter for ceph-mon/ceph-osd/radosgw, "-f" and "-d".

        -d run in foreground, log to stderr.
        -f run in foreground, log to usual location.

    When log tin stderr, docker engine will collect the logs. It is useless
    and we should write the log into file only. Then stop writing log to
    stderr.

    ceph-mon log location is controlled by "mon cluster log file".

    Change-Id: I7883a4316420bc2bf4c772cb7248b663359f54b7
    Closes-Bug: #1677237
    (cherry picked from commit 2947a95c291c0ddfbf60cd611f30f2ece6173098)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.1

This issue was fixed in the openstack/kolla-ansible 4.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b2 development milestone.

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.