Skip to content

Commit 4cbf2ee

Browse files
authored
Merge pull request #685 from stackhpc/upstream/master-2025-02-24
Synchronise master with upstream
2 parents 3e0e918 + f150be4 commit 4cbf2ee

File tree

11 files changed

+22
-44
lines changed

11 files changed

+22
-44
lines changed

ansible/roles/cinder/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ cinder_backend_pure_nvme_tcp_name: "Pure-FlashArray-nvme-tcp"
270270

271271
cinder_ceph_backends:
272272
- name: "{{ cinder_backend_ceph_name }}"
273+
backend_name: "{{ cinder_backend_ceph_name }}"
273274
cluster: "{{ ceph_cluster }}"
274275
user: "{{ ceph_cinder_user }}"
275276
pool: "{{ ceph_cinder_pool_name }}"

ansible/roles/cinder/tasks/upgrade.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@
1010

1111
- import_tasks: check-containers.yml
1212

13-
# TODO(bbezak): Remove this task in the Dalmatian cycle.
14-
- import_role:
15-
name: service-ks-register
16-
vars:
17-
service_ks_register_auth: "{{ openstack_cinder_auth }}"
18-
service_ks_register_user_roles: "{{ cinder_ks_user_roles }}"
19-
2013
- name: Flush handlers
2114
meta: flush_handlers
2215

ansible/roles/cinder/templates/cinder.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ target_protocol = iscsi
156156
{% for backend in cinder_ceph_backends %}
157157
[{{ backend.name }}]
158158
volume_driver = cinder.volume.drivers.rbd.RBDDriver
159-
volume_backend_name = {{ backend.name }}
159+
volume_backend_name = {{ backend.backend_name | default(backend.name) }}
160160
rbd_pool = {{ backend.pool }}
161161
rbd_ceph_conf = /etc/ceph/{{ backend.cluster }}.conf
162162
rados_connect_timeout = 5

ansible/roles/ironic/tasks/upgrade.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,3 @@
3232

3333
- include_tasks: legacy_upgrade.yml
3434
when: not ironic_enable_rolling_upgrade | bool
35-
36-
# TODO(bbezak): Remove this task in the Dalmatian cycle.
37-
- import_role:
38-
name: service-ks-register
39-
vars:
40-
service_ks_register_auth: "{{ openstack_ironic_auth }}"
41-
service_ks_register_user_roles: "{{ ironic_ks_user_roles }}"

ansible/roles/nova/tasks/upgrade.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
---
2-
# TODO(bbezak): Remove this task in the Dalmatian cycle.
3-
- import_role:
4-
name: service-ks-register
5-
vars:
6-
service_ks_register_auth: "{{ openstack_nova_auth }}"
7-
service_ks_register_user_roles: "{{ nova_ks_user_roles }}"
8-
92
# Create new set of configs on nodes
103
- import_tasks: config.yml
114

ansible/roles/prometheus/templates/prometheus.yml.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,17 @@ scrape_configs:
178178
{% endfor %}
179179
relabel_configs:
180180
- source_labels: [__address__]
181-
regex: (\w+):(\w+):(.+)
181+
regex: ([^:]+):([^:]+):(.+)
182182
target_label: service
183183
replacement: ${1}
184184
- source_labels: [__address__]
185-
regex: (\w+):(\w+):(.+)
185+
regex: ([^:]+):([^:]+):(.+)
186186
target_label: __param_module
187187
replacement: ${2}
188188
- source_labels: [__param_module]
189189
target_label: module
190190
- source_labels: [__address__]
191-
regex: (\w+):(\w+):(.+)
191+
regex: ([^:]+):([^:]+):(.+)
192192
target_label: __param_target
193193
replacement: ${3}
194194
- source_labels: [__param_target]

doc/source/reference/networking/neutron.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ provisioning, controllers might have access to two physical networks:
7575
7676
neutron_external_interface: "eth1,eth2"
7777
neutron_bridge_name: "br-ex1,br-ex2"
78-
neutron_physical_network: "physnet1,physnet2"
78+
neutron_physical_networks: "physnet1,physnet2"
7979
8080
While compute nodes have access only to ``physnet2``.
8181

8282
.. code-block:: yaml
8383
8484
neutron_external_interface: "eth1"
8585
neutron_bridge_name: "br-ex1"
86-
neutron_physical_network: "physnet2"
86+
neutron_physical_networks: "physnet2"
8787
8888
Example: shared interface
8989
-------------------------
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
features:
3+
- |
4+
Added support for explicitly setting ``volume_backend_name`` for
5+
Cinder Ceph backends by the new variable ``backend_name`` in
6+
the ``cinder_ceph_backends`` dictionary configuration.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes the regex used to match blackbox exporter targets in the
5+
``prometheus.yml.j2`` template to be less strict. Previously we were using
6+
``\w`` which did not allow for names with periods or hyphens. The service
7+
and module labels can now contain all characters except for a colon.

tests/run.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,13 @@
202202
mode: 0777
203203

204204
- name: Download Ironic Python Agent (IPA) images
205-
vars:
206-
# TODO(mnasiadka): Revert back to master when it works
207-
# tinyipa_image: "tinyipa-{{ zuul.branch | replace('/', '-') }}"
208-
tinyipa_image: "tinyipa-stable-2024.2"
209205
get_url:
210206
url: "https://tarballs.opendev.org/openstack/ironic-python-agent/tinyipa/files/{{ item.src }}"
211207
dest: "/etc/kolla/config/ironic/{{ item.dest }}"
212208
with_items:
213-
- src: "{{ tinyipa_image }}.gz"
209+
- src: "tinyipa-{{ zuul.branch | replace('/', '-') }}.gz"
214210
dest: ironic-agent.initramfs
215-
- src: "{{ tinyipa_image }}.vmlinuz"
211+
- src: "tinyipa-{{ zuul.branch | replace('/', '-') }}.vmlinuz"
216212
dest: ironic-agent.kernel
217213
when: scenario == "ironic"
218214

@@ -670,14 +666,11 @@
670666
vars:
671667
ansible_core_version_constraint: >-
672668
{{ ansible_core_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_core_version_max }}
673-
ansible_version_constraint: >-
674-
{{ ansible_version_min if is_upgrade or base_distro != 'ubuntu' else ansible_version_max }}
675669
pip:
676670
extra_args: "-c {{ upper_constraints_file }}"
677671
name:
678672
- "{{ kolla_ansible_src_dir }}"
679673
- "ansible-core{{ ansible_core_version_constraint }}"
680-
- "ansible{{ ansible_version_constraint }}"
681674
- "ara<1.0.0"
682675
virtualenv: "{{ kolla_ansible_venv_path }}"
683676
when: is_slurp

0 commit comments

Comments
 (0)