Project

General

Profile

Actions

Bug #3465

closed

Unclear error message when running 'ceph osd rm'

Added by Anonymous over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Category:
Monitor
Target version:
% Done:

0%

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

Description

I am new to the ceph project and was using man pages to execute commands. I misunderstood the command, and rather than using osd-id, i used osd-name:

#ceph osd rm osd.2  
and received the error:
osd.0 is still up

I should have used:
#ceph osd rm 2
received the output:
marked dne osd.2 (is dne suppose to be "done"?)

the error "osd.0 is still up" is very misleading.
the output SHOULD HAVE been "invalid syntax" and giving a help output for "ceph osd rm {osd-id}", to help the user, rather than send them on a wild goose chase.

Actions

Also available in: Atom PDF