Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Set trial license only when INSTALL_XPACK = Yes and >= 6.3.0 #304

Merged
merged 15 commits into from
Aug 27, 2019
Merged

Conversation

russcam
Copy link
Contributor

@russcam russcam commented Aug 26, 2019

This PR fixes a bug whereby a trial license was being applied when xpackPlugins = No but the version of Elasticsearch is one whereby security can be configured with a basic license.

In addition to the fix, this PR includes improvements to tests and logging performed:

  1. output total tests performed, and count of those that pass and fail
  2. test the license applied to the cluster
  3. Use the same timestamp in integration test resource group name suffixes
  4. Configure an NSG for the backend pool when deploying a Standard external LB

Fixes #303

@russcam russcam changed the title Set trial license only when INSTALL_XPACK and >= 6.3.0 Set trial license only when INSTALL_XPACK = Yes and >= 6.3.0 Aug 26, 2019
@russcam russcam merged commit 8903dcc into master Aug 27, 2019
russcam added a commit that referenced this pull request Aug 27, 2019
This commit sets the trial license in elasticsearch.yml only when INSTALL_XPACK=1 and
the version is greater than or equal to 6.3.0.

Fixes a bug where trial license was applied when BASIC_SECURITY=1 and the version
is greater than or equal to 6.3.0.

Other changes:

- check the license applied to the deployment using the Elasticsearch APIs, if external load balancer or application gateway is deployed.
- emit total, passed and failed tests on command line for test runs
- use the same timestamp in integration test resource groups
- deploy an NSG for the backend pool when using a Standard SKU external load balancer

Fixes #303

(cherry picked from commit 8903dcc)
@russcam russcam deleted the fix/303 branch December 12, 2019 08:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

X-Pack installing trial license when set to 'No' with v7.3.0
2 participants