diff --git a/etc/kayobe/ansible/configure-aio-resources.yml b/etc/kayobe/ansible/configure-aio-resources.yml index 243472d60..48263c641 100644 --- a/etc/kayobe/ansible/configure-aio-resources.yml +++ b/etc/kayobe/ansible/configure-aio-resources.yml @@ -8,13 +8,16 @@ tasks: - name: Install python build dependencies package: - name: - - "{% if ansible_facts.os_family == 'RedHat' %}gcc{% else %}build-essential{% endif %}" - - "python3-dev{% if ansible_facts.os_family == 'RedHat' %}el{% endif %}" + name: "{{ packages | select | list }}" cache_valid_time: "{{ apt_cache_valid_time if ansible_facts.os_family == 'Debian' else omit }}" update_cache: "{{ True if ansible_facts.os_family == 'Debian' else omit }}" state: present become: true + vars: + packages: + - "{% if ansible_facts.os_family == 'RedHat' %}gcc{% else %}build-essential{% endif %}" + - "python3-dev{% if ansible_facts.os_family == 'RedHat' %}el{% endif %}" + - "{% if ansible_facts.os_family == 'Debian' %}python3-venv{% endif %}" - name: Ensure latest version of pip is installed pip: diff --git a/etc/kayobe/kolla.yml b/etc/kayobe/kolla.yml index 524498012..c35c2cf49 100644 --- a/etc/kayobe/kolla.yml +++ b/etc/kayobe/kolla.yml @@ -425,7 +425,7 @@ kolla_build_args: haproxy_exporter_version: "0.13.0" memcached_exporter_version: "0.9.0" mysqld_exporter_version: "0.13.0" - node_exporter_version: "1.3.1" + node_exporter_version: "1.5.0" prometheus_version: "2.35.0" prometheus_alertmanager_version: "0.24.0" prometheus_cadvisor_sha256sum: "8e3df91eee70c72ac3f3184b9fab1229b037c2e850ff1593103b2bd9028c57c0" diff --git a/etc/kayobe/kolla/globals.yml b/etc/kayobe/kolla/globals.yml index 6cc3ee166..d025cd309 100644 --- a/etc/kayobe/kolla/globals.yml +++ b/etc/kayobe/kolla/globals.yml @@ -12,15 +12,18 @@ bifrost_tag: yoga-20230217T160618 blazar_tag: yoga-20230315T125157 caso_tag: yoga-20230315T125157 neutron_tag: yoga-20230309T123152 +prometheus_node_exporter_tag: yoga-20230310T173747 {% elif kolla_base_distro == 'rocky' %} bifrost_tag: yoga-20230310T194732 blazar_tag: yoga-20230315T130918 caso_tag: yoga-20230315T130918 +prometheus_node_exporter_tag: yoga-20230315T170614 {% else %} bifrost_tag: yoga-20230220T184947 blazar_tag: yoga-20230315T125441 caso_tag: yoga-20230315T125441 neutron_tag: yoga-20230309T123143 +prometheus_node_exporter_tag: yoga-20230315T170541 {% endif %} glance_tls_proxy_tag: "{% raw %}{{ haproxy_tag | default(openstack_tag) }}{% endraw %}" diff --git a/releasenotes/notes/node-exporter-1.5.0-5e3764790a5a0190.yaml b/releasenotes/notes/node-exporter-1.5.0-5e3764790a5a0190.yaml new file mode 100644 index 000000000..2683e94b4 --- /dev/null +++ b/releasenotes/notes/node-exporter-1.5.0-5e3764790a5a0190.yaml @@ -0,0 +1,9 @@ +--- +features: + - | + Updates Prometheus Node exporter to version 1.5.0. +fixes: + - | + Fixes a `Prometheus Node exporter crash + `__ which may + affect nodes with AMD processors (first seen on HPE DL385).