Add several flags to ceph-volume lvm batch
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
--shared-device <dev> # for hybrid osds, db or journal
--num-slots <N> # if we want to divide shared device by N > num devices
#1 Updated by Alfredo Deza about 4 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
#2 Updated by Jan Fajerski about 4 years ago
- Status changed from New to In Progress
- Assignee set to Jan Fajerski
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