Project

General

Profile

Fix #11118

remove `osd destroy` command from the help menu

Added by Alfredo Deza over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
03/16/2015
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature:

Description

Because it is not implemented and it is deceiving to have it in the 'available subcommands' section

ceph-deploy osd --help
usage: ceph-deploy osd [-h] [--zap-disk] [--fs-type FS_TYPE] [--dmcrypt]
                       [--dmcrypt-key-dir KEYDIR]
                       SUBCOMMAND HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]
                       ...]

Manage OSDs by preparing a data disk on remote host.

For paths, first prepare and then activate:

    ceph-deploy osd prepare {osd-node-name}:/path/to/osd
    ceph-deploy osd activate {osd-node-name}:/path/to/osd

For disks or journals the `create` command will do prepare and activate
for you.

positional arguments:
  SUBCOMMAND            list, create (prepare+activate), prepare, activate, or
                        destroy
  HOST:DISK[:JOURNAL]   host and disk to prepare
$ ceph-deploy osd destroy node2:/dev/sdb
[ceph_deploy.conf][DEBUG ] found configuration file at: /Users/alfredo/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.22-rc1): /Users/alfredo/.virtualenvs/ceph-deploy/bin/ceph-deploy osd destroy node2:/dev/sdb
[ceph_deploy.osd][ERROR ] subcommand destroy not implemented

Associated revisions

Revision a2502c9a (diff)
Added by Travis Rhoden over 4 years ago

remove unimplemented 'osd destroy' subcommand

Fixes: #11118

Signed-off-by: Travis Rhoden <>

History

#1 Updated by Travis Rhoden over 4 years ago

  • Status changed from New to Need Review
  • Assignee set to Travis Rhoden
  • Target version set to 1.5.23
  • Source changed from other to Development

#2 Updated by Travis Rhoden over 4 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF