owncloud / search_elastic

Elasticsearch based full text search
https://github.com/owncloud/search_elastic
GNU General Public License v2.0
8 stars 1 forks source link

elasticsearch startup failing in drone CI #152

Closed phil-davis closed 5 years ago

phil-davis commented 5 years ago

It was working 2019-11-07 here https://drone.owncloud.com/owncloud/search_elastic/765/18/2

[2019-11-07T00:25:14,982][INFO ][o.e.n.Node               ] [cdf812ab49ad] initialized
[2019-11-07T00:25:14,982][INFO ][o.e.n.Node               ] [cdf812ab49ad] starting ...
[2019-11-07T00:25:15,464][INFO ][o.e.t.TransportService   ] [cdf812ab49ad] publish_address {172.20.0.3:9300}, bound_addresses {0.0.0.0:9300}
[2019-11-07T00:25:15,497][INFO ][o.e.b.BootstrapChecks    ] [cdf812ab49ad] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2019-11-07T00:25:19,505][INFO ][o.e.c.s.ClusterService   ] [cdf812ab49ad] new_master {cdf812ab49ad}{bJhFJywgTu-786gKrO8s6A}{vgA67lobS4CijdXlIV3OPA}{172.20.0.3}{172.20.0.3:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
[2019-11-07T00:25:19,553][INFO ][o.e.h.n.Netty4HttpServerTransport] [cdf812ab49ad] publish_address {172.20.0.3:9200}, bound_addresses {0.0.0.0:9200}
[2019-11-07T00:25:19,554][INFO ][o.e.n.Node               ] [cdf812ab49ad] started

But from 2019-11-08 the log is different and CI fails: https://drone.owncloud.com/owncloud/search_elastic/766/15/2

[2019-11-08T00:14:45,177][INFO ][o.e.n.Node               ] [ce9f8b3adb9f] initialized
[2019-11-08T00:14:45,182][INFO ][o.e.n.Node               ] [ce9f8b3adb9f] starting ...
[2019-11-08T00:14:45,544][INFO ][o.e.t.TransportService   ] [ce9f8b3adb9f] publish_address {172.21.0.3:9300}, bound_addresses {0.0.0.0:9300}
[2019-11-08T00:14:45,574][INFO ][o.e.b.BootstrapChecks    ] [ce9f8b3adb9f] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[2019-11-08T00:14:45,611][INFO ][o.e.n.Node               ] [ce9f8b3adb9f] stopping ...
[2019-11-08T00:14:45,704][INFO ][o.e.n.Node               ] [ce9f8b3adb9f] stopped
[2019-11-08T00:14:45,704][INFO ][o.e.n.Node               ] [ce9f8b3adb9f] closing ...
[2019-11-08T00:14:45,731][INFO ][o.e.n.Node               ] [ce9f8b3adb9f] closed
Enforcing open filedescriptors...
Fixing base permissions...
Fixing config permissions...
Skipping ingest-attachment install, directory does exist...

bootstrap checks failed does not look good.

I do not see what has changed?

phil-davis commented 5 years ago

@tboerger any idea what happened?

tboerger commented 5 years ago

With the switch to the scaled infrastructure my change to the scaler cloud init had been reverted. We will check that.

phil-davis commented 5 years ago

fixed by implementing the drone settings