Feature #37086
closed
Add several flags to ceph-volume lvm batch
0%
Description
as discussed in several orchestrator meetings, the batch subcommand needs several arg additions.
-replace-osd-ids=previous_osd_ids # comma separated list. See notes below
--objectstore={filestore,bluestore}
--dmcrypt
--osds-per-device <N>
--shared-device <dev> # for hybrid osds, db or journal
--num-slots <N> # if we want to divide shared device by N > num devices
--shared-underprovision-ratio <ratio>
AD Updated by Alfredo Deza about 8 years ago
--dmcrypt, --objectstore, and --osds-per-device are already supported
I don't think that --num-slots or --shared-underprovision are needed since we support --journal-size and --block-db-size, that can be set to whatever number so that shared devices can be
underutilized
Updated by Anonymous about 8 years ago
- Status changed from New to In Progress
- Assignee set to Anonymous
I had a look into the batch subcommand. The current argument stucture (with data devices as positional arguments and --bluestore/--filestore as optional) it's not possible to add arguments like --wal-devices while keeping existing functionality as is.
I decided to add an optional subcommand objectstore. By default this is empty and results in batch behaving like it does today. Otherwise it can either be bluestore or filestore. This allows for new functionality being implemented without impacting existing users, as well as for proper separation between bluestore-only and filestore-only arguments.
The development branch is here https://github.com/jan--f/ceph/tree/c-v-extend-batch
DV Updated by Dan van der Ster almost 8 years ago
AFAICT this was merged into master. Do you plan backports into mimic and luminous?
Updated by Anonymous almost 8 years ago
I believe so. I'm happy to provide the PRs, though its ultimately up to Andrew Schoen when those will land.
NC Updated by Nathan Cutler almost 8 years ago
@Jan: Provide the master PR ID number as well?
Updated by Anonymous almost 8 years ago
Nathan Cutler wrote:
@Jan: Provide the master PR ID number as well?
There is some more backporting work to be done though.
Updated by Anonymous over 7 years ago
- Copied to Backport #40919: mimic: Add several flags to ceph-volume lvm batch added
NC Updated by Nathan Cutler over 7 years ago
- Pull request ID set to 25542
NC Updated by Nathan Cutler over 7 years ago
- Status changed from In Progress to Pending Backport
NC Updated by Nathan Cutler over 7 years ago
- Backport set to mimic, nautilus
NC Updated by Nathan Cutler over 7 years ago
- Copied to Backport #40954: nautilus: Add several flags to ceph-volume lvm batch added
NC Updated by Nathan Cutler over 7 years ago
- Status changed from Pending Backport to Resolved
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 93094a523040c76a56957b366debf5f3405994aa
- Fixed In set to v14.0.1-3142-g93094a5230
- Released In set to v14.2.0~477
- Upkeep Timestamp set to 2025-07-24T10:10:40+00:00