Project

General

Profile

Actions

Bug #6384

closed

ceph tool: incorrect pool delete line returns unintelligible failure message

Added by Greg Farnum over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
ceph cli
Target version:
-
% Done:

0%

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

Description

gregf@kai:~/ceph/src [wip-6189-cache-promote]$ ./ceph osd pool delete base_pool
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
Invalid command:  saw 0 of pool2(<poolname>), expected 1
Error EINVAL: invalid command

Going through ./ceph --help I managed to figure out the proper format is

gregf@kai:~/ceph/src [wip-6189-cache-promote]$ ./ceph osd pool delete base_pool base_pool --yes-i-really-really-mean-it
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
pool 'base_pool' deleted

but the error output certainly didn't help me get there.

Actions

Also available in: Atom PDF