Project

General

Profile

Actions

Bug #3420

closed

ceph-deploy osd does not parse argument correctly.

Added by Anonymous over 11 years ago. Updated over 11 years ago.

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

0%

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

Description

As of today, seems like ceph-deploy changed and included an optional JOURNAL argument; but if I enter only HOST:DISK pair, it gives me an error:

ubuntu@client:~/my-admin-sandbox$ ceph-deploy osd ceph1:sdc ceph1:sdd ceph2:sdc ceph2:sdd
usage: ceph-deploy osd [-h] HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL] ...]

Checked with other folks - Support, Dan Mick; and they think that this is possibly a bug.

Actions #1

Updated by Anonymous over 11 years ago

Anna Tanato wrote:

As of today, seems like ceph-deploy changed and included an optional JOURNAL argument; but if I enter only HOST:DISK pair, it gives me an error:

ubuntu@client:~/my-admin-sandbox$ ceph-deploy osd ceph1:sdc ceph1:sdd ceph2:sdc ceph2:sdd
usage: ceph-deploy osd [-h] HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL] ...]

Checked with other folks - Support, Dan Mick; and they think that this is possibly a bug.

Also when Dan poked at it he said that the new code is using split() wrong

Actions #2

Updated by Dan Mick over 11 years ago

  • Status changed from New to Resolved
  • Assignee set to Dan Mick

Simple parsing error; fixed in
commit:18be750d30dfe51c415b5cadfba714cbf57ae569

Actions

Also available in: Atom PDF