Project

General

Profile

Bug #6981

ceph-disk zap with no disk arg succeeds with no error

Added by Dan Mick over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

100%

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

Description

...which is a bit terrifying. It should at least warn about the missing arg.

Associated revisions

Revision 07888ef3 (diff)
Added by Loïc Dachary over 10 years ago

ceph-disk: zap needs at least one device

If given no argument, ceph-disk zap should display the usage instead of
silently doing nothing. Silence can be confused with "I zapped all the
disks".

http://tracker.ceph.com/issues/6981 fixes #6981

Signed-off-by: Loic Dachary <>

Revision 2e8496a6 (diff)
Added by Loïc Dachary about 10 years ago

ceph-disk: zap needs at least one device

If given no argument, ceph-disk zap should display the usage instead of
silently doing nothing. Silence can be confused with "I zapped all the
disks".

http://tracker.ceph.com/issues/6981 fixes #6981

Signed-off-by: Loic Dachary <>
(cherry picked from commit 07888ef3fd4440332c8287d0faa9f23a32cf141c)

History

#1 Updated by Dan Mick over 10 years ago

  • Subject changed from ceph-disk zap succeeds with no error to ceph-disk zap with no disk arg succeeds with no error

#2 Updated by Loïc Dachary over 10 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Loïc Dachary

#3 Updated by Loïc Dachary over 10 years ago

  • Status changed from Fix Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF