ceph-mon config parse error -- needs newline
Bug #1582324 reported by
David Britton
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.
Changed in ceph (Juju Charms Collection): | |
importance: | Undecided → Medium |
description: | updated |
To post a comment you must log in.
commit fc7c60bf09c38e0 114b2e2d00e8f39 c51db2cb09
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: I2a21f021502bde 5c688bd3ac4b84e f24a8bdef68
Closes-Bug: 1577519
Closes-Bug: 1578403