From: Jan Fajerski Date: Mon, 2 Mar 2020 14:16:39 +0000 (+0100) Subject: ceph-volume: pass *-slots arguments to LV creation X-Git-Tag: v15.2.8~8^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3ced8f8a629cde62797e4782b4b074fdd5595aec;p=ceph.git ceph-volume: pass *-slots arguments to LV creation Fixes: https://tracker.ceph.com/issues/44494 Signed-off-by: Jan Fajerski (cherry picked from commit 61f0c3af0b0f36a03748733b16de1b11048342e6) Conflicts: src/ceph-volume/ceph_volume/devices/lvm/common.py src/ceph-volume/ceph_volume/devices/lvm/prepare.py pick HEAD --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/prepare.py b/src/ceph-volume/ceph_volume/devices/lvm/prepare.py index dd77dd4d83f6..9cb306fa9f22 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/prepare.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/prepare.py @@ -208,6 +208,7 @@ class Prepare(object): lv_name_prefix = "osd-{}".format(device_type) kwargs = {'device': device, 'tags': {'ceph.type': device_type}, + 'slots': self.args.data_slots, } logger.debug('data device size: {}'.format(self.args.data_size)) if self.args.data_size != 0: