Project

General

Profile

Actions

Bug #50109

closed

ceph-volume can't deactivate all

Added by Konstantin Shalygin about 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
pacific,octopus
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

root@host:~# ceph-volume lvm deactivate --help
usage: ceph-volume lvm deactivate [-h] [osd_id] [osd_uuid]

Deactivate unmounts and OSDs tmpfs and closes any crypt devices.

    ceph-volume lvm deactivate {ID} {FSID}

To deactivate all volumes use the --all flag.
    ceph-volume lvm deactivate --all

positional arguments:
  osd_id      The ID of the OSD
  osd_uuid    The UUID of the OSD, similar to a SHA1, takes precedence over
              osd_id

optional arguments:
  -h, --help  show this help message and exit
root@host:~# ceph-volume lvm deactivate --all
usage: ceph-volume lvm deactivate [-h] [osd_id] [osd_uuid]
ceph-volume lvm deactivate: error: unrecognized arguments: --all
root@host:~#

Related issues 2 (0 open2 closed)

Copied to ceph-volume - Backport #52546: octopus: ceph-volume can't deactivate allResolvedGuillaume AbriouxActions
Copied to ceph-volume - Backport #52547: pacific: ceph-volume can't deactivate allResolvedGuillaume AbriouxActions
Actions #1

Updated by Dimitri Savineau over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Dimitri Savineau
  • Target version set to v17.0.0
  • Backport set to pacific,octopus
  • Affected Versions v17.0.0 added
  • Affected Versions deleted (v14.2.19)

In fact --all has never been implemented and the flag was partially removed by [1]

But this wasn't removed from the help command.

[1] https://github.com/ceph/ceph/commit/c13901f963d515fd34bd0ff9df67bcf214507b70

Actions #2

Updated by Dimitri Savineau over 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 43052
Actions #3

Updated by Guillaume Abrioux over 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Guillaume Abrioux over 2 years ago

  • Copied to Backport #52546: octopus: ceph-volume can't deactivate all added
Actions #5

Updated by Guillaume Abrioux over 2 years ago

  • Copied to Backport #52547: pacific: ceph-volume can't deactivate all added
Actions #6

Updated by Guillaume Abrioux over 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF