]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-osd: Add ulimit nofile on container start
authorDimitri Savineau <dsavinea@redhat.com>
Tue, 6 Aug 2019 15:52:59 +0000 (11:52 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 22 Aug 2019 14:59:08 +0000 (16:59 +0200)
commit9a4ac46d1977726c6e9b0ce8e4f051f15ce2ca12
tree21bdff7f7c9a4dd4454d62cccc551d481d8c73a5
parent47bf47c9d87fe057bc1402f7a1aa0a84d13b5fd0
ceph-osd: Add ulimit nofile on container start

On containerized deployment, the OSD entrypoint runs some ceph-volume
commands (lvm/simple scan and/or activate) which perform badly without
the ulimit option.
This option was added for all previous ceph-volume commands but not on
the ceph-osd container startup.
Also updating hard limit value to 4096 to reflect default baremetal
value.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
library/ceph_volume.py
library/test_ceph_volume.py
roles/ceph-osd/tasks/start_osds.yml
roles/ceph-osd/templates/ceph-osd-run.sh.j2