Trial license not basic

Hi there,

Been setting up HTTPS security on a cluster (version 6.8.0) and I have this in my eleasticsearch.yml

xpack.license.self_generated.type: basic

But I see this when I check the logs

[2019-10-18T12:36:14,091][WARN ][o.e.l.LicenseService ] [ESTEST] License [will expire] on [Friday, November 08, 2019].
If you have a new license, please update it. Otherwise, please reach out to
your support contact.

Any one have a clue as to why? I have only added features under the basic license

My elasticsearch.yml "test-cluster" "esdata-0"
path.logs: /var/log/elasticsearch /var/lib/elasticsearch ["esdata-0:9300","esdata-1:9300","esdata-2:9300","esdata-3:9300"]
discovery.zen.minimum_master_nodes: 3
node.master: true true [site, local]
node.max_local_storage_nodes: 1
node.attr.fault_domain: 0
node.attr.update_domain: 0
cluster.routing.allocation.awareness.attributes: fault_domain,update_domain
xpack.license.self_generated.type: basic
xpack.monitoring.collection.enabled: true true certificate /etc/elasticsearch/Private.key /etc/elasticsearch/certificate [ "/etc/elasticsearch/ServerCA.crt" ] true /etc/elasticsearch/Private.key /etc/elasticsearch/certificate [ "/etc/elasticsearch/ServerCA.crt" ]
bootstrap.memory_lock: true

Help is appriciated

Best regards

Is it possible that trial was activated after the inital setup? Could you check the logs for Oct 9 to see if you there is a line that looks like

[2019-10-18T20:05:43,519][INFO ][o.e.l.LicenseService     ] [XXXX] license [XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX] mode [trial] - valid

In any case if you are not using any non-basic features you can go back to basic at any time.

1 Like

Hi Igor,

Sorry but don't have the log files from the 9th :frowning:

But I got it to set to Basic with "POST /_license/start_basic?acknowledge=true" so thanks for that link, that did the trick :slight_smile:
Not sure why it switched to Trial, since I haven't had any thing activated that require a licence.

Best regards

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.