Skip to content

Commit 5aa1a8c

Browse files
committed
wip
1 parent b186ebd commit 5aa1a8c

File tree

3 files changed

+7
-19
lines changed

3 files changed

+7
-19
lines changed

etc/kayobe/ansible/prometheus.yml.j2

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -247,18 +247,6 @@ scrape_configs:
247247
{% endfor %}
248248
{% endif %}
249249

250-
{% if enable_ironic_prometheus_exporter | bool %}
251-
- job_name: ironic_prometheus_exporter
252-
static_configs:
253-
{% for host in groups['ironic-conductor'] %}
254-
- targets: ["{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ hostvars[host]['ironic_prometheus_exporter_port'] }}"]
255-
{% if hostvars[host].prometheus_instance_label | default(false, true) %}
256-
labels:
257-
instance: "{{ hostvars[host].prometheus_instance_label }}"
258-
{% endif %}
259-
{% endfor %}
260-
{% endif %}
261-
262250
{% if enable_prometheus_alertmanager | bool %}
263251
- job_name: alertmanager
264252
static_configs:
@@ -273,14 +261,10 @@ scrape_configs:
273261

274262
alerting:
275263
alertmanagers:
276-
- static_configs:
277-
- targets:
264+
- static_configs:
278265
{% for host in groups["prometheus-alertmanager"] %}
266+
- targets:
279267
- '{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:{{ hostvars[host]['prometheus_alertmanager_port'] }}'
280-
{% if hostvars[host].prometheus_instance_label | default(false, true) %}
281-
labels:
282-
instance: "{{ hostvars[host].prometheus_instance_label }}"
283-
{% endif %}
284268
{% endfor %}
285269
{% endif %}
286270
{% endraw %}

etc/kayobe/kolla-image-tags.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ kolla_image_tags:
66
openstack:
77
rocky-9: 2024.1-rocky-9-20240725T165045
88
ubuntu-jammy: 2024.1-ubuntu-jammy-20240725T165045
9+
heat:
10+
rocky-9: 2024.1-rocky-9-20240805T142526
11+
ubuntu-jammy: 2024.1-ubuntu-jammy-20240805T142526

etc/kayobe/stackhpc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ stackhpc_kolla_source_version: "stackhpc/{{ openstack_release }}"
145145

146146
# Kolla Ansible source repository.
147147
stackhpc_kolla_ansible_source_url: "https://github.com/stackhpc/kolla-ansible"
148-
stackhpc_kolla_ansible_source_version: "stackhpc/{{ openstack_release }}"
148+
# stackhpc_kolla_ansible_source_version: "stackhpc/{{ openstack_release }}"
149+
stackhpc_kolla_ansible_source_version: "fix-prometheus"
149150

150151
###############################################################################
151152
# Container image registry

0 commit comments

Comments
 (0)