The logstash-indexer services sometimes fall out of the elasticsearch
cluster when it is under heavy load and unable to respond to pings.
Logstash doesn't do anything to reconnect :( so restart the service if a
node detects that it has fallen out of the cluster.
Upstream bug submitted at https://logstash.jira.com/browse/LOGSTASH-1951
Change-Id: I2e7767c5fe20cff279366fec2ddadd7710dbb4a9
* tools/atc/email-stats.sh: We now have an official list of projects
in the openstack/governance project, so use it instead of the old
hard-coded list.
Change-Id: If93c71174687ac7e4e46d514642c48edb841adfe
removed python tests from stackforge/milk. we
will add tests after we get some base code in
the repo.
removed the post section as well
Change-Id: If393edd3ccc1a7fe5534e479e81514e7c5358f54
Create a new version-properties.sh script that will be used on slave
hosts to determine version information from git. This is mostly a copy
of the maven-properties.sh script. The reason we are not simply renaming
is that this commit must be merged then all slave images updated before
we change our jenkins jobs to use the new script. Renaming doesn't allow
us to do that.
Change-Id: I37c0b7cc3ca034addf32897a5a8c6501dedf00b0
This reverts commit dea3bdb050a55d56a1913e50e59cf176d70d3eb7.
This revert is necessary because it changed jenkins jobs before the
slave images could be rebuilt. We need to update the slave images first
then update the jenkins jobs in a pair of changes that can be merged one
at a time.
Change-Id: Iae4abf8c2dd8ad67ad008c57bbd17ba1304134c6
A line which should've been a comment in the upstart config for
logstash-indexers lost its '#' make it not a comment and a syntax error.
Make this line a comment again.
Change-Id: Idc4853db68a3ae25bea6ebee80f047cc087457ac
The default java heap size is too small for our logstash indexers.
Double it to 2g. Do this by adding an /etc/default/logstash-indexer file
that the upstart configs source if it is present. This required some
tweaks to the upstart configuration to load the defaults properly.
Co-Authored-By: K Jonathan Harker <k.jonathan.harker@hp.com>
Change-Id: I63447f59f3fa6d466a7d275476121fe8339479dc
JJB escapes double brackets only if it's used in a JJB template. The reference is not
used in a template so changing it to single brackets.
Change-Id: Ibf728a58f3246461c77b57cf2c934b7257cf8ec8
Now that the new elasticsearch cluster members are joined, we need
to move the primary discover node from elasticsearch.openstack.org
to one of the new servers before we can remove it from service.
Change-Id: I79fe4e2154def6b0404b6620601f4a02b63fee8a
Kibana seems to be the only module using this list, and by default
it will try to query any nodes in this list even if they've been
pulled from service. Preemptively remove them from its configuration
so that it will continue to perform queries correctly.
Change-Id: Iecdc3414dec7ed2816b5a68a3398b0643fccaf31
Once the git repositories on git05 are replicated from
review.openstack.org and confirmed in sync, merge this to add it to
the farm.
Change-Id: I6bc87957ff9ba7983c48ce156ab7658a9ab8a5ad
Change Ia8f60c8a4b9d1b18583366d83ddb82dc61bff9f5 added a generic
rule to use a success-pattern to point to docs-draft for built books.
The order here is important, the regex line must come before the
non-regex line so that the regex is applied in all cases.
Change-Id: Ife43544864a1084d82325ced1d4a61a9cb6e5fa1
One our single use unittest slaves we want to allow unittests to create
and destroy arbitrary mysql database schemas. The simplest way to do
this is to grant all priveleges to the test user on the mysql server
globally. This is safe because the nodes are thrown away post test.
Change-Id: Ic92ff2f9c752d955e6f82eb4b88330b5448cfa75
Py33 gate was enabled for oslo-incubator as part of Ia38b9ad2d6b2180459653017b308841eb78bda89
This change, however, enabled the gate also for stable branches, which
was not the goal of the patch. This patch intends exclude this job for
stable/grizzly and stable/havana.
Change-Id: I15cfc2d7d567a3c45dff803ebac8eb372ff09379
The package maintainer scripts start elasticsearch when it gets
installed, but it seems to return control before the pidfile is
created which allows puppet to race for it and ultimately launch a
second daemon resulting in an OOM condition. It's configured to
start at boot anyway, so the puppet ensure running isn't buying us
much.
Change-Id: I1b374f90c198b9cb73d412fe63b439623f434d9a
* modules/elasticsearch/manifests/init.pp: Brown bag fix... the
package installation used to make this directory, but now we want to
put files in it prior to package installation.
Change-Id: Id3069999d59f965226bcae8f21ef7a93e4d44c72
Remove /srv/openstackid/w symlink file override by puppet, and
add deploy dependency on /etc/openstackid/environment.php.
Change-Id: Ib3874f48cad720d667861d90f76c515e014002c2
* modules/elasticsearch/manifests/init.pp: The config files need to
be in place before package installation starts the service, and they
don't depend on the package itself anyway.
Change-Id: Iabc57e3091533eb5168c670f5c29d0d2dac9a1a2