kolla-ansible/ansible
Jason Anderson 8c489009c2
[elasticsearch] Add migration for Kibana 6.x index
Elasticsearch 6.x dropped support for mapping types[1], which by default
the Kibana index used. This means that when deploying ELK 6.x, the
Kibana index must be migrated to the new schema to preserve dashboards
and visualizations. There is a process defined[2], which involves
creating a new index with the specified schema, then reindexing the old
index's data into the new index, then doing a rename/delete.

This adds support for that workflow via Ansible. It takes place after
the ES container is restarted after an upgrade, so there will be a
(short) period of time where the Kibana index is not migrated. During
this time, Kibana still loads, but presents the user with a status
screen informing that the index needs migration.

[1]:
https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html
[2]: https://www.elastic.co/guide/en/kibana/6.x/migrating-6.0-index.html

Implements: blueprint elasticsearch-kibana-version-upgrade
Depends-On: https://review.opendev.org/709624
Change-Id: I4550629e2113f3da7f1cecfeab0d5fe0d899dae8
2020-04-06 16:08:17 -05:00
..
action_plugins Drop python 2 support from action plugins 2019-12-11 16:07:37 +00:00
filter_plugins Implement IPv6 support in the control plane 2019-10-16 10:24:35 +02:00
group_vars Support setting Kafka storage volume 2020-03-30 11:00:03 +02:00
inventory Remove kolla-ceph 2020-02-11 11:42:06 +01:00
library Update hacking for Python3 2020-04-04 17:00:17 +02:00
roles [elasticsearch] Add migration for Kibana 6.x index 2020-04-06 16:08:17 -05:00
bifrost.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
certificates.yml Make the certificates role just run on deploy node 2018-03-20 19:57:30 +08:00
destroy.yml Give plays in the playbooks a name 2016-12-05 15:40:56 +00:00
gather-facts.yml Avoid unconditional fact gathering 2020-04-02 12:39:46 +00:00
kolla-host.yml Merge "Support Docker CE in bootstrap-servers" 2018-12-28 12:21:26 +00:00
mariadb_backup.yml Use mariabackup for database backups 2019-11-01 18:44:10 +00:00
mariadb_recovery.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
nova.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
post-deploy.yml Use correct variable for default certificate paths 2018-11-19 16:25:28 +00:00
prune-images.yml Adds Docker image pruning command 2020-01-27 13:44:01 +03:00
site.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00