]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-volume: Set max open files limit on container
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 20 Jun 2019 14:28:44 +0000 (10:28 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 21 Jun 2019 00:00:53 +0000 (20:00 -0400)
commit62d98971f2e530009e1147db4ee0967f33bb36a5
tree4341857902caa2f0a73d2ee38ffc933ea2d6e030
parent590f6026bb7f284333c1b4d01946e2c3ac388358
ceph-volume: Set max open files limit on container

The ceph-volume lvm list command takes ages to complete when having
a lot of LV devices on containerized deployment.
For instance, with 25 OSDs on a node it takes 3 mins 44s to list the
OSD.
Adding the max open files limit to the container engine cli when
executing the ceph-volume command seems to improve a lot thee
execution time ~30s.

This was impacting the OSDs creation with ceph-volume (both filestore
and bluestore) when using multiple LV devices.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1702285
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit b98753488110b04cd2071c2b103493235dfc0c80)
library/ceph_volume.py
library/test_ceph_volume.py
roles/ceph-osd/tasks/start_osds.yml