Project

General

Profile

Actions

Bug #35846

closed

ceph-objectstore-tool apply-layout-settings optional target level can't be specified.

Added by David Zafman over 5 years ago. Updated over 5 years ago.

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

0%

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

Description

https://github.com/ceph/ceph/pull/17666 must not have been tested.

$ bin/ceph-objectstore-tool --no-mon-config --data-path dev/osd0/ --pgid 1.0 --op apply-layout-settings 50
Can't specify both --op and object command syntax
...remainder of usage...

Requires the use of awkward syntax "--arg1 50"


Related issues 3 (0 open3 closed)

Related to RADOS - Feature #21366: tools/ceph-objectstore-tool: split filestore directories offline to target hash levelResolved09/12/2017

Actions
Copied to Ceph - Backport #35991: luminous: ceph-objectstore-tool apply-layout-settings optional target level can't be specified.ResolvedDavid ZafmanActions
Copied to Ceph - Backport #35992: mimic: ceph-objectstore-tool apply-layout-settings optional target level can't be specified.ResolvedDavid ZafmanActions
Actions #1

Updated by David Zafman over 5 years ago

  • Related to Feature #21366: tools/ceph-objectstore-tool: split filestore directories offline to target hash level added
Actions #2

Updated by David Zafman over 5 years ago

I didn't realize that the --arg1 syntax can be used to specify the value for a positional argument. The positional arguments are "object" "objcmd" "arg1" "arg2" in that order which are intended to be used for object related commands with the exception of special --op list and --op apply-layout-feature

sudo ceph-objectstore-tool --data-path /data/lib/ceph/osd/ceph-0/ --op apply-layout-settings --pool "cephfs_data" --arg1 5

I still want to fix this. Allowing the first positional argument or the "arg1" argument to work. It will also work to do the following:

sudo ceph-objectstore-tool --data-path /data/lib/ceph/osd/ceph-0/ --op apply-layout-settings --pool "cephfs_data" 5

Actions #3

Updated by David Zafman over 5 years ago

  • Backport set to mimic, luminous
Actions #4

Updated by David Zafman over 5 years ago

  • Status changed from New to In Progress
Actions #5

Updated by David Zafman over 5 years ago

  • Copied to Backport #35991: luminous: ceph-objectstore-tool apply-layout-settings optional target level can't be specified. added
Actions #6

Updated by David Zafman over 5 years ago

  • Copied to Backport #35992: mimic: ceph-objectstore-tool apply-layout-settings optional target level can't be specified. added
Actions #7

Updated by David Zafman over 5 years ago

  • Status changed from In Progress to Pending Backport
Actions #8

Updated by David Zafman over 5 years ago

  • Description updated (diff)
Actions #10

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF