Skip to content

Commit 442da46

Browse files
authored
Merge pull request #548 from stackhpc/upstream/master-2026-04-13
Synchronise master with upstream
2 parents f22bada + 6c5e1ac commit 442da46

19 files changed

Lines changed: 106 additions & 37 deletions

File tree

ansible/inventory/group_vars/all/inspector

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ inspector_rule_var_redfish_password:
114114
# Redfish CA setting.
115115
inspector_rule_var_redfish_verify_ca: True
116116

117+
# Log Ironic inspector rules marked sensitive.
118+
ironic_inspector_sensitive_rule_no_log: True
119+
117120
# Ironic inspector rule to set IPMI credentials.
118121
inspector_rule_ipmi_credentials:
119122
description: "Set IPMI driver_info if no credentials"

ansible/inventory/group_vars/all/kolla

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ overcloud_container_image_regex_map:
256256
enabled: "{{ kolla_enable_cinder | bool or kolla_enable_ironic | bool }}"
257257
- regex: ^trove
258258
enabled: "{{ kolla_enable_trove | bool }}"
259+
- regex: ^valkey
260+
enabled: "{{ kolla_enable_valkey | bool }}"
259261
- regex: ^watcher
260262
enabled: "{{ kolla_enable_watcher | bool }}"
261263
- regex: ^zun
@@ -580,6 +582,7 @@ kolla_enable_swift: "no"
580582
kolla_enable_tacker: "no"
581583
kolla_enable_telegraf: "no"
582584
kolla_enable_trove: "no"
585+
kolla_enable_valkey: "no"
583586
kolla_enable_vitrage: "no"
584587
kolla_enable_watcher: "no"
585588
kolla_enable_zun: "no"

ansible/roles/etc-hosts/defaults/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ customize_etc_hosts: true
44

55
# List of hosts to add to /etc/hosts.
66
etc_hosts_hosts: "{{ groups['overcloud'] }}"
7+
8+
# Dictionary of custom /etc/hosts entries.
9+
# Each key is added as a hostname,
10+
# Each value is added as an IP.
11+
custom_etc_hosts_entries: {}

ansible/roles/etc-hosts/tasks/etc-hosts.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
{{ hostvars[host].internal_net_name | net_ip(inventory_hostname=host) }} {{ hostnames | unique | join(' ') }}
3232
{% endif %}
3333
{% endfor %}
34+
{% for item in custom_etc_hosts_entries | dict2items %}
35+
{{ item.value }} {{ item.key }}
36+
{% endfor %}
3437
become: True
3538
when:
3639
# Skip hosts that do not have a valid internal network interface.

ansible/roles/ironic-inspector-rules/defaults/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,6 @@ ironic_inspector_interface:
2323
# List of rules which should exist. See the Inspector rules API for details of
2424
# parameters available for rules.
2525
ironic_inspector_rules: []
26+
27+
# Set no_log for inspector rules marked sensitive
28+
ironic_inspector_sensitive_rule_no_log:

ansible/roles/ironic-inspector-rules/tasks/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@
1616
state: present
1717
loop_control:
1818
label: "{{ ironic_inspector_rules[item].description }}"
19+
no_log: >-
20+
{{
21+
(ironic_inspector_rules[item].sensitive | default(False))
22+
and ironic_inspector_sensitive_rule_no_log
23+
}}
1924
with_items: "{{ range(0, ironic_inspector_rules | length) | list }}"

ansible/roles/kolla-ansible/templates/overcloud-components.j2

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,9 @@ monitoring
3636
[etcd:children]
3737
control
3838

39-
[influxdb:children]
40-
monitoring
41-
4239
[prometheus:children]
4340
monitoring
4441

45-
[telegraf:children]
46-
compute
47-
control
48-
monitoring
49-
network
50-
storage
51-
5242
[hacluster:children]
5343
control
5444

@@ -151,6 +141,10 @@ control
151141
[skyline:children]
152142
control
153143

144+
# TODO(vurmil): Remove after G/2026.1 release as Redis migration is no longer required
145+
[redis:children]
146+
control
147+
154148
[valkey:children]
155149
control
156150

ansible/roles/kolla-ansible/templates/overcloud-services.j2

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@ common
1818
[fluentd:children]
1919
common
2020

21-
[kolla-logs:children]
22-
common
23-
2421
[kolla-toolbox:children]
2522
common
2623

24+
[kolla_logs:children]
25+
control
26+
network
27+
compute
28+
storage
29+
monitoring
30+
2731
[opensearch:children]
2832
control
2933

@@ -410,6 +414,9 @@ monitoring
410414
[prometheus-libvirt-exporter:children]
411415
compute
412416

417+
[prometheus-valkey-exporter:children]
418+
valkey
419+
413420
[masakari-api:children]
414421
control
415422

doc/source/configuration/reference/hosts.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,6 +1553,15 @@ follows:
15531553
15541554
etc_hosts_gather_facts: false
15551555
1556+
Custom entries can be added to the ``custom_etc_hosts_entries`` dictionary.
1557+
Each key is treated as a hostname and each value is the IP, for example:
1558+
1559+
.. code-block:: yaml
1560+
1561+
custom_etc_hosts_entries:
1562+
foo.exaple.com: 1.2.3.4
1563+
bar.exaple.com: 5.6.7.8
1564+
15561565
Installing packages required by Kolla Ansible
15571566
=============================================
15581567
*tags:*

etc/kayobe/inspector.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@
9898
# Redfish CA setting. Set to 'True' by default
9999
#inspector_rule_var_redfish_verify_ca:
100100

101+
# Log Ironic inspector rules marked sensitive. Set to 'True' by default
102+
#ironic_inspector_sensitive_rule_no_log:
103+
101104
# Ironic inspector rule to set IPMI credentials.
102105
#inspector_rule_ipmi_credentials:
103106

0 commit comments

Comments
 (0)