Project

General

Profile

Bug #22298

ceph-volume parsing errors on spaces / tabs

Added by Stefan Kooman over 3 years ago. Updated over 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph-volume --help
--> Unable to read configuration file: /etc/ceph/ceph.conf
--> File contains parsing errors: /etc/ceph/ceph.conf
[line 112]: ' host = mon1\n'
[line 115]: ' host = mon2\n'
[line 118]: ' host = mon3\n'
[line 121]: ' host = mon4\n'
[line 124]: ' host = mon5\n'
No handlers could be found for logger "ceph_volume.configuration"
usage: ceph-volume [-h] [--cluster CLUSTER] [--log-level LOG_LEVEL]
[--log-path LOG_PATH]

ceph-volume: Deploy Ceph OSDs using different device technologies like lvm or
physical disks.

Version: 1.0.0

Log Path: /var/log/ceph
Ceph Conf: /etc/ceph/ceph.conf

Available subcommands:

lvm Use LVM and LVM-based technologies like dmcache to deploy OSDs

optional arguments:
-h, --help show this help message and exit
--cluster CLUSTER Cluster name (defaults to "ceph")
--log-level LOG_LEVEL
Change the file log level (defaults to debug)
--log-path LOG_PATH Change the log path (defaults to /var/log/ceph)

According to the documentation is should be perfectly possible to indent the initial monitors: http://docs.ceph.com/docs/master/rados/configuration/mon-config-ref/#initial-members

ceph_full_mon.conf View - ceph.conf file giving parsing errors (3.59 KB) Stefan Kooman, 12/01/2017 01:16 PM

History

#1 Updated by Alfredo Deza over 3 years ago

  • Status changed from New to Duplicate

Also available in: Atom PDF