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

cluster.name: "test-cluster"
node.name: "esdata-0"
path.logs: /var/log/elasticsearch
path.data: /var/lib/elasticsearch
discovery.zen.ping.unicast.hosts: ["esdata-0:9300","esdata-1:9300","esdata-2:9300","esdata-3:9300"]
discovery.zen.minimum_master_nodes: 3
node.master: true
node.data: true
network.host: [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
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.key: /etc/elasticsearch/Private.key
xpack.security.transport.ssl.certificate: /etc/elasticsearch/certificate
xpack.security.transport.ssl.certificate_authorities: [ "/etc/elasticsearch/ServerCA.crt" ]
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.key: /etc/elasticsearch/Private.key
xpack.security.http.ssl.certificate: /etc/elasticsearch/certificate
xpack.security.http.ssl.certificate_authorities: [ "/etc/elasticsearch/ServerCA.crt" ]
bootstrap.memory_lock: true

Help is appriciated

Best regards
Thomas

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
Thomas

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