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
Gabriel Preda
d0ed1da107
* changed condition as suggested by @Crazybus
2018-05-02 11:49:25 +03:00
Gabriel PREDA
d42c12fb44
Merge branch 'master' into fix-redhat-install-elasticsearch-until-condition
2018-05-02 11:32:14 +03:00
Chainarong Tangsurakit
b7b0793b37
require admin role to use update-alternatives
...
promote `update-alternatives` command to run as admin role
2018-04-26 14:45:12 +07:00
DJ Gill
046f5c2500
Merge pull request #444 from elastic/late_nights
...
bump es release version
2018-04-24 10:43:29 -07:00
Dejon Gill
f67eae6eb0
bump es release version
2018-04-23 22:18:43 -07:00
Michael Russell
d1348a4ab6
Merge pull request #436 from nicladas/patch-1
...
Update elasticsearch-xpack.yml
2018-04-20 10:33:57 +02:00
nicladas
910deb55d8
Merge branch 'master' into patch-1
2018-04-17 21:17:12 -04:00
Michael Russell
3bdcd8fe4d
Merge pull request #438 from elastic/6.2.3
...
Bump default elasticsearch version to 6.2.3
2018-03-21 09:37:36 +01:00
Michael Russell
51d9f83f74
Bump default elasticsearch version to 6.2.3
2018-03-21 08:37:46 +01:00
nicladas
f255051ef7
Update elasticsearch-xpack.yml
...
Original fact setting fails on update plays for Debian with : redhat_elasticsearch_install_from_repo is undefined.
Updated the conditional to allow multiple plays.
2018-03-09 10:43:50 -05:00
Michael Russell
eb82e1b055
Merge pull request #417 from cl0udf0x/naming-unnamed-tasks
...
naming unnamed tasks
2018-02-23 08:51:13 +01:00
Michael Russell
9fd1444500
Merge pull request #432 from cyrilleverrier/patch-2
...
Fix funny typo error in issue_template.md
2018-02-22 12:57:39 +01:00
Cyrille Verrier
025e6f9793
Fix funny typo error in issue_template.md
2018-02-22 12:52:30 +01:00
Michael Russell
ebd8726804
Merge branch 'master' into naming-unnamed-tasks
2018-02-22 12:45:45 +01:00
Michael Russell
8c35b8c60d
Merge pull request #431 from elastic/6.2-support
...
Bump default version to 6.2.2 and 5.6.8
2018-02-22 12:29:52 +01:00
Michael Russell
38982ba6ad
Only change name to x-pack-core for 6.2 and above
2018-02-22 11:14:25 +01:00
Michael Russell
d9d54917bd
X-pack plugin has been renamed to x-pack-core
2018-02-22 10:01:16 +01: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
a525e0bcde
Merge branch 'master' into naming-unnamed-tasks
2018-02-21 16:33:49 +01:00
Michael Russell
9647e12819
Merge branch 'master' into fix-redhat-install-elasticsearch-until-condition
2018-02-21 16:22:58 +01:00
Michael Russell
644a209c2c
Merge pull request #427 from cyrilleverrier/fix_elasticsearch_yml_j2
...
elasticsearch.yml: xpack settings added only if es_enable_xpack
2018-02-21 15:28:47 +01:00
Michael Russell
143cf8bf4a
Merge pull request #429 from pemontto/master
...
Fix conditionals introduced in #412 and others
2018-02-21 15:21:01 +01:00
pemontto
27d81e68dd
Fix conditionals introduced in #408
2018-02-16 16:37:00 -05:00
Cyrille Verrier
e4cf9aef8c
elasticsearch.yml: xpack settings added only if es_enable_xpack
...
the default values are:
- es_enable_xpack: false
- es_xpack_features: ["alerting","monitoring","graph","ml","security"]
With the default values, XPACK is not installed
But the generated elasticsearch.yml contains the XPACK Settings.
Elasticsearch application refuses to start with these unknown settings
2018-02-16 09:10:10 +01:00
Gabriel Preda
b3b5edef70
Fix RedHat install - until condition was not correct
2018-02-13 11:50:43 +02:00
Cloud Fox
dd9b4aad97
naming unnamed tasks
2018-02-04 07:09:23 +00:00
Michael Russell
d7a5af8c33
Merge pull request #415 from elastic/bump_ansible
...
Upgrade to the latest ansible version
2018-02-01 17:09:57 +01:00
Michael Russell
03a685b29d
Merge pull request #392 from edge-records/master
...
Parameterize timeout value for ES startup in Debian SysV init scripts
2018-02-01 17:04:15 +01:00
Michael Russell
4548f00cc0
Merge pull request #393 from gredinger/gredinger-patch-1
...
Grammar
2018-02-01 16:41:35 +01:00
Michael Russell
be8e2606bf
Upgrade to the latest ansible version
2018-02-01 16:00:26 +01:00
Michael Russell
7bea2de14b
Merge pull request #414 from elastic/v6_as_the_default
...
Make 6.x the default version
2018-02-01 15:43:31 +01:00
Michael Russell
fbfc85e766
Make 6.x the default version
2018-02-01 14:54:16 +01:00
Michael Russell
9d9b87e4ab
Merge pull request #412 from elastic/6.x_testing
...
6.x testing - Update tests to work with dynamic es_versions
2018-02-01 14:49:22 +01:00
Michael Russell
6361f9310a
Update testing gems to latest version
2018-02-01 13:57:10 +01:00
Michael Russell
fecf5164c8
Test the returned results rather than an md5 hash of the json. These
...
tests were breaking on 6.x because certain fields have been
moved/changed
2018-02-01 11:59:32 +01:00
Michael Russell
bfced19152
Fix paths that came in from mass copy paste errors
2018-01-31 14:39:55 +01:00
Michael Russell
c30c263aa3
Set older version for 5.x and 6.x to test that upgrading works as
...
expected
2018-01-31 14:39:20 +01:00
Michael Russell
29f2c6a17e
Use default es_version supplied by playbook
2018-01-31 14:39:07 +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
6ddc7ce13d
Fix idempotency test when listing the current users
2018-01-31 13:03:51 +01:00
Michael Russell
9eae7e3a3d
Standard xpack doesn't have es_plugins defined so just test the x-pack
...
plugin
2018-01-31 12:59:13 +01:00
Michael Russell
3bbd6f3e07
Dynamically generate xpack url based on the version
2018-01-31 12:09:15 +01:00
Michael Russell
b0083ae293
Fix path config to match the node name
2018-01-31 12:07:32 +01:00
Michael Russell
e5da92f895
export ES_PATH_CONF because elasticsearch-env fails if it can't access
...
it
2018-01-31 11:08:36 +01:00
Michael Russell
7f9ae5f2e5
Fix idempotency for redhat family when getting the java path
2018-01-31 11:08:09 +01:00