Commit graph

83 commits

Author SHA1 Message Date
pemontto
235a656350
Add documentation for SSL/TLS 2019-10-22 14:27:56 +01:00
pemontto
ab70e6f11d
Add tests for SSL and and trial versions 2019-10-18 17:56:55 +01:00
Julien Mailleret
10d16a2c1f
bump elasticsearch version 2019-09-25 15:57:19 +02:00
Julien Mailleret
c0238edb38
release 7.1.1 version (#573) 2019-06-04 12:18:30 +02:00
Julien Mailleret
2cb020a4c2
Remove multi instances support (#566)
* remove multi instances support
The goal is to stop supporting installation of more than one node in the same host. This commit update the Ansible role README documentation and remove the multi instances kitchen test.

* remove systemd and init.d templates
As we no more need to support more than one node on the same host, we no more need to override init files provided by elasticsearch official packages.

* remove file script feature
File scripts have been removed since elasticsearch 6.0 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed)

* remove custom user and custom group
ES_USER and ES_GROUP settings are no longer supported (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_packaging_changes.html#_configuring_custom_user_and_group_for_package_is_no_longer_allowed)

* add upgrade procedure

* use same task for license activation with and without authentication
2019-06-03 14:18:09 +02:00
Julien Mailleret
a1c81884e2
[7.x] add support for elasticsearch 7.x and remove support for 5.x (#558)
- add support for elasticsearch 7.x
- remove support for elasticsearch 5.x
- update kitchen-ansible configuration (install ansible and jmespath dependencies using os repositories)
- replace geoip plugin in tests as this one is now embeded in elasticsearch since 6.7.0 (cf. https://www.elastic.co/guide/en/elasticsearch/plugins/6.7/ingest-geoip.html)
- update discovery configuration for 7.x (in ES 7.x, discovery.zen.ping.unicast.hosts is replaced by discovery.seed_hosts and transport.tcp.port is replaced by transport.port, also discovery.seed_hosts is disabled on master nodes to avoid "master_not_discovered_exception" error when creating templates in the same play)
- update index template structure for 7.x 
- update security realms settings for 7.x (cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#include-realm-type-in-setting)
2019-05-09 09:06:02 +02:00
Julien Mailleret
07287ebecd
[test] fix debian-8 provisioning in kitchen tests (#556)
Jessie backport repos have been removed from debian mirrors and moved to archive mirrors (cf. https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html). We also need to disable validity checks as this repo is no more updated (https://unix.stackexchange.com/questions/508724/failed-to-fetch-jessie-backports-repository)
2019-04-29 11:07:59 +02:00
Michael Russell
2d8192ac09
Install the necessary packages for Ubuntu 14.04 and 18.04 2018-11-26 16:46:07 +01:00
Michael Russell
afc2fe74ae
Switch to vanilla docker images and add Ubuntu 18.04 and Debian 9 2018-11-26 15:26:57 +01:00
Michael Russell
324ec67bd5
Bump 5.x testing version to 5.6.11 2018-08-28 07:58:36 +02:00
Michael Russell
b1d159cad3
Enable issue-test suite again to make it easy to do ad hoc testing 2018-07-13 10:19:12 +02:00
Michael Russell
da58c5f0dd
Move to new testing suite names
This commit is just moving the tests to their new names. The config,
packge and issue test suites have been removed and the tests from these
will be incorporated into the oss and xpack tests.

oss: Standard elasticsearch-oss role with idempotency test

oss-upgrade: Upgrade from previous minor version oss to current minor version oss

oss-to-xpack-upgrade: Upgrade from previous minor version oss to current minor version xpack

xpack: Standard elasticsearch (with xpack) role with idempotency test

xpack-upgrade: Upgrade from previous minor version xpack to current minor version xpack

multi: Tests multiple instances of elasticsearch on a single machine
2018-06-19 10:39:16 +02:00
Michael Russell
2c8ce3bb2d
Add test for upgrading from previous version of oss to current 2018-06-15 17:22:18 +02:00
Michael Russell
bbc5e0603d
Abstract 6.3 changes into a separate task to reduce all of the jinja one
liner complexity

Set ES_PATH_CONF when installing so upgrading from 6.2 to 6.3 works as
expected
2018-06-14 14:44:31 +02:00
Michael Russell
10ff32d109
Install missing python SSL libraries to allow https to work with the uri
module
2018-06-13 17:32:55 +02:00
Michael Russell
c58b69f5d6
Install python-openssl into Ubuntu 14.04 otherwise SSL verification
doesn't work for the uri module
2018-06-13 11:13:22 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support 2018-06-13 08:29:45 +02:00
Dejon Gill
f67eae6eb0 bump es release version 2018-04-23 22:18:43 -07:00
Michael Russell
fe0fc4b430
Bump default version to 6.2.2 and 5.6.8 2018-02-21 21:09:15 +01:00
Michael Russell
be8e2606bf
Upgrade to the latest ansible version 2018-02-01 16:00:26 +01:00
Michael Russell
fbfc85e766
Make 6.x the default version 2018-02-01 14:54:16 +01:00
Michael Russell
9b6fb3602f
Mount /etc/elasticsearch as a volume otherwise x-pack fails to make
immutable changes to the static x-pack users file
2018-01-31 14:29:49 +01:00
Michael Russell
7377ed76e5
Update kitchen to handle testing 5.x and 6.x Elasticsearch versions 2018-01-22 15:04:04 +01:00
Dale McDiarmid
e9a6f74d09 Fix for issue #369 2017-09-19 20:11:09 +01:00
Dale McDiarmid
5e1873ca68 Simpler restart handling + issue-test for recreation of problems 2017-08-20 10:30:39 -04:00
Dale McDiarmid
00faa9115a Added comment in readme for support of es_xpack_custom_url 2017-08-18 20:01:31 +01:00
Dale McDiarmid
330d8d1392 Standard tests 2017-08-18 19:38:10 +01:00
Dale McDiarmid
53741c33c6 X-pack security fix + activation 2017-08-17 21:44:46 +01:00
Dale McDiarmid
ec27bc3fe4 keep current version of pip 2017-08-16 13:07:38 +01:00
Dale McDiarmid
911b2df9ac Test for plugin on standard 2017-08-15 14:31:56 +01:00
Dale McDiarmid
6ebeccfb01 skip some files on tests 2017-08-15 13:56:24 +01:00
Dale McDiarmid
762f2d44c9 Updated gems and fixing issues associated with copying symlinks in tests 2017-08-15 13:25:24 +01:00
Dale McDiarmid
ef4312e1e9 Version bumps 2017-08-15 12:03:16 +01:00
Dale McDiarmid
af30f882dd Fixes for multi + config tests 2017-03-16 23:59:13 +00:00
Dale McDiarmid
1bc817a378 Support for plugin diffs + improved testing on minor upgrades + fixes 2017-03-16 21:06:17 +00:00
Dale McDiarmid
946d89ac74 Idempotent tests - Make java install idempotent 2017-03-14 12:58:46 -07:00
Dale McDiarmid
7efec96ea9 Plugin fixes for 5.x 2017-01-13 15:28:53 +00:00
Dale McDiarmid
06d156fd57 Moving to 5.x tests 2017-01-06 11:24:52 +00:00
Dale McDiarmid
5fb4350a63 Tests back to kopf + checks to fix java cert issues 2017-01-05 14:34:47 +00:00
Dale McDiarmid
cad6a590f9 Include nettools in 14.04 2017-01-05 13:17:53 +00:00
Dale McDiarmid
fe02c4daa6 Ubuntu 14.04 not using init 2017-01-05 12:48:16 +00:00
Dale McDiarmid
6ad2dcaeb8 Run method for 14.04 2017-01-05 12:36:00 +00:00
Dale McDiarmid
b82f1bdce5 Moving to testing murmur3 for plugins as stable download 2017-01-05 12:15:59 +00:00
Dale McDiarmid
b3e242fed9 Fix for handling restart + ubuntu 16.04 tests 2017-01-05 11:02:33 +00:00
Dale McDiarmid
2ea0842a6c Changes to support license 2017-01-04 13:23:22 +00:00
Dale McDiarmid
7794ab7f50 Use api_host, api_port consistently + doc updates. Removal of 1.x testing, centos6 and debian 7 2017-01-03 15:53:10 +00:00
Dale McDiarmid
09fa4f1829 Fix for unauthenticated repos 2017-01-03 10:36:23 +00:00
Dale McDiarmid
5b2b76d1fc restoring centos 6 support 2017-01-02 19:56:01 +00:00
Dale McDiarmid
d5d2de6340 Kitchen changes 2017-01-02 16:19:48 +00:00
Dimitrios Liappis
208ccada51 Disable EPEL repo in kitchen CI
The EPEL repo referencing download.fedoraproject.org is frequently
timing out on yum install operations.
Disable the EPEL and puppetlabs repo with kitchen during CI builds.
2016-07-25 15:40:59 +03:00