ceph-mon config parse error -- needs newline

Bug #1582324 reported by David Britton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Juju Charms Collection)
Fix Released
Medium
Unassigned

Bug Description

# ceph status
2016-05-16 16:55:07.339124 7f8f9d870700 -1 Errors while parsing config file!
2016-05-16 16:55:07.339128 7f8f9d870700 -1 read_conf: ignoring line 30 because it doesn't end with a newline! Please end the config file with a newline.
[...]

I think currently the file ends without a newline. Probably just a template needs adjusting in the charm. The health is still reported fine, but this kind of false failure is a pain for operators to chase down.

Tags: landscape
David Britton (dpb)
Changed in ceph (Juju Charms Collection):
importance: Undecided → Medium
David Britton (dpb)
description: updated
Revision history for this message
James Page (james-page) wrote :

commit fc7c60bf09c38e0114b2e2d00e8f39c51db2cb09
Author: James Page <email address hidden>
Date: Tue May 17 09:27:56 2016 +0100

    Defer radosgw key provision until OSD's detected

    The RADOS gateway on startup will try to initialize a number
    of pools in the Ceph cluster; if no OSD's are present at the
    point of startup, this operation is re-tried for a period of
    5 minutes.

    As ceph-radosgw and ceph-mon are typically deployed in LXC
    containers, they are up and running before ceph-osd units
    are fully operational, resulting in ceph-radosgw units with
    no running radosgw process.

    By deferring the provision of keys to related ceph-radosgw
    units until ceph-osd units are detected, the chance of this
    race happening is greatly reduced.

    Also add trailing space to ceph.conf as ceph requires that
    configuration files end with a newline.

    Change-Id: I2a21f021502bde5c688bd3ac4b84ef24a8bdef68
    Closes-Bug: 1577519
    Closes-Bug: 1578403

Changed in ceph (Juju Charms Collection):
status: New → Fix Released
milestone: none → 16.10
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.