Skip to content

Commit 80a6172

Browse files
authored
Merge pull request #850 from stackhpc/upstream/master-2026-03-02
Synchronise master with upstream
2 parents 9f65d74 + 64d2b1d commit 80a6172

File tree

6 files changed

+38
-3
lines changed

6 files changed

+38
-3
lines changed

ansible/roles/prometheus/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ prometheus_node_exporter_targets_extra: []
182182
# For a list of default endpoints see
183183
# prometheus_blackbox_exporter_endpoints_default.
184184
# For a list of modules see the alertmanager config.
185-
prometheus_blackbox_exporter_endpoints: "{{ prometheus_blackbox_exporter_endpoints_default | selectattr('enabled', 'true') | map(attribute='endpoints') | flatten | union(prometheus_blackbox_exporter_endpoints_custom) | unique | select | list }}"
185+
prometheus_blackbox_exporter_endpoints: "{{ prometheus_blackbox_exporter_endpoints_default | selectattr('enabled', 'true') | map(attribute='endpoints') | flatten | union(prometheus_blackbox_exporter_endpoints_custom) | unique | select | list | sort }}"
186186

187187
prometheus_blackbox_exporter_endpoints_default:
188188
# OpenStack endpoints

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Password hashing
2-
bcrypt>=4.3.0,<5 # Apache-2.0
2+
bcrypt>=4.3.0 # Apache-2.0
33

44
# password generation
55
cryptography>=2.1 # BSD/Apache-2.0

test-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ coverage!=4.4,>=4.0 # Apache-2.0
3333
docker>=2.4.2 # Apache-2.0
3434
oslotest>=3.2.0 # Apache-2.0
3535
stestr>=2.0.0 # Apache-2.0
36-
testtools<2.8.3 # Apache-2.0 - temporarily pin to satisfy stestr

tests/run-openbao.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@
3636
cmd: "{{ 'python3.12' if ansible_facts.os_family == 'RedHat' else 'python3' }} -m venv {{ kolla_ansible_venv_path }}"
3737
creates: "{{ kolla_ansible_venv_path }}"
3838

39+
# TODO(bbezak): Drop this workaround once kolla-ansible supports bcrypt 5.
40+
- name: Pin bcrypt to <5 in upper-constraints in CI
41+
lineinfile:
42+
path: "{{ upper_constraints_file }}"
43+
regexp: '^bcrypt==='
44+
line: 'bcrypt===4.3.0'
45+
state: present
46+
when: zuul.branch == 'master'
47+
3948
- name: Ensure the latest tested pip
4049
pip:
4150
name: "pip==23.*"

tests/run.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
ansible_collection_kolla_src_dir: "{{ ansible_env.PWD }}/src/{{ zuul.project.canonical_hostname }}/openstack/ansible-collection-kolla"
1818
kolla_ansible_src_dir: "{{ ansible_env.PWD }}/src/{{ zuul.project.canonical_hostname }}/openstack/kolla-ansible"
1919
kolla_ansible_local_src_dir: "{{ zuul.executor.work_root }}/src/{{ zuul.project.canonical_hostname }}/openstack/kolla-ansible"
20+
tempest_src_dir: "{{ ansible_env.PWD }}/src/{{ zuul.project.canonical_hostname }}/openstack/tempest"
2021
infra_dockerhub_mirror: "http://{{ zuul_site_mirror_fqdn }}:8082/"
2122
need_build_image: "{{ kolla_build_images | default(false) }}"
2223
build_image_tag: "change_{{ zuul.change | default('none') }}"
@@ -253,6 +254,15 @@
253254
state: directory
254255
become: true
255256

257+
# TODO(bbezak): Drop this workaround once kolla-ansible supports bcrypt 5.
258+
- name: Pin bcrypt to <5 in upper-constraints in CI
259+
lineinfile:
260+
path: "{{ upper_constraints_file }}"
261+
regexp: '^bcrypt==='
262+
line: 'bcrypt===4.3.0'
263+
state: present
264+
when: zuul.branch == 'master'
265+
256266
- name: Create Kolla Ansible venv
257267
command:
258268
cmd: "{{ 'python3.12' if ansible_facts.os_family == 'RedHat' else 'python3' }} -m venv {{ kolla_ansible_venv_path }}"
@@ -416,6 +426,10 @@
416426

417427
- import_role:
418428
name: kolla-ansible-tempest
429+
vars:
430+
kolla_ansible_tempest_packages:
431+
- python-tempestconf
432+
- "{{ tempest_src_dir if (zuul.branch == 'master' and not is_upgrade) else 'tempest' }}"
419433
when: openstack_core_tested
420434

421435
- name: Run test-zun.sh script
@@ -610,6 +624,15 @@
610624
git log --pretty=oneline -1
611625
chdir: "{{ ansible_env.HOME }}/src/opendev.org/openstack/requirements/"
612626

627+
# TODO(bbezak): Drop this workaround once kolla-ansible supports bcrypt 5.
628+
- name: Pin bcrypt to <5 in upper-constraints in CI
629+
lineinfile:
630+
path: "{{ upper_constraints_file }}"
631+
regexp: '^bcrypt==='
632+
line: 'bcrypt===4.3.0'
633+
state: present
634+
when: zuul.branch == 'master'
635+
613636
- name: Generate configuration files
614637
template:
615638
src: "{{ kolla_ansible_local_src_dir }}/{{ item.src }}"
@@ -706,6 +729,9 @@
706729
name: kolla-ansible-tempest
707730
vars:
708731
post_upgrade: true
732+
kolla_ansible_tempest_packages:
733+
- python-tempestconf
734+
- "{{ tempest_src_dir if (zuul.branch == 'master' and not is_upgrade) else 'tempest' }}"
709735
when: openstack_core_tested
710736

711737
- name: Run test-prometheus-opensearch.sh script (post-upgrade)

zuul.d/base.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- openstack/ansible-collection-kolla
1111
- openstack/kolla
1212
- openstack/kolla-ansible
13+
- openstack/tempest
1314
- openstack/requirements
1415
files:
1516
- ^ansible/site.yml

0 commit comments

Comments
 (0)