Skip to content

Commit ec8ef4f

Browse files
authored
Merge pull request #886 from stackhpc/os-heap-size
Set OpenSearch heap size
2 parents 68c4361 + 313faf3 commit ec8ef4f

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

etc/kayobe/environments/aufn-ceph/kolla/globals.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ glance_backend_ceph: "yes"
1313
cinder_backend_ceph: "yes"
1414
nova_backend_ceph: "yes"
1515

16-
# Elasticsearch memory tuning
16+
# Elasticsearch / OpenSearch memory tuning
1717
es_heap_size: 1g
18+
opensearch_heap_size: 1g

etc/kayobe/environments/ci-aio/kolla/globals.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ openstack_service_rpc_workers: "1"
1212
docker_yum_baseurl: "{{ stackhpc_repo_docker_url }}"
1313
docker_yum_gpgkey: "https://download.docker.com/linux/centos/gpg"
1414

15-
# Elasticsearch memory tuning
15+
# Elasticsearch / OpenSearch memory tuning
1616
es_heap_size: 1g
17+
opensearch_heap_size: 1g
1718

1819
# Increase Grafana timeout
1920
grafana_start_first_node_retries: 20

etc/kayobe/environments/ci-multinode/kolla/globals.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ nova_backend_ceph: "yes"
2020
neutron_bridge_name: "{{ vxlan_interfaces[0].device }}-ovs"
2121
neutron_external_interface: "{{ vxlan_interfaces[0].device }}"
2222

23-
# Elasticsearch memory tuning
23+
# Elasticsearch / OpenSearch memory tuning
2424
es_heap_size: 1g
25+
opensearch_heap_size: 1g
2526

2627
# Octavia load balancer configuration
2728
octavia_auto_configure: "no"

etc/kayobe/kolla/globals.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ om_enable_rabbitmq_high_availability: true
4343
# Monitoring and alerting related settings
4444

4545
es_heap_size: 8g
46+
opensearch_heap_size: 8g
4647
prometheus_cmdline_extras: "--storage.tsdb.retention.time=30d"
4748

4849
# Additional command line flags for node exporter to enable texfile collector for disk metrics and create textfile docker volume
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
fixes:
3+
- |
4+
Bumps OpenSearch heap size to 8 GB, to be identical to Elasticsearch.

0 commit comments

Comments
 (0)