Commit graph

957 commits

Author SHA1 Message Date
Michael Russell
23e336833a
This file should now be a symbolic link, temporarily removing to let the
other tests run
2018-06-15 17:37:53 +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
992407f1f2
Merge pull request #454 from elastic/bullet_time
Add jenkins test matrix yml definition
2018-06-15 15:08:34 +02:00
Michael Russell
4c35794b76
Add jenkins test matrix yml definition
This allows us to control and modify the jenkins matrix job via the pull
request flow instead of needing to sync changes in the jenkins
configuration.
2018-06-15 10:59:00 +02:00
Michael Russell
9d3559a2ed
Merge pull request #452 from elastic/6.3
Initial 6.3 support
2018-06-15 10:48:05 +02:00
Michael Russell
e9a267ec55
Add authentication back to the plugins check for xpack (got lost during
copy paste refactoring)
2018-06-15 07:40:35 +02:00
Michael Russell
ea6f1c2088
Remove invalid tests for roles.yml, system_key, user_roles and users
All of these were not actually defined in the final play of the testing
role however were leftover by the previous run or default install. The
changes in 6.3 moved the locations of these files to a different
directory causing these tests to fail (as they should be doing!)
2018-06-14 20:22:05 +02:00
Michael Russell
3ab3b1d05c
Add xpack license for issue-test since security is not available in the
trial license
2018-06-14 18:41:41 +02:00
Michael Russell
dce98bbd34
Revert no_log debugging 2018-06-14 16:37:31 +02:00
Michael Russell
77d47e3235
Don't use the 'x-pack' subdir now that x-pack is part of core 2018-06-14 16:33:40 +02:00
Michael Russell
d8cf1d1f66
Explicitly set xpack.security.enabled: True
Only run test for checking if X-Pack is a plugin for 6.3 because it is
now installed into core
2018-06-14 15:48:18 +02:00
Michael Russell
06a8c5c41b
Remove es_package_name hard coding since this is dynamically detected now 2018-06-14 15:06:24 +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
715bd8591e
Use final 6.3.0 release instead of snapshot 2018-06-13 21:34:32 +02:00
Michael Russell
e5809a3169
Create the keystore if it doesn't already exist 2018-06-13 17:33:23 +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
943797d564
Don't ignore errors when uninstalling plugins 2018-06-13 11:10:25 +02:00
Michael Russell
929a860fd3
Specify that these tests are still using the oss package 2018-06-13 10:03:40 +02:00
Michael Russell
c1b83a892f
WIP: Add testing Makefile and matrix definitions 2018-06-13 09:34:28 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support 2018-06-13 08:29:45 +02:00
Michael Russell
a9f8403ffa
Add playbook and environment variable to build using snapshots 2018-06-13 08:24:42 +02:00
DJ Gill
a70d259e19
Merge pull request #445 from gekkeharry13/master
Fixes bug #326 and adds the option to configure mail
2018-05-23 00:52:48 -07:00
Jeffrey E
cf4da019d0
Fixed es_mail_config again
first check is es_mail_config is defined
2018-05-23 06:15:50 +02:00
Jeffrey E
c79fd2ef09
Readded es_action_auto_create_index
Default value is es_action_auto_create_index: true
2018-05-22 20:25:39 +02:00
DJ Gill
31ee9afad8
Merge branch 'master' into master 2018-05-22 11:15:15 -07:00
DJ Gill
e7fa4f93ec
Merge pull request #450 from Crazybus/tell_me_whats_wrong
Look at the results from the http request instead of checking the md5 hash
2018-05-17 07:54:03 -07:00
Michael Russell
917fc7fcfc
Look at the results from the http request instead of checking that the
json matches an md5 hash. This was causing flaky tests because the
order of the users in the test doing `curl -s localhost:9200/_xpack/security/user -u
es_admin:changeMeAgain` is not consistent which caused random failures.
Now if it does fail we will actually know the reason why:
```
 security users
    should have the elastic user
    should have the kibana user (FAILED - 1)
    should have the kibana_server user
    should have the logstash user
  logstash_system access check
    should be reported as version 6.2.4

Failures:

  1) Xpack Tests security users should have the kibana user
     Failure/Error: expect(result['kibana']['username']).to eq('kibana4')

       expected: "kibana4"
            got: "kibana"
```

The failure output use to look like:

```
Failures:

  1) Xpack Tests Command "curl -s localhost:9200/_xpack/security/user -u es_admin:changeMeAgain | md5sum | grep b6a1293c343e745a508c74778c9be8bb" exit_status should eq 0
     Failure/Error: its(:exit_status) { should eq 0 }

       expected: 0
            got: 1

       (compared using ==)
       /bin/sh -c curl\ -s\ localhost:9200/_xpack/security/user\ -u\ es_admin:changeMeAgain\ \|\ md5sum\ \|\ grep\ b6a1293c343e745a508c74778c9be8bb
```
2018-05-17 08:39:13 +02:00
Michael Russell
46d51ad955
Merge pull request #447 from chaintng/master
require admin role to use update-alternatives
2018-05-16 08:59:01 +02:00
Michael Russell
ffa98d276f
Merge branch 'master' into master 2018-05-14 17:03:24 +02:00
Michael Russell
0179bd1eef
Merge pull request #423 from eRadical/fix-redhat-install-elasticsearch-until-condition
Fix RedHat install - until condition was not correct
2018-05-08 11:44:43 +02:00
Jeffrey Everling
d72ce3c22b Added path repo is defined statement again 2018-05-08 07:03:09 +02:00
Jeffrey Everling
8cfa0cfd04 Merged change 2018-05-05 08:05:14 +02:00
Jeffrey E
e880cdf61f test 2018-05-05 08:04:49 +02:00
Jeffrey Everling
01fd5ceec4 Merging went wrong 2018-05-05 08:03:00 +02:00
Jeffrey Everling
9ba1082841 Commit README as well 2018-05-05 08:02:12 +02:00
Jeffrey Everling
796731721c Removing ssl configuration 2018-05-05 08:00:38 +02:00
Jeffrey Everling
ff9a64ba56 Revert "Fixed documentation commit issue"
This reverts commit a3ea8e0c84.
2018-05-05 07:56:36 +02:00
Jeffrey Everling
ba080bc3c8 Revert "SSL support optimisation"
This reverts commit 80baf268e5.
2018-05-05 07:56:16 +02:00
Jeffrey E
40e5252ff4 Added support for providing an array with indices 2018-05-05 07:54:57 +02:00
Jeffrey Everling
b1e350f004 Revert "Added support for providing an array with indices"
This reverts commit da527ec19b.
2018-05-05 07:52:08 +02:00
Jeffrey Everling
80baf268e5 SSL support optimisation 2018-05-05 07:42:08 +02:00
Jeffrey Everling
a3ea8e0c84 Fixed documentation commit issue 2018-05-03 16:58:29 +02:00
Jeffrey Everling
479119540e Sync with HEAD 2018-05-03 16:55:16 +02:00
Jeffrey Everling
cc28b6149a Added more x-pack config options 2018-05-03 16:45:04 +02:00
Jeffrey E
da527ec19b
Added support for providing an array with indices 2018-05-03 16:29:17 +02:00
Jeffrey E
96f3a87d95
Fixed documentation
Added documentation for es_action_auto_create_index and fixed the order
2018-05-03 16:27:27 +02:00
Jeffrey E
11a1e4b38a
Adjust variable name to match standard 2018-05-03 07:33:17 +02:00
Jeffrey E
4caefef961
Added es_action_auto_create_index: true 2018-05-03 07:23:24 +02:00
Jeffrey E
7640a0383a
Update elasticsearch.yml.j2 2018-05-03 06:37:50 +02:00