Project

General

Profile

Actions

Fix #11118

closed

remove `osd destroy` command from the help menu

Added by Alfredo Deza about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Travis Rhoden
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

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
Actions #1

Updated by Travis Rhoden about 9 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Travis Rhoden
  • Target version set to 1.5.23
  • Source changed from other to Development
Actions #2

Updated by Travis Rhoden about 9 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF