Page MenuHomePhabricator

Update vagrant for elasticsearch 5.x
Closed, ResolvedPublic

Description

Vagrant will need to start running 5.x once we merge the es5 branch into master. Should get everything prepped so we don't go break all instances running the cirrussearch role

Event Timeline

One annoying issue i've run into so far is that the elasticsearch deb will fail to install if the system cannot set /proc/sys/vm/max_map_count. In the lxc instances running mediawiki-vagrant in labs this cannot be set. To get this working i've had to remove security protections on the container, setting lxc.customize 'aa_profile', 'unconfined' in the Vagrantfile

Change 340565 had a related patch set uploaded (by EBernhardson):
[mediawiki/vagrant] [DNM] migrate to elasticsearch 5

https://gerrit.wikimedia.org/r/340565

Change 340565 abandoned by EBernhardson:
[DNM] migrate to elasticsearch 5

Reason:
changing patch to be against master, using trusty, instead of jessie-migration. After merging to master can merge it into jessie-migration as well.

https://gerrit.wikimedia.org/r/340565

Change 341354 merged by jenkins-bot:
[mediawiki/vagrant] migrate to elasticsearch 5

https://gerrit.wikimedia.org/r/341354