Project

General

Profile

Bug #5822

ceph_argparse.py: parsing of required arguments broken

Added by Dan Mick 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:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Relatively-recent changes I made to ceph_argparse.py were not caught by existing (lacking) tests;
commands can be apparently valid when missing required arguments.

Fix the parsing and make sure such invalid commands are tested.

History

#1 Updated by Dan Mick over 10 years ago

  • Status changed from In Progress to Fix Under Review
  • Assignee changed from Dan Mick to Sage Weil

wip-5822

#2 Updated by Dan Mick over 10 years ago

  • Status changed from Fix Under Review to Resolved
  • Assignee changed from Sage Weil to Dan Mick

Also available in: Atom PDF