Skip to content

Commit 2745fb1

Browse files
committed
Migrate Elasticsearch to OpenSearch
1 parent 0d561c1 commit 2745fb1

File tree

2 files changed

+22
-24
lines changed

2 files changed

+22
-24
lines changed

source/operations_and_monitoring.rst

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
Operations and Monitoring
55
=========================
66

7-
Access to Kibana
8-
================
7+
Access to OpenSearch Dashboards
8+
===============================
99

1010
OpenStack control plane logs are aggregated from all servers by Fluentd and
11-
stored in ElasticSearch. The control plane logs can be accessed from
12-
ElasticSearch using Kibana, which is available at the following URL:
13-
|kibana_url|
11+
stored in OpenSearch. The control plane logs can be accessed from
12+
OpenSearch using OpenSearch Dashboards, which is available at the following URL:
13+
|opensearch_dashboards_url|
1414

15-
To log in, use the ``kibana`` user. The password is auto-generated by
15+
To log in, use the ``opensearch`` user. The password is auto-generated by
1616
Kolla-Ansible and can be extracted from the encrypted passwords file
1717
(|kolla_passwords|):
1818

1919
.. code-block:: console
2020
:substitutions:
2121
22-
kayobe# ansible-vault view ${KAYOBE_CONFIG_PATH}/kolla/passwords.yml --vault-password-file |vault_password_file_path| | grep ^kibana
22+
kayobe# ansible-vault view ${KAYOBE_CONFIG_PATH}/kolla/passwords.yml --vault-password-file |vault_password_file_path| | grep ^opensearch_dashboards
2323
2424
Access to Grafana
2525
=================
@@ -293,7 +293,7 @@ Monitoring
293293
----------
294294

295295
* `Back up InfluxDB <https://docs.influxdata.com/influxdb/v1.8/administration/backup_and_restore/>`__
296-
* `Back up ElasticSearch <https://www.elastic.co/guide/en/elasticsearch/reference/current/backup-cluster-data.html>`__
296+
* `Back up OpenSearch <https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore/>`__
297297
* `Back up Prometheus <https://prometheus.io/docs/prometheus/latest/querying/api/#snapshot>`__
298298

299299
Seed
@@ -309,8 +309,8 @@ Ansible control host
309309
Control Plane Monitoring
310310
========================
311311

312-
The control plane has been configured to collect logs centrally using the EFK
313-
stack (Elasticsearch, Fluentd and Kibana).
312+
The control plane has been configured to collect logs centrally using the FOOD
313+
stack (Fluentd, OpenSearch and OpenSearch Dashboards).
314314

315315
Telemetry monitoring of the control plane is performed by Prometheus. Metrics
316316
are collected by Prometheus exporters, which are either running on all hosts
@@ -508,7 +508,8 @@ Overview
508508
* Remove the node from maintenance mode in bifrost
509509
* Bifrost should automatically power on the node via IPMI
510510
* Check that all docker containers are running
511-
* Check Kibana for any messages with log level ERROR or equivalent
511+
* Check OpenSearch Dashboards for any messages with log level ERROR or
512+
equivalent
512513

513514
Controllers
514515
-----------
@@ -647,28 +648,25 @@ perform the following cleanup procedure regularly:
647648
fi
648649
done
649650
650-
Elasticsearch indexes retention
651+
OpenSearch indexes retention
651652
===============================
652653

653-
To enable and alter default rotation values for Elasticsearch Curator, edit
654+
To alter default rotation values for OpenSearch, edit
654655
``${KAYOBE_CONFIG_PATH}/kolla/globals.yml``:
655656

656657
.. code-block:: console
657658
658-
# Allow Elasticsearch Curator to apply a retention policy to logs
659-
enable_elasticsearch_curator: true
660-
661-
# Duration after which index is closed
662-
elasticsearch_curator_soft_retention_period_days: 90
659+
# Duration after which index is closed (default 30)
660+
opensearch_soft_retention_period_days: 90
663661
664-
# Duration after which index is deleted
665-
elasticsearch_curator_hard_retention_period_days: 180
662+
# Duration after which index is deleted (default 60)
663+
opensearch_hard_retention_period_days: 180
666664
667-
Reconfigure Elasticsearch with new values:
665+
Reconfigure Opensearch with new values:
668666

669667
.. code-block:: console
670668
671-
kayobe overcloud service reconfigure --kolla-tags elasticsearch
669+
kayobe overcloud service reconfigure --kolla-tags opensearch
672670
673671
For more information see the `upstream documentation
674-
<https://docs.openstack.org/kolla-ansible/latest/reference/logging-and-monitoring/central-logging-guide.html#curator>`__.
672+
<https://docs.openstack.org/kolla-ansible/latest/reference/logging-and-monitoring/central-logging-guide.html#applying-log-retention-policies>`__.

source/vars.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.. |kayobe_source_url| replace:: https://github.com/acme-openstack/kayobe.git
2626
.. |kayobe_source_version| replace:: ``acme/yoga``
2727
.. |keystone_public_url| replace:: https://openstack.acme.example:5000
28-
.. |kibana_url| replace:: https://openstack.acme.example:5601
28+
.. |opensearch_dashboards_url| replace:: https://openstack.acme.example:5601
2929
.. |kolla_passwords| replace:: https://github.com/acme-openstack/kayobe-config/blob/acme/yoga/etc/kayobe/kolla/passwords.yml
3030
.. |monitoring_host| replace:: ``mon0``
3131
.. |network_name| replace:: admin-vxlan

0 commit comments

Comments
 (0)