logsearch / logsearch-boshrelease

A BOSH-scalable Elasticsearch+Logstash+Kibana release
http://www.logsearch.io
Apache License 2.0
57 stars 46 forks source link

Increase elasticsearch start timeout #217

Closed adamstegman closed 8 years ago

adamstegman commented 8 years ago

We're installing a few plugins into Elasticsearch by configuring them in elasticsearch.plugins:

properties:
  elasticsearch:
    plugins:
    - license: license
    - shield: shield
    - cloud-aws: cloud-aws
    - marvel: marvel-agent

At this point Elasticsearch takes well past 30 seconds to create its pidfile and monit gives up on it every time.

I saw in 96002b3 that the plugin installation was deliberately moved to a different pidfile, so I thought I'd address it by increasing the start timeout. I timed it; on an m3.medium this set of plugins delays startup of Elasticsearch by about 45 seconds, so I rounded to 60 and doubled it out of caution.

cf-gitbot commented 8 years ago

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/115982667.

mrdavidlaing commented 8 years ago

@adamstegman - Thanks for this patch - looks most useful!

I can't seem to find a signed CLA for you; which we'll need before merging.

Please could you print & sign the relevant CLA from https://github.com/logsearch/licensing#signing-the-contributors-license-agreement and forward a scanned copy to david.laing@labs.cityindex.com

Thanks!

adamstegman commented 8 years ago

@mrdavidlaing I just sent it. Thanks for your patience!

mrdavidlaing commented 8 years ago

CLA received. Safe to merge