Project

General

Profile

Bug #8267

Bad ceph command syntax sends to mon anyway

Added by David Zafman almost 10 years ago. Updated almost 7 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
Joao Eduardo Luis
Category:
-
Target version:
-
% Done:

0%

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

Description

ceph osd pool create base 4 erasure teuthologyprofile

2014-04-18T16:57:19.734 DEBUG:teuthology.orchestra.run:Running [10.214.131.27]: "sudo TESTDIR=/home/ubuntu/cephtest bash -c 'ceph osd pool create base 4 erasure teuthologyprofile'"
2014-04-18T16:57:20.032 INFO:teuthology.orchestra.run.err:[10.214.131.27]: erasure not valid: erasure doesn't represent an int
2014-04-18T16:57:22.148 INFO:teuthology.orchestra.run.err:[10.214.131.27]: pool 'base' created

The ceph —help output and documentation say that it should look like:

osd pool create <poolname> <int[0-]> {<int[0-]>} {replicated|erasure} {<erasure_code_profile>} {<ruleset>}

e.g.

ceph osd pool create base 4 4 erasure teuthologyprofile

Since this command syntax error is detected and an error output, the command should NOT send a request to the mon and create the pool anyway.

History

#1 Updated by Sage Weil almost 7 years ago

  • Status changed from 12 to Can't reproduce

Also available in: Atom PDF