aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2022-09-09 11:02:28 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2022-12-01 10:27:50 +0000
commite1ec02eddf9bb33fd9e34c1e4c79b7791f6fd22c (patch)
tree4edea22142bedf61c512dd8e57f0269561040934 /tools
parent8f6298c84525b7164eb5ca4b476fa1c3e3426c8d (diff)
downloadkolla-ansible-e1ec02eddf9bb33fd9e34c1e4c79b7791f6fd22c.tar.gz
kolla-ansible-e1ec02eddf9bb33fd9e34c1e4c79b7791f6fd22c.zip
Replace ElasticSearch and Kibana with OpenSearch
This change replaces ElasticSearch with OpenSearch, and Kibana with OpenSearch Dashboards. It migrates the data from ElasticSearch to OpenSearch upon upgrade. No TLS support is in this patch (will be a followup). A replacement for ElasticSearch Curator will be added as a followup. Depends-On: https://review.opendev.org/c/openstack/kolla/+/830373 Co-authored-by: Doug Szumski <doug@stackhpc.com> Co-authored-by: Kyle Dean <kyle@stackhpc.com> Change-Id: Iab10ce7ea5d5f21a40b1f99b28e3290b7e9ce895
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cleanup-host5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/cleanup-host b/tools/cleanup-host
index 4a42b0a4e..e6271bf8c 100755
--- a/tools/cleanup-host
+++ b/tools/cleanup-host
@@ -73,6 +73,11 @@ if [[ "$kafka_datadir_volume" != "kafka" && -d "$kafka_datadir_volume" ]]; then
rm -rfv $kafka_datadir_volume
fi
+if [[ "$opensearch_datadir_volume" != "opensearch" && -d "$opensearch_datadir_volume" ]]; then
+ echo "Removing opensearch volume if it is customzied"
+ rm -rfv $opensearch_datadir_volume
+fi
+
FOLDER_PATH="/etc/kolla"
if [[ -e "$FOLDER_PATH/ovsdpdk-db/ovs-dpdkctl.sh" ]]; then