CI jobs are failing on Bionic as this is missing, probably becasue
ansible is finding a python3 interpreter when previously it found
python2.
Change-Id: I80c66bd93e57d5e46af85cbf4a271a90d97533cc
With tox release of 4.0, some parameters were deprecated and are ignored now
which causes tox failures. One of the most spread issues we have is using
`whitelist_externals` isntead of `allowlist_externals`
Change-Id: I2b9d561d7e7a63c3540197b4ebc58f1e5b8846ec
Adds variables to pin elastic package versions to ensure they
can't move out of sequence. An individual variable is added
for journalbeat given it is withdrawn from 7.16.
Includes a version bump to a more recent 7.x release which is
still compatible with this role
Change-Id: I5e6c42398acf70012bf879f41953d409abbd89f4
This patch updates various playbooks within the MNAIO to use ansible
collections, which is required for the latest Ansible versions.
Change-Id: Ia7694e6b182dc8898b56730537cc99759a722b20
Adds a variable to enable overriding of the name which beats
use to identify themselves to elasticsearch.
Change-Id: Ic1353431336394d03aadee8dd03333ef138e437e
Various configuration options have changed since v7 was initially
released. This patch addresses the obvious issues in ElasticSearch
and Kibana.
Change-Id: Ie9b6bf768dabe258171e5f53cfa02c462f44a557
With sphinx release of 5.0.0, they changed default for language variable
to 'en' from None. With that current None valuable is not valid and should
not be used.
Change-Id: Id540deef52eea623aacff607709def993e869e05
Minimal playbook changes to reduce the risk out outages. This
could be further improved by contacting the elasticsearch API
during actions to ensure that each node recovers before moving
on to the next.
Change-Id: If106efd5700c770a8256adb11cb4735d11cbed5c
A long standing typo means that highly available
kibana instances could become confused. This becomes
more apparent when ELK security is enabled.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-ops/+/843423
Change-Id: I7fa759da107337c78c44b950b86a769df5e20d87
Journalbeat is removed in ELK 7.16 and merged into
filebeat. This patch adds defaults which allow this
input to be enabled via a single variable.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-ops/+/843423
Change-Id: I5563d6493a6a53374170c4bdaa1edfbff85b300d
If a deployment is running a mix of versions, running once
would only run against a single version, missing out the index
setup for other versions of the beats.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-ops/+/843423
Change-Id: Ib6b0e77b96aec33779062a81dbad0931eeaa8806
This is a minimal patch to address failing CI to enable
other patches to be submitted.
Similar patches are likely to be required for other OSA
ops components, but this will be tackled at a later date.
Change-Id: I6020d7b820c1f7d781691df9a1d657aef0ea010b
This patch removes legacy support for 14.04/16.04/18.04
on the deploy node and moves the default deploy to
Xena on 20.04 LTS. Root disk size has been bumped to support
upgrades (8 GB -> 12 GB).
Change-Id: I81a13464b9daa90090cb380e2b0d89e5eb8fe89a
Since we can't be sure how deployers would override this setting,
we try applying all parameters, and omit those not defined.
Change-Id: Ie83b708ac7ee094e5ab0a72099d83418cc4cb58a
The path for get-pip.py script in versions 3.2 and 3.4 have been changed
with this commit [1].
[1] 2360f025eb
Change-Id: Iedef41b53c4e5fa28dac8206c5ba39dab5033815
/usr/lib/systemd/system/elasticsearch.service comes with a
TimeoutStartSec=75, which is not enough time for a somewhat busy
E5-2430L v2 @ 2.40GHz to get things going.
We don't want to permanently override that with a default of 75 in
case they decide to bump or remove that timeout in the future.
Change-Id: Ida8668f5548a15a8f597839bd9002585aeea5d1a
"Exiting: error loading config file: config file
("/etc/apm-server/apm-server.yml") must be owned by the user identifier
(uid=0) or root"
apm-server is normally run under its own user, and permissions on
/etc/apm-server/apm-server.yml reflect that, so we disable the check
while running running `setup` under root.
Change-Id: If25b446b49a29d1ac86261fe632bb6fe791f13ce