"bluestore-block-db-size" config doesn't accept a relative value like 100%
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceph OSD Charm |
New
|
Undecided
|
Unassigned |
Bug Description
When specifying a separate and faster drive for "bluestore-db", it would make sense to set bluestore-
https:/
> bluestore-
> (int) Size (in bytes) of a partition, file or LV to use for BlueStore metadata or RocksDB SSTs, provided on a per backend device basis. . Example: 128 GB device, 8 data devices provided in "osd-devices" gives 128 / 8 GB = 16 GB = 16000000000 bytes per device. . A default value is not set as it is calculated by ceph-disk (before Luminous) or the charm itself, when ceph-volume is used (Luminous and above).
While not an exact duplicate, there is a relation between this and https:/ /bugs.launchpad .net/charm- ceph-osd/ +bug/1827463, which argues for a percentage-based default size.