Closed boot-vue closed 5 years ago
I am experiment the same issue and I had not been able to fix the error so far
Pinging @elastic/kibana-platform
Is this a regression? I have the same issue. Simple config, but cannot have Kibana start up.
Is this a regression? I have the same issue. Simple config, but cannot have Kibana start up.
both are version 7.0.1
Can you provide the output of GET http://localhost:9200/_xpack
? Feel free to obfuscate the license.uid
, though it should look like a uuid.
Can you provide the output of
GET http://localhost:9200/_xpack
? Feel free to obfuscate thelicense.uid
, though it should look like a uuid.
curl http://localhost:9200/_xpack
{
"build": {
"hash": "e4efcb5",
"date": "2019-04-29T12:57:49.344766Z"
},
"license": null,
"features": {
"ccr": {
"description": "Cross Cluster Replication",
"available": true,
"enabled": true
},
"graph": {
"description": "Graph Data Exploration for the Elastic Stack",
"available": true,
"enabled": true
},
"ilm": {
"description": "Index lifecycle management for the Elastic Stack",
"available": true,
"enabled": true
},
"logstash": {
"description": "Logstash management component for X-Pack",
"available": true,
"enabled": true
},
"ml": {
"description": "Machine Learning for the Elastic Stack",
"available": true,
"enabled": true,
"native_code_info": {
"version": "7.0.1",
"build_hash": "6a88928693d862"
}
},
"monitoring": {
"description": "Monitoring for the Elastic Stack",
"available": true,
"enabled": true
},
"rollup": {
"description": "Time series pre-aggregation and rollup",
"available": true,
"enabled": true
},
"security": {
"description": "Security for the Elastic Stack",
"available": true,
"enabled": false
},
"sql": {
"description": "SQL access to Elasticsearch",
"available": true,
"enabled": true
},
"watcher": {
"description": "Alerting, Notification and Automation for the Elastic Stack",
"available": true,
"enabled": true
}
},
"tagline": "You know, for X"
}
the license is null, I can't use it for free? ?
@boot-vue can you share your solution? I suppose that you set the x-pack to enable in your elasticsearch cluster. Am I wrong?
That is strange... a basic license should be automatically generated if you don't explicitly declare an alternative (paid) license. I'd also be interested in the steps you took to reconcile this.
@jvalderrama Is your license property null? @sidsinhad How about yours?
@boot-vue can you share your solution? I suppose that you set the x-pack to enable in your elasticsearch cluster. Am I wrong?
Sorry, I was wrong. yesterday I think I can start a trial license by this. https://www.elastic.co/guide/en/elasticsearch/reference/7.0/start-trial.html
but still wrong.
curl -X POST "localhost:9200/_license/start_trial?acknowledge=true"
{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}
@epixa No basic license is automatically generated. You can check the elastic linux64 zip file . https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.0.1-linux-x86_64.tar.gz
Heres mine.
I also tried disabling xpack.security on kibana.yml and elasticsearch.yml. But same.
{ "tagline": "You know, for X", "features": { "watcher": { "enabled": true, "available": false, "description": "Alerting, Notification and Automation for the Elastic Stack" }, "sql": { "enabled": true, "available": true, "description": "SQL access to Elasticsearch" }, "ccr": { "enabled": true, "available": false, "description": "Cross Cluster Replication" }, "graph": { "enabled": true, "available": false, "description": "Graph Data Exploration for the Elastic Stack" }, "ilm": { "enabled": true, "available": true, "description": "Index lifecycle management for the Elastic Stack" }, "logstash": { "enabled": true, "available": false, "description": "Logstash management component for X-Pack" }, "ml": { "native_code_info": { "build_hash": "6a88928693d862", "version": "7.0.1" }, "enabled": true, "available": false, "description": "Machine Learning for the Elastic Stack" }, "monitoring": { "enabled": true, "available": true, "description": "Monitoring for the Elastic Stack" }, "rollup": { "enabled": true, "available": true, "description": "Time series pre-aggregation and rollup" }, "security": { "enabled": true, "available": false, "description": "Security for the Elastic Stack" } }, "license": { "status": "active", "mode": "basic", "type": "basic", "uid": "#####" }, "build": { "date": "2019-04-29T12:57:49.344766Z", "hash": "e4efcb5" } }
heres the error I get:
log [05:22:46.610] [error][status][plugin:xpack_main@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.611] [error][status][plugin:graph@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.611] [error][status][plugin:spaces@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.611] [error][status][plugin:searchprofiler@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.612] [error][status][plugin:ml@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.612] [error][status][plugin:tilemap@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.612] [error][status][plugin:watcher@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.612] [error][status][plugin:grokdebugger@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.612] [error][status][plugin:logstash@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.613] [error][status][plugin:beats_management@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.613] [error][status][plugin:maps@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.613] [error][status][plugin:index_management@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.613] [error][status][plugin:index_lifecycle_management@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.614] [error][status][plugin:rollup@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.614] [error][status][plugin:remote_clusters@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.614] [error][status][plugin:cross_cluster_replication@7.0.1] Status changed from yellow to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:46.998] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml log [05:22:47.029] [error][status][plugin:reporting@7.0.1] Status changed from uninitialized to red - [data] Elasticsearch cluster did not respond with license information. log [05:22:47.069] [warning][reporting] The Reporting plugin encountered issues launching Chromium in a self-test. You may have trouble generating reports: Error: Failed to launch chrome!
@epixa my license property is null too for es v7.0.0. Also some of the commands like:
http://localhost:9200/_cluster/health http://localhost:9200/_cat/nodes http://localhost:9200/_cat/health
throws ans error like:
{ error: { root_cause: [ { type: "master_not_discovered_exception", reason: null } ], type: "master_not_discovered_exception", reason: null }, status: 503 }
But the command http://localhost:9200/ goes fine:
{ name: "localhost-master", cluster_name: "elastic-cluster-dual", cluster_uuid: "_na_", version: { number: "7.0.0", build_flavor: "default", build_type: "rpm", build_hash: "b7e28a7", build_date: "2019-04-05T22:55:32.697037Z", build_snapshot: false, lucene_version: "8.0.0", minimum_wire_compatibility_version: "6.7.0", minimum_index_compatibility_version: "6.0.0-beta1" }, tagline: "You Know, for Search" }
I downgrade to use 6.x es version and my cluster (elasticsearch+kibana) works fine (both with 6x version).
@sidsinhad @jvalderrama Are you both using linux-x86_64 for Elasticsearch as well?
@epixa Yes. That is correct. x86_64
@epixa x86_64, I think the problem is elasticsearch itself I was wondering solve this with the last release support given in https://github.com/elastic/ansible-elasticsearch/commits/master 4 days ago than support 7.x version, but I used this and the resulting cluster was the same:
http://localhost:9200/_xpack without license, this is null http://localhost:9200/_cluster/health does not respond with the same error wrote in the comments before http://localhost:9200/_cat/nodes does not respond with the same error wrote in the comments before http://localhost:9200/_cat/health does not respond with the same error wrote in the comments before
http://localhost:9200/ goes fine:
{ name: "localhost-master", cluster_name: "cluster-dual-v7", cluster_uuid: "_na_", version: { number: "7.0.1", build_flavor: "default", build_type: "rpm", build_hash: "e4efcb5", build_date: "2019-04-29T12:56:03.145736Z", build_snapshot: false, lucene_version: "8.0.0", minimum_wire_compatibility_version: "6.7.0", minimum_index_compatibility_version: "6.0.0-beta1" }, tagline: "You Know, for Search" }
I was able to solve the issue and now the entire stack is working in v7.0.1, the main problem was configuring the discovery and cluster formation setting in the ES cluster (elasticsearch.yml file). Nothing to do with kibana configuration or issues are related. The Kibana v7.01 was deployed and linked to ES succesfully.
Please refer here https://github.com/elastic/ansible-elasticsearch/issues/561 to see the detail. @epixa Thanks a lot for your response and the support.
@jvalderrama i did not understand can u explain more plz
I was able to solve the issue and now the entire stack is working in v7.0.1, the main problem was configuring the discovery and cluster formation setting in the ES cluster (elasticsearch.yml file). Nothing to do with kibana configuration or issues are related. The Kibana v7.01 was deployed and linked to ES succesfully.
Please refer here elastic/ansible-elasticsearch#561 to see the detail. @epixa Thanks a lot for your response and the support.
yeah. cluster.initial_master_nodes shoule be config.
discovery.seed_hosts: ["127.0.0.1", "[::1]"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
cluster.initial_master_nodes: ["node-1"]
#
# For more information, consult the discovery and cluster formation module documentation.
I’m glad you were able to sort this out! That’s a tricky problem to track down...
Brilliant! that worked for me too boot-vue! Thanks all!
I'm use 7.3.0,you must config elasticsearch.yml
set
node.name='node-1'
and
cluster.initial_master_nodes: ["node-1"]
then restart es!
Enjoin!
I had the same problem because I was using elasticsearch 7.2, in the moment I updated the version to 7.4 kibana started working perfectly
In my case, I resolved as follows, added this config in ElasticSearch.
sudo vi /etc/elasticsearch/elasticsearch.yml
sudo vi /etc/kibana/kibana.yml
This issue is due to the ElasticSearch x86_64 distribution.
discovery.seed_hosts
and cluster.initial_master_nodes
and Kibana was working well.In my case, I resolved as follows, added this config in ElasticSearch.
Elasticsearch v7.4.1:
sudo vi /etc/elasticsearch/elasticsearch.yml
- node.name: node-1
- discovery.seed_hosts: ["127.0.0.1", "[::1]"]
- cluster.initial_master_nodes: ["node-1"]
Kibana v7.4.1:
sudo vi /etc/kibana/kibana.yml
- elasticsearch.hosts: ["http://host-external:9200"]
Many thanks for this!
I have Kibana V7.6.2, with the same issue and this fixed it.
You saved my day.
In my case, I resolved as follows, added this config in ElasticSearch.
Elasticsearch v7.4.1:
sudo vi /etc/elasticsearch/elasticsearch.yml
- node.name: node-1
- discovery.seed_hosts: ["127.0.0.1", "[::1]"]
- cluster.initial_master_nodes: ["node-1"]
Kibana v7.4.1:
sudo vi /etc/kibana/kibana.yml
- elasticsearch.hosts: ["http://host-external:9200"]
Many thanks for this!
I have Kibana V7.6.2, with the same issue and this fixed it.
You saved my day.
I'm glad!
try this it worked for me https://www.youtube.com/watch?v=7gBDQLkwgHc when elastic search was set for red status after 15min or so on boot.
elasticsearch: 7.0.1 kibana: 7.0.1
kibana.yml
error log