Project

General

Profile

Actions

Feature #37086

closed

Add several flags to ceph-volume lvm batch

Feature #37086: Add several flags to ceph-volume lvm batch

Added by Anonymous about 8 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
mimic, nautilus
Reviewed:
Affected Versions:
Pull request ID:
Tags (freeform):
Fixed In:
v14.0.1-3142-g93094a5230
Released In:
v14.2.0~477
Upkeep Timestamp:
2025-07-24T10:10:40+00:00

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>


Related issues 2 (0 open — 2 closed)

Copied to ceph-volume - Backport #40919: mimic: Add several flags to ceph-volume lvm batchResolved

Actions
Copied to ceph-volume - Backport #40954: nautilus: Add several flags to ceph-volume lvm batchRejected

Actions

AD Updated by Alfredo Deza about 8 years ago Actions #1

--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 Actions #2

  • 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 Actions #3

AFAICT this was merged into master. Do you plan backports into mimic and luminous?

Updated by Anonymous almost 8 years ago Actions #4

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 Actions #5

@Jan: Provide the master PR ID number as well?

Updated by Anonymous almost 8 years ago Actions #6

Nathan Cutler wrote:

@Jan: Provide the master PR ID number as well?

https://github.com/ceph/ceph/pull/25542

There is some more backporting work to be done though.

Updated by Anonymous over 7 years ago Actions #7

  • Copied to Backport #40919: mimic: Add several flags to ceph-volume lvm batch added

NC Updated by Nathan Cutler over 7 years ago Actions #8

  • Pull request ID set to 25542

NC Updated by Nathan Cutler over 7 years ago Actions #9

  • Status changed from In Progress to Pending Backport

NC Updated by Nathan Cutler over 7 years ago Actions #10

  • Backport set to mimic, nautilus

NC Updated by Nathan Cutler over 7 years ago Actions #11

  • Copied to Backport #40954: nautilus: Add several flags to ceph-volume lvm batch added

NC Updated by Nathan Cutler over 7 years ago Actions #12

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot over 1 year ago Actions #13

  • 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
Actions

Also available in: PDF Atom