Bug #35846
closedceph-objectstore-tool apply-layout-settings optional target level can't be specified.
0%
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"
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
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
Updated by David Zafman over 5 years ago
- Backport set to mimic, luminous
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
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
Updated by David Zafman over 5 years ago
- Status changed from In Progress to Pending Backport
Updated by Yuri Weinstein over 5 years ago
Updated by Nathan Cutler over 5 years ago
- Status changed from Pending Backport to Resolved