Skip to content

Commit 55eb712

Browse files
authored
Merge pull request #601 from stackhpc/zed-reno-changes
Zed reno changes
2 parents 6166a96 + e2a2618 commit 55eb712

File tree

24 files changed

+67
-98
lines changed

24 files changed

+67
-98
lines changed

doc/source/configuration/monitoring.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Monitoring Configuration
66
========================
77

88
StackHPC kayobe config includes a reference monitoring and alerting stack based
9-
on Prometheus, Alertmanager, Grafana, Fluentd, Elasticsearch & Kibana. These
10-
services by default come enabled and configured.
9+
on Prometheus, Alertmanager, Grafana, Fluentd, OpenSearch & OpenSearch
10+
Dashboards. These services by default come enabled and configured.
1111

1212
Monitoring hosts, usually the controllers, should be added to the monitoring
1313
group. The group definition can be applied in various different places. For
@@ -18,7 +18,7 @@ example, this configuration could be added to etc/kayobe/inventory/groups:
1818
[monitoring:children]
1919
controllers
2020
21-
Central Elasticsearch cluster collects OpenStack logs, with an option to receive
21+
Central OpenSearch cluster collects OpenStack logs, with an option to receive
2222
operating system logs too. In order to enable this, execute custom playbook
2323
after deployment:
2424

etc/kayobe/ansible/rsyslog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# Custom playbook to configure rsyslog to forward operating system logs to
3-
# fluentd, eventually reaching Kolla's Elasticsearch cluster.
3+
# fluentd, eventually reaching Kolla's Opensearch cluster.
44
#
55
# Variables:
66
# * rsyslog_group: Host pattern against which to target the playbook. Default

etc/kayobe/compute.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,13 @@
196196
# compute_libvirt_ceph_repo_install is true. Default is 'pacific'.
197197
#compute_libvirt_ceph_repo_release:
198198

199+
###############################################################################
200+
# Compute node swap configuration.
201+
202+
# List of swap devices. Each item is a dict containing a 'device' item. Default
203+
# is an empty list.
204+
# compute_swap:
205+
199206
###############################################################################
200207
# Dummy variable to allow Ansible to accept this file.
201208
workaround_ansible_issue_8743: yes

etc/kayobe/controllers.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,13 @@
152152
# - state: enabled
153153
#controller_firewalld_rules:
154154

155+
###############################################################################
156+
# Controller node swap configuration.
157+
158+
# List of swap devices. Each item is a dict containing a 'device' item. Default
159+
# is an empty list.
160+
# controller_swap:
161+
155162
###############################################################################
156163
# Dummy variable to allow Ansible to accept this file.
157164
workaround_ansible_issue_8743: yes

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ glance_backend_ceph: "yes"
1212
cinder_backend_ceph: "yes"
1313
nova_backend_ceph: "yes"
1414

15-
# Elasticsearch memory tuning
16-
es_heap_size: 1g
15+
# Opensearch memory tuning
16+
opensearch_heap_size: 1g

etc/kayobe/environments/aufn-ceph/kolla/inventory/overcloud-services.j2

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ common
2424
[kolla-toolbox:children]
2525
common
2626

27-
# Elasticsearch Curator
28-
[elasticsearch-curator:children]
29-
elasticsearch
30-
3127
# Glance
3228
[glance-api:children]
3329
glance
@@ -199,41 +195,6 @@ murano
199195
[murano-engine:children]
200196
murano
201197

202-
# Monasca
203-
[monasca-agent-collector:children]
204-
monasca-agent
205-
206-
[monasca-agent-forwarder:children]
207-
monasca-agent
208-
209-
[monasca-agent-statsd:children]
210-
monasca-agent
211-
212-
[monasca-api:children]
213-
monasca
214-
215-
[monasca-log-persister:children]
216-
monasca
217-
218-
[monasca-log-metrics:children]
219-
monasca
220-
221-
[monasca-thresh:children]
222-
monasca
223-
224-
[monasca-notification:children]
225-
monasca
226-
227-
[monasca-persister:children]
228-
monasca
229-
230-
# Storm
231-
[storm-worker:children]
232-
storm
233-
234-
[storm-nimbus:children]
235-
storm
236-
237198
# Ironic
238199
[ironic-api:children]
239200
ironic
@@ -514,6 +475,7 @@ monitoring
514475
[prometheus-openstack-exporter:children]
515476
monitoring
516477

478+
# NOTE(Alex-Welsh): This might need removing, since we have moved to opensearch
517479
[prometheus-elasticsearch-exporter:children]
518480
elasticsearch
519481

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
5656
###############################################################################
5757

5858
# Avoid a reboot.
59-
disable_selinux_do_reboot: false
59+
selinux_do_reboot: false
6060

6161
###############################################################################
6262
# Dummy variable to allow Ansible to accept this file.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ 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
16-
es_heap_size: 1g
15+
# Opensearch memory tuning
16+
opensearch_heap_size: 1g
1717

1818
# Increase Grafana timeout
1919
grafana_start_first_node_retries: 20

etc/kayobe/environments/ci-aio/stackhpc-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ stackhpc_repo_centos_stream_openstack_yoga_version: "{{ stackhpc_pulp_repo_cento
3333
stackhpc_repo_centos_stream_opstools_version: "{{ stackhpc_pulp_repo_centos_stream_8_opstools_version }}"
3434
stackhpc_repo_centos_stream_powertools_version: "{{ stackhpc_pulp_repo_centos_stream_8_powertools_version }}"
3535
stackhpc_repo_centos_stream_storage_ceph_pacific_version: "{{ stackhpc_pulp_repo_centos_stream_8_storage_ceph_pacific_version }}"
36-
stackhpc_repo_elasticsearch_logstash_kibana_7_x_version: "{{ stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version }}"
3736
stackhpc_repo_grafana_version: "{{ stackhpc_pulp_repo_grafana_version }}"
3837
stackhpc_repo_mariadb_10_6_centos8_version: "{{ stackhpc_pulp_repo_mariadb_10_6_centos8_version }}"
3938
stackhpc_repo_rabbitmq_erlang_version: "{{ stackhpc_pulp_repo_rabbitmq_erlang_version }}"

etc/kayobe/environments/ci-builder/globals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
1212
# SELinux.
1313

1414
# Avoid a reboot.
15-
disable_selinux_do_reboot: false
15+
selinux_do_reboot: false

etc/kayobe/environments/ci-builder/stackhpc-ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ kolla_enable_central_logging: true
1313
kolla_enable_cinder: true
1414
kolla_enable_cloudkitty: true
1515
kolla_enable_designate: true
16-
kolla_enable_elasticsearch_curator: true
1716
kolla_enable_etcd: true
1817
kolla_enable_grafana: true
1918
kolla_enable_influxdb: true
@@ -57,7 +56,6 @@ stackhpc_repo_centos_stream_openstack_yoga_version: "{{ stackhpc_pulp_repo_cento
5756
stackhpc_repo_centos_stream_opstools_version: "{{ stackhpc_pulp_repo_centos_stream_8_opstools_version }}"
5857
stackhpc_repo_centos_stream_powertools_version: "{{ stackhpc_pulp_repo_centos_stream_8_powertools_version }}"
5958
stackhpc_repo_centos_stream_storage_ceph_pacific_version: "{{ stackhpc_pulp_repo_centos_stream_8_storage_ceph_pacific_version }}"
60-
stackhpc_repo_elasticsearch_logstash_kibana_7_x_version: "{{ stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version }}"
6159
stackhpc_repo_grafana_version: "{{ stackhpc_pulp_repo_grafana_version }}"
6260
stackhpc_repo_mariadb_10_6_centos8_version: "{{ stackhpc_pulp_repo_mariadb_10_6_centos8_version }}"
6361
stackhpc_repo_rabbitmq_erlang_version: "{{ stackhpc_pulp_repo_rabbitmq_erlang_version }}"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ stackhpc_barbican_role_id_file_path: "/tmp/barbican-role-id"
6464
###############################################################################
6565

6666
# Avoid a reboot.
67-
disable_selinux_do_reboot: false
67+
selinux_do_reboot: false
6868

6969
###############################################################################
7070
# Dummy variable to allow Ansible to accept this file.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ nova_backend_ceph: "yes"
1515
neutron_bridge_name: "{{ vxlan_interfaces[0].device }}-ovs"
1616
neutron_external_interface: "{{ vxlan_interfaces[0].device }}"
1717

18-
# Elasticsearch memory tuning
19-
es_heap_size: 1g
18+
# Opensearch memory tuning
19+
opensearch_heap_size: 1g
2020

2121
# Octavia load balancer configuration
2222
octavia_auto_configure: "no"

etc/kayobe/environments/ci-multinode/stackhpc-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ stackhpc_repo_centos_stream_openstack_yoga_version: "{{ stackhpc_pulp_repo_cento
3333
stackhpc_repo_centos_stream_opstools_version: "{{ stackhpc_pulp_repo_centos_stream_8_opstools_version }}"
3434
stackhpc_repo_centos_stream_powertools_version: "{{ stackhpc_pulp_repo_centos_stream_8_powertools_version }}"
3535
stackhpc_repo_centos_stream_storage_ceph_pacific_version: "{{ stackhpc_pulp_repo_centos_stream_8_storage_ceph_pacific_version }}"
36-
stackhpc_repo_elasticsearch_logstash_kibana_7_x_version: "{{ stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version }}"
3736
stackhpc_repo_grafana_version: "{{ stackhpc_pulp_repo_grafana_version }}"
3837
stackhpc_repo_mariadb_10_6_centos8_version: "{{ stackhpc_pulp_repo_mariadb_10_6_centos8_version }}"
3938
stackhpc_repo_rabbitmq_erlang_version: "{{ stackhpc_pulp_repo_rabbitmq_erlang_version }}"

etc/kayobe/infra-vms.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,13 @@
172172
# - state: enabled
173173
#infra_vm_firewalld_rules:
174174

175+
###############################################################################
176+
# Infrastructure VM node swap configuration.
177+
178+
# List of swap devices. Each item is a dict containing a 'device' item. Default
179+
# is an empty list.
180+
# infra_vm_swap:
181+
175182
###############################################################################
176183
# Dummy variable to allow Ansible to accept this file.
177184
workaround_ansible_issue_8743: yes

etc/kayobe/kolla.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ kolla_source_version: "{{ stackhpc_kolla_source_version }}"
2626
###############################################################################
2727
# Kolla-ansible installation.
2828

29-
# Type of Kolla-ansible control installation. One of 'binary' or 'source'.
30-
# Default is 'source'.
31-
#kolla_ansible_ctl_install_type:
32-
3329
# Path to directory for kolla-ansible source code checkout.
3430
# Default is $KOLLA_SOURCE_PATH, or $PWD/src/kolla-ansible if
3531
# $KOLLA_SOURCE_PATH is not set.

etc/kayobe/kolla/globals.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,12 @@ ironic_dnsmasq_tag: "{% raw %}{{ kayobe_image_tags['ironic_dnsmasq'][kolla_base_
6464
opensearch_tag: "{% raw %}{{ kayobe_image_tags['opensearch'][kolla_base_distro] | default(openstack_tag) }}{% endraw %}"
6565
prometheus_node_exporter_tag: "{% raw %}{{ kayobe_image_tags['prometheus_node_exporter'][kolla_base_distro] | default(openstack_tag) }}{% endraw %}"
6666

67-
glance_tls_proxy_tag: "{% raw %}{{ haproxy_tag | default(openstack_tag) }}{% endraw %}"
68-
neutron_tls_proxy_tag: "{% raw %}{{ haproxy_tag | default(openstack_tag) }}{% endraw %}"
69-
7067
om_enable_rabbitmq_high_availability: true
7168

7269
#############################################################################
7370
# Monitoring and alerting related settings
7471

75-
es_heap_size: 8g
72+
opensearch_heap_size: 8g
7673
prometheus_cmdline_extras: "--storage.tsdb.retention.time=30d"
7774

7875
# Additional command line flags for node exporter to enable texfile collector for disk metrics and create textfile docker volume

etc/kayobe/monitoring.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@
116116
# - state: enabled
117117
#monitoring_firewalld_rules:
118118

119+
###############################################################################
120+
# Monitoring node swap configuration.
121+
122+
# List of swap devices. Each item is a dict containing a 'device' item. Default
123+
# is an empty list.
124+
# monitoring_swap:
125+
119126
###############################################################################
120127
# Dummy variable to allow Ansible to accept this file.
121128
workaround_ansible_issue_8743: yes

etc/kayobe/pulp-repo-versions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ stackhpc_pulp_repo_centos_stream_9_opstools_version: 20230301T034123
1717
stackhpc_pulp_repo_centos_stream_9_storage_ceph_pacific_version: 20230308T155704
1818
stackhpc_pulp_repo_docker_ce_ubuntu_version: 20230420T073634
1919
stackhpc_pulp_repo_docker_version: 20230203T025251
20-
stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version: 20230203T025251
2120
stackhpc_pulp_repo_epel_9_version: 20230302T031902
2221
stackhpc_pulp_repo_epel_modular_version: 20220913T043117
2322
stackhpc_pulp_repo_epel_version: 20230206T150339

etc/kayobe/pulp.yml

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -428,18 +428,6 @@ stackhpc_pulp_repository_rpm_repos:
428428
state: present
429429
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
430430

431-
- name: ELK repository for 7.x packages
432-
url: "{{ stackhpc_release_pulp_content_url }}/elasticsearch/oss-7.x/{{ stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version }}"
433-
remote_username: "{{ stackhpc_release_pulp_username }}"
434-
remote_password: "{{ stackhpc_release_pulp_password }}"
435-
client_cert: ""
436-
client_key: ""
437-
policy: on_demand
438-
proxy_url: "{{ pulp_proxy_url }}"
439-
sync_policy: mirror_complete
440-
state: present
441-
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
442-
443431
- name: Grafana
444432
url: "{{ stackhpc_release_pulp_content_url }}/grafana/oss/rpm/{{ stackhpc_pulp_repo_grafana_version }}"
445433
remote_username: "{{ stackhpc_release_pulp_username }}"
@@ -725,11 +713,6 @@ stackhpc_pulp_distribution_rpm_development:
725713
repository: CentOS Stream 8 - Ceph Pacific
726714
state: present
727715
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
728-
- name: "elasticsearch-logstash-kibana-7.x-development"
729-
base_path: "elasticsearch/oss-7.x/development"
730-
repository: ELK repository for 7.x packages
731-
state: present
732-
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
733716
- name: "grafana-development"
734717
base_path: "grafana/oss/rpm/development"
735718
repository: Grafana
@@ -924,11 +907,6 @@ stackhpc_pulp_distribution_rpm_production:
924907
repository: CentOS Stream 8 - Ceph Pacific
925908
state: present
926909
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
927-
- name: "elasticsearch-logstash-kibana-7.x-production"
928-
base_path: "elasticsearch/oss-7.x/production"
929-
repository: ELK repository for 7.x packages
930-
state: present
931-
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
932910
- name: "grafana-production"
933911
base_path: "grafana/oss/rpm/production"
934912
repository: Grafana
@@ -1055,8 +1033,6 @@ stackhpc_pulp_images_kolla:
10551033
- designate-sink
10561034
- designate-worker
10571035
- dnsmasq
1058-
- elasticsearch
1059-
- elasticsearch-curator
10601036
- etcd
10611037
- fluentd
10621038
- glance-api
@@ -1071,7 +1047,7 @@ stackhpc_pulp_images_kolla:
10711047
- ironic-conductor
10721048
- ironic-inspector
10731049
- ironic-neutron-agent
1074-
- ironic-pxe
1050+
- ironic-tftp
10751051
- iscsid
10761052
- keepalived
10771053
- keystone
@@ -1121,7 +1097,6 @@ stackhpc_pulp_images_kolla:
11211097
- prometheus-alertmanager
11221098
- prometheus-blackbox-exporter
11231099
- prometheus-cadvisor
1124-
- prometheus-elasticsearch-exporter
11251100
- prometheus-haproxy-exporter
11261101
- prometheus-jiralert
11271102
- prometheus-libvirt-exporter
@@ -1141,12 +1116,8 @@ stackhpc_pulp_images_kolla:
11411116
# List of images for each base distribution which should not/cannot be built.
11421117
stackhpc_kolla_unbuildable_images:
11431118
ubuntu: []
1144-
centos: []
11451119
rocky:
1146-
- elasticsearch
1147-
- elasticsearch-curator
11481120
- iscsid
1149-
- kibana
11501121

11511122
# Whitespace-separated list of regular expressions matching Kolla image names.
11521123
# Usage is similar to kolla-build CLI arguments.
@@ -1172,7 +1143,7 @@ stackhpc_pulp_repository_container_repos_kolla: >-
11721143
{%- set repos = [] -%}
11731144
{%- for image in stackhpc_pulp_images_kolla_filtered -%}
11741145
{%- if image not in stackhpc_kolla_unbuildable_images[kolla_base_distro]-%}
1175-
{%- set image_repo = kolla_docker_namespace ~ "/" ~ kolla_base_distro ~ "-" ~ kolla_install_type ~ "-" ~ image -%}
1146+
{%- set image_repo = kolla_docker_namespace ~ "/" ~ image -%}
11761147
{%- set repo = {"name": image_repo} -%}
11771148
{%- set _ = repos.append(stackhpc_pulp_repository_container_repos_kolla_common | combine(repo)) -%}
11781149
{%- endif -%}
@@ -1189,7 +1160,7 @@ stackhpc_pulp_distribution_container_kolla: >-
11891160
{%- set distributions = [] -%}
11901161
{%- for image in stackhpc_pulp_images_kolla_filtered -%}
11911162
{%- if image not in stackhpc_kolla_unbuildable_images[kolla_base_distro]-%}
1192-
{%- set image_repo = kolla_docker_namespace ~ "/" ~ kolla_base_distro ~ "-" ~ kolla_install_type ~ "-" ~ image -%}
1163+
{%- set image_repo = kolla_docker_namespace ~ "/" ~ image -%}
11931164
{%- set distribution = {"name": image_repo, "repository": image_repo, "base_path": image_repo} -%}
11941165
{%- set _ = distributions.append(stackhpc_pulp_distribution_container_kolla_common | combine(distribution)) -%}
11951166
{%- endif -%}

etc/kayobe/seed-hypervisor.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@
135135
# - state: enabled
136136
#seed_hypervisor_firewalld_rules:
137137

138+
###############################################################################
139+
# Seed Hypervisor node swap configuration.
140+
141+
# List of swap devices. Each item is a dict containing a 'device' item. Default
142+
# is an empty list.
143+
# seed_hypervisor_swap:
144+
138145
###############################################################################
139146
# Dummy variable to allow Ansible to accept this file.
140147
workaround_ansible_issue_8743: yes

etc/kayobe/seed.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,13 @@ seed_extra_containers: {}
173173
# - state: enabled
174174
#seed_firewalld_rules:
175175

176+
###############################################################################
177+
# Seed node swap configuration.
178+
179+
# List of swap devices. Each item is a dict containing a 'device' item. Default
180+
# is an empty list.
181+
# seed_swap:
182+
176183
###############################################################################
177184
# Dummy variable to allow Ansible to accept this file.
178185
workaround_ansible_issue_8743: yes

0 commit comments

Comments
 (0)