need to add ulimit arg for kolla docker run when use elasticsearch 5.4
Bug #1690842 reported by
MarginHu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi Guys:
I'm using elasticsearch 5.4 in kolla, but I met memlock failed as following:
[2017-05-
ERROR: bootstrap checks failed
memory locking requested for elasticsearch process but memory is not locked
according to elasticsearch doc:
https:/
run elasticsearch container should be with arguments "--cap-add=IPC_LOCK --ulimit memlock=-1:-1 --ulimit nofile=65536:65536"
I have found "cap_add" in kolla_docker.py but not ulimit.
To post a comment you must log in.
Should be fixed with https:/ /docs.openstack .org/kolla- ansible/ latest/ reference/ deployment- config/ resource- constraints. html