Skip to content

Zed reno changes #601

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/source/configuration/monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Monitoring Configuration
========================

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

Monitoring hosts, usually the controllers, should be added to the monitoring
group. The group definition can be applied in various different places. For
Expand All @@ -18,7 +18,7 @@ example, this configuration could be added to etc/kayobe/inventory/groups:
[monitoring:children]
controllers

Central Elasticsearch cluster collects OpenStack logs, with an option to receive
Central OpenSearch cluster collects OpenStack logs, with an option to receive
operating system logs too. In order to enable this, execute custom playbook
after deployment:

Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ansible/rsyslog.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Custom playbook to configure rsyslog to forward operating system logs to
# fluentd, eventually reaching Kolla's Elasticsearch cluster.
# fluentd, eventually reaching Kolla's Opensearch cluster.
#
# Variables:
# * rsyslog_group: Host pattern against which to target the playbook. Default
Expand Down
7 changes: 7 additions & 0 deletions etc/kayobe/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,13 @@
# compute_libvirt_ceph_repo_install is true. Default is 'pacific'.
#compute_libvirt_ceph_repo_release:

###############################################################################
# Compute node swap configuration.

# List of swap devices. Each item is a dict containing a 'device' item. Default
# is an empty list.
# compute_swap:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
7 changes: 7 additions & 0 deletions etc/kayobe/controllers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@
# - state: enabled
#controller_firewalld_rules:

###############################################################################
# Controller node swap configuration.

# List of swap devices. Each item is a dict containing a 'device' item. Default
# is an empty list.
# controller_swap:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
4 changes: 2 additions & 2 deletions etc/kayobe/environments/aufn-ceph/kolla/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ glance_backend_ceph: "yes"
cinder_backend_ceph: "yes"
nova_backend_ceph: "yes"

# Elasticsearch memory tuning
es_heap_size: 1g
# Opensearch memory tuning
opensearch_heap_size: 1g
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ common
[kolla-toolbox:children]
common

# Elasticsearch Curator
[elasticsearch-curator:children]
elasticsearch

# Glance
[glance-api:children]
glance
Expand Down Expand Up @@ -199,41 +195,6 @@ murano
[murano-engine:children]
murano

# Monasca
[monasca-agent-collector:children]
monasca-agent

[monasca-agent-forwarder:children]
monasca-agent

[monasca-agent-statsd:children]
monasca-agent

[monasca-api:children]
monasca

[monasca-log-persister:children]
monasca

[monasca-log-metrics:children]
monasca

[monasca-thresh:children]
monasca

[monasca-notification:children]
monasca

[monasca-persister:children]
monasca

# Storm
[storm-worker:children]
storm

[storm-nimbus:children]
storm

# Ironic
[ironic-api:children]
ironic
Expand Down Expand Up @@ -514,6 +475,7 @@ monitoring
[prometheus-openstack-exporter:children]
monitoring

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

Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/environments/ci-aio/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
###############################################################################

# Avoid a reboot.
disable_selinux_do_reboot: false
selinux_do_reboot: false

###############################################################################
# Dummy variable to allow Ansible to accept this file.
Expand Down
4 changes: 2 additions & 2 deletions etc/kayobe/environments/ci-aio/kolla/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ openstack_service_rpc_workers: "1"
docker_yum_baseurl: "{{ stackhpc_repo_docker_url }}"
docker_yum_gpgkey: "https://download.docker.com/linux/centos/gpg"

# Elasticsearch memory tuning
es_heap_size: 1g
# Opensearch memory tuning
opensearch_heap_size: 1g

# Increase Grafana timeout
grafana_start_first_node_retries: 20
1 change: 0 additions & 1 deletion etc/kayobe/environments/ci-aio/stackhpc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ stackhpc_repo_centos_stream_openstack_yoga_version: "{{ stackhpc_pulp_repo_cento
stackhpc_repo_centos_stream_opstools_version: "{{ stackhpc_pulp_repo_centos_stream_8_opstools_version }}"
stackhpc_repo_centos_stream_powertools_version: "{{ stackhpc_pulp_repo_centos_stream_8_powertools_version }}"
stackhpc_repo_centos_stream_storage_ceph_pacific_version: "{{ stackhpc_pulp_repo_centos_stream_8_storage_ceph_pacific_version }}"
stackhpc_repo_elasticsearch_logstash_kibana_7_x_version: "{{ stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version }}"
stackhpc_repo_grafana_version: "{{ stackhpc_pulp_repo_grafana_version }}"
stackhpc_repo_mariadb_10_6_centos8_version: "{{ stackhpc_pulp_repo_mariadb_10_6_centos8_version }}"
stackhpc_repo_rabbitmq_erlang_version: "{{ stackhpc_pulp_repo_rabbitmq_erlang_version }}"
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/environments/ci-builder/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ os_distribution: "{{ lookup('pipe', '. /etc/os-release && echo $ID') | trim }}"
# SELinux.

# Avoid a reboot.
disable_selinux_do_reboot: false
selinux_do_reboot: false
2 changes: 0 additions & 2 deletions etc/kayobe/environments/ci-builder/stackhpc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ kolla_enable_central_logging: true
kolla_enable_cinder: true
kolla_enable_cloudkitty: true
kolla_enable_designate: true
kolla_enable_elasticsearch_curator: true
kolla_enable_etcd: true
kolla_enable_grafana: true
kolla_enable_influxdb: true
Expand Down Expand Up @@ -57,7 +56,6 @@ stackhpc_repo_centos_stream_openstack_yoga_version: "{{ stackhpc_pulp_repo_cento
stackhpc_repo_centos_stream_opstools_version: "{{ stackhpc_pulp_repo_centos_stream_8_opstools_version }}"
stackhpc_repo_centos_stream_powertools_version: "{{ stackhpc_pulp_repo_centos_stream_8_powertools_version }}"
stackhpc_repo_centos_stream_storage_ceph_pacific_version: "{{ stackhpc_pulp_repo_centos_stream_8_storage_ceph_pacific_version }}"
stackhpc_repo_elasticsearch_logstash_kibana_7_x_version: "{{ stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version }}"
stackhpc_repo_grafana_version: "{{ stackhpc_pulp_repo_grafana_version }}"
stackhpc_repo_mariadb_10_6_centos8_version: "{{ stackhpc_pulp_repo_mariadb_10_6_centos8_version }}"
stackhpc_repo_rabbitmq_erlang_version: "{{ stackhpc_pulp_repo_rabbitmq_erlang_version }}"
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/environments/ci-multinode/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ stackhpc_barbican_role_id_file_path: "/tmp/barbican-role-id"
###############################################################################

# Avoid a reboot.
disable_selinux_do_reboot: false
selinux_do_reboot: false

###############################################################################
# Dummy variable to allow Ansible to accept this file.
Expand Down
4 changes: 2 additions & 2 deletions etc/kayobe/environments/ci-multinode/kolla/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ nova_backend_ceph: "yes"
neutron_bridge_name: "{{ vxlan_interfaces[0].device }}-ovs"
neutron_external_interface: "{{ vxlan_interfaces[0].device }}"

# Elasticsearch memory tuning
es_heap_size: 1g
# Opensearch memory tuning
opensearch_heap_size: 1g

# Octavia load balancer configuration
octavia_auto_configure: "no"
Expand Down
1 change: 0 additions & 1 deletion etc/kayobe/environments/ci-multinode/stackhpc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ stackhpc_repo_centos_stream_openstack_yoga_version: "{{ stackhpc_pulp_repo_cento
stackhpc_repo_centos_stream_opstools_version: "{{ stackhpc_pulp_repo_centos_stream_8_opstools_version }}"
stackhpc_repo_centos_stream_powertools_version: "{{ stackhpc_pulp_repo_centos_stream_8_powertools_version }}"
stackhpc_repo_centos_stream_storage_ceph_pacific_version: "{{ stackhpc_pulp_repo_centos_stream_8_storage_ceph_pacific_version }}"
stackhpc_repo_elasticsearch_logstash_kibana_7_x_version: "{{ stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version }}"
stackhpc_repo_grafana_version: "{{ stackhpc_pulp_repo_grafana_version }}"
stackhpc_repo_mariadb_10_6_centos8_version: "{{ stackhpc_pulp_repo_mariadb_10_6_centos8_version }}"
stackhpc_repo_rabbitmq_erlang_version: "{{ stackhpc_pulp_repo_rabbitmq_erlang_version }}"
Expand Down
7 changes: 7 additions & 0 deletions etc/kayobe/infra-vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,13 @@
# - state: enabled
#infra_vm_firewalld_rules:

###############################################################################
# Infrastructure VM node swap configuration.

# List of swap devices. Each item is a dict containing a 'device' item. Default
# is an empty list.
# infra_vm_swap:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
4 changes: 0 additions & 4 deletions etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ kolla_source_version: "{{ stackhpc_kolla_source_version }}"
###############################################################################
# Kolla-ansible installation.

# Type of Kolla-ansible control installation. One of 'binary' or 'source'.
# Default is 'source'.
#kolla_ansible_ctl_install_type:

# Path to directory for kolla-ansible source code checkout.
# Default is $KOLLA_SOURCE_PATH, or $PWD/src/kolla-ansible if
# $KOLLA_SOURCE_PATH is not set.
Expand Down
5 changes: 1 addition & 4 deletions etc/kayobe/kolla/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,12 @@ ironic_dnsmasq_tag: "{% raw %}{{ kayobe_image_tags['ironic_dnsmasq'][kolla_base_
opensearch_tag: "{% raw %}{{ kayobe_image_tags['opensearch'][kolla_base_distro] | default(openstack_tag) }}{% endraw %}"
prometheus_node_exporter_tag: "{% raw %}{{ kayobe_image_tags['prometheus_node_exporter'][kolla_base_distro] | default(openstack_tag) }}{% endraw %}"

glance_tls_proxy_tag: "{% raw %}{{ haproxy_tag | default(openstack_tag) }}{% endraw %}"
neutron_tls_proxy_tag: "{% raw %}{{ haproxy_tag | default(openstack_tag) }}{% endraw %}"

om_enable_rabbitmq_high_availability: true

#############################################################################
# Monitoring and alerting related settings

es_heap_size: 8g
opensearch_heap_size: 8g
prometheus_cmdline_extras: "--storage.tsdb.retention.time=30d"

# Additional command line flags for node exporter to enable texfile collector for disk metrics and create textfile docker volume
Expand Down
7 changes: 7 additions & 0 deletions etc/kayobe/monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@
# - state: enabled
#monitoring_firewalld_rules:

###############################################################################
# Monitoring node swap configuration.

# List of swap devices. Each item is a dict containing a 'device' item. Default
# is an empty list.
# monitoring_swap:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
1 change: 0 additions & 1 deletion etc/kayobe/pulp-repo-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ stackhpc_pulp_repo_centos_stream_9_opstools_version: 20230301T034123
stackhpc_pulp_repo_centos_stream_9_storage_ceph_pacific_version: 20230308T155704
stackhpc_pulp_repo_docker_ce_ubuntu_version: 20230420T073634
stackhpc_pulp_repo_docker_version: 20230203T025251
stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version: 20230203T025251
stackhpc_pulp_repo_epel_9_version: 20230302T031902
stackhpc_pulp_repo_epel_modular_version: 20220913T043117
stackhpc_pulp_repo_epel_version: 20230206T150339
Expand Down
35 changes: 3 additions & 32 deletions etc/kayobe/pulp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,18 +428,6 @@ stackhpc_pulp_repository_rpm_repos:
state: present
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"

- name: ELK repository for 7.x packages
url: "{{ stackhpc_release_pulp_content_url }}/elasticsearch/oss-7.x/{{ stackhpc_pulp_repo_elasticsearch_logstash_kibana_7_x_version }}"
remote_username: "{{ stackhpc_release_pulp_username }}"
remote_password: "{{ stackhpc_release_pulp_password }}"
client_cert: ""
client_key: ""
policy: on_demand
proxy_url: "{{ pulp_proxy_url }}"
sync_policy: mirror_complete
state: present
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"

- name: Grafana
url: "{{ stackhpc_release_pulp_content_url }}/grafana/oss/rpm/{{ stackhpc_pulp_repo_grafana_version }}"
remote_username: "{{ stackhpc_release_pulp_username }}"
Expand Down Expand Up @@ -725,11 +713,6 @@ stackhpc_pulp_distribution_rpm_development:
repository: CentOS Stream 8 - Ceph Pacific
state: present
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
- name: "elasticsearch-logstash-kibana-7.x-development"
base_path: "elasticsearch/oss-7.x/development"
repository: ELK repository for 7.x packages
state: present
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
- name: "grafana-development"
base_path: "grafana/oss/rpm/development"
repository: Grafana
Expand Down Expand Up @@ -924,11 +907,6 @@ stackhpc_pulp_distribution_rpm_production:
repository: CentOS Stream 8 - Ceph Pacific
state: present
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
- name: "elasticsearch-logstash-kibana-7.x-production"
base_path: "elasticsearch/oss-7.x/production"
repository: ELK repository for 7.x packages
state: present
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_8 | bool }}"
- name: "grafana-production"
base_path: "grafana/oss/rpm/production"
repository: Grafana
Expand Down Expand Up @@ -1055,8 +1033,6 @@ stackhpc_pulp_images_kolla:
- designate-sink
- designate-worker
- dnsmasq
- elasticsearch
- elasticsearch-curator
- etcd
- fluentd
- glance-api
Expand All @@ -1071,7 +1047,7 @@ stackhpc_pulp_images_kolla:
- ironic-conductor
- ironic-inspector
- ironic-neutron-agent
- ironic-pxe
- ironic-tftp
- iscsid
- keepalived
- keystone
Expand Down Expand Up @@ -1121,7 +1097,6 @@ stackhpc_pulp_images_kolla:
- prometheus-alertmanager
- prometheus-blackbox-exporter
- prometheus-cadvisor
- prometheus-elasticsearch-exporter
- prometheus-haproxy-exporter
- prometheus-jiralert
- prometheus-libvirt-exporter
Expand All @@ -1141,12 +1116,8 @@ stackhpc_pulp_images_kolla:
# List of images for each base distribution which should not/cannot be built.
stackhpc_kolla_unbuildable_images:
ubuntu: []
centos: []
rocky:
- elasticsearch
- elasticsearch-curator
- iscsid
- kibana

# Whitespace-separated list of regular expressions matching Kolla image names.
# Usage is similar to kolla-build CLI arguments.
Expand All @@ -1172,7 +1143,7 @@ stackhpc_pulp_repository_container_repos_kolla: >-
{%- set repos = [] -%}
{%- for image in stackhpc_pulp_images_kolla_filtered -%}
{%- if image not in stackhpc_kolla_unbuildable_images[kolla_base_distro]-%}
{%- set image_repo = kolla_docker_namespace ~ "/" ~ kolla_base_distro ~ "-" ~ kolla_install_type ~ "-" ~ image -%}
{%- set image_repo = kolla_docker_namespace ~ "/" ~ image -%}
{%- set repo = {"name": image_repo} -%}
{%- set _ = repos.append(stackhpc_pulp_repository_container_repos_kolla_common | combine(repo)) -%}
{%- endif -%}
Expand All @@ -1189,7 +1160,7 @@ stackhpc_pulp_distribution_container_kolla: >-
{%- set distributions = [] -%}
{%- for image in stackhpc_pulp_images_kolla_filtered -%}
{%- if image not in stackhpc_kolla_unbuildable_images[kolla_base_distro]-%}
{%- set image_repo = kolla_docker_namespace ~ "/" ~ kolla_base_distro ~ "-" ~ kolla_install_type ~ "-" ~ image -%}
{%- set image_repo = kolla_docker_namespace ~ "/" ~ image -%}
{%- set distribution = {"name": image_repo, "repository": image_repo, "base_path": image_repo} -%}
{%- set _ = distributions.append(stackhpc_pulp_distribution_container_kolla_common | combine(distribution)) -%}
{%- endif -%}
Expand Down
7 changes: 7 additions & 0 deletions etc/kayobe/seed-hypervisor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,13 @@
# - state: enabled
#seed_hypervisor_firewalld_rules:

###############################################################################
# Seed Hypervisor node swap configuration.

# List of swap devices. Each item is a dict containing a 'device' item. Default
# is an empty list.
# seed_hypervisor_swap:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
7 changes: 7 additions & 0 deletions etc/kayobe/seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@ seed_extra_containers: {}
# - state: enabled
#seed_firewalld_rules:

###############################################################################
# Seed node swap configuration.

# List of swap devices. Each item is a dict containing a 'device' item. Default
# is an empty list.
# seed_swap:

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
Loading