Project

General

Profile

Actions

Bug #622

closed

crushtool useless parse error

Added by John Leach over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

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

Description

I can't decide whether this is a bug in crushtool or a bug in my crushmap but whichever it is, the error message isn't helpful.

Attached is my human readable crushmap. When I compile this with crushtool, I get an error:

root@srv-an56n:~# crushtool -c /tmp/crush.txt -o /tmp/crush.new
/tmp/crush.txt:28 error: parse error at '# regions'

If I delete that comment line I get:

/tmp/crush.txt:27 error: parse error at ''

I'm certain I successfully compiled a very similar crushmap with 0.23.1

This is with 78a14622438addcd5c337c4924cce1f67d053ee9 from the rc branch.


Files

crushmap.txt (601 Bytes) crushmap.txt John Leach, 12/02/2010 03:07 AM
Actions

Also available in: Atom PDF