Skip to content

Commit deabfee

Browse files
authored
Merge pull request #141 from stackhpc/feature/elk7_victoria
Upgrade service configuration for ELK 7
2 parents ca34963 + 1bec66e commit deabfee

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

ansible/roles/elasticsearch/templates/elasticsearch.yml.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ node.name: "{{ 'api' | kolla_address | put_address_in_context('url') }}"
55
network.host: "{{ 'api' | kolla_address | put_address_in_context('url') }}"
66

77
cluster.name: "{{ elasticsearch_cluster_name }}"
8+
cluster.initial_master_nodes: [{% for host in groups['elasticsearch'] %}"{{ 'api' | kolla_address(host) }}"{% if not loop.last %},{% endif %}{% endfor %}]
89
node.master: true
910
node.data: true
10-
discovery.zen.ping.unicast.hosts: [{% for host in groups['elasticsearch'] %}"{{ 'api' | kolla_address(host) | put_address_in_context('url') }}"{% if not loop.last %},{% endif %}{% endfor %}]
11+
discovery.seed_hosts: [{% for host in groups['elasticsearch'] %}"{{ 'api' | kolla_address(host) | put_address_in_context('url') }}"{% if not loop.last %},{% endif %}{% endfor %}]
1112

1213
discovery.zen.minimum_master_nodes: {{ minimum_master_nodes }}
1314
http.port: {{ elasticsearch_port }}

ansible/roles/kibana/templates/kibana.json.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"command": "/usr/share/kibana/bin/kibana",
2+
"command": "/usr/share/kibana/bin/kibana --config /etc/kibana/kibana.yml",
33
"config_files": [
44
{
55
"source": "{{ container_config_directory }}/kibana.yml",

ansible/roles/kibana/templates/kibana.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ kibana.defaultAppId: "{{ kibana_default_app_id }}"
22
logging.dest: /var/log/kolla/kibana/kibana.log
33
server.port: {{ kibana_server_port }}
44
server.host: "{{ api_interface_address }}"
5-
elasticsearch.url: "{{ elasticsearch_internal_endpoint }}"
5+
elasticsearch.hosts: "{{ elasticsearch_internal_endpoint }}"
66
elasticsearch.requestTimeout: {{ kibana_elasticsearch_request_timeout }}
77
elasticsearch.shardTimeout: {{ kibana_elasticsearch_shard_timeout }}
88
elasticsearch.ssl.verificationMode: "{{ 'full' if kibana_elasticsearch_ssl_verify | bool else 'none' }}"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
upgrade:
3+
- |
4+
Update service configuration for the ELK 7 OSS release. A rolling upgrade
5+
from ELK 6 is supported. Please see the official `upgrade notes
6+
<https://www.elastic.co/guide/en/elastic-stack/current/upgrading-elastic-stack.html>`__
7+
for more detail.

0 commit comments

Comments
 (0)