Skip to content

Commit 60a5e2a

Browse files
authored
Merge pull request #669 from stackhpc/upstream/master-2025-01-27
Synchronise master with upstream
2 parents 1ad3946 + dd18ffe commit 60a5e2a

File tree

7 files changed

+16
-7
lines changed

7 files changed

+16
-7
lines changed

ansible/roles/grafana/tasks/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@
100100
file:
101101
state: absent
102102
path: "{{ node_config_directory }}/grafana/dashboards/"
103-
when: service | service_enabled_and_mapped_to_host
103+
when:
104+
- not ansible_check_mode
105+
- service | service_enabled_and_mapped_to_host
104106

105107
- name: Copying over custom dashboards
106108
vars:

ansible/roles/grafana/tasks/post_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
retries: 30
1313
delay: 2
1414
run_once: true
15+
when: not ansible_check_mode
1516

1617
- name: Remove old grafana docker volume
1718
become: true

ansible/roles/magnum/tasks/register.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@
5151
cacert: "{{ openstack_cacert }}"
5252
region_name: "{{ openstack_region_name }}"
5353
run_once: True
54+
when: not ansible_check_mode

ansible/roles/opensearch/tasks/post-config.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
retries: 30
1414
delay: 2
1515
run_once: true
16+
when: not ansible_check_mode
1617

1718
- name: Check if a log retention policy exists
1819
become: true
@@ -46,7 +47,9 @@
4647
delegate_to: "{{ groups['opensearch'][0] }}"
4748
run_once: true
4849
changed_when: opensearch_retention_policy_create.status == 201
49-
when: opensearch_retention_policy_check.status == 404
50+
when:
51+
- not ansible_check_mode
52+
- opensearch_retention_policy_check.status == 404
5053

5154
- name: Apply retention policy to existing indices
5255
become: true
@@ -66,4 +69,6 @@
6669
delegate_to: "{{ groups['opensearch'][0] }}"
6770
run_once: true
6871
changed_when: opensearch_retention_policy_create.status == 201
69-
when: opensearch_retention_policy_check.status == 404
72+
when:
73+
- not ansible_check_mode
74+
- opensearch_retention_policy_check.status == 404

tests/templates/globals-default.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ mariadb_wsrep_extra_provider_options:
4545
- "evs.inactive_timeout=PT30S"
4646
- "evs.keepalive_period=PT3S"
4747

48-
mariadb_monitor_connect_timeout: "6000"
48+
mariadb_monitor_connect_timeout: "60000"
4949

5050
nova_compute_virt_type: "{{ virt_type }}"
5151

tests/test-zun.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ function test_zun_logged {
1515
openstack appcontainer service list
1616
openstack appcontainer host list
1717
openstack subnet set --no-dhcp demo-subnet
18-
sudo ${container_engine} pull alpine
19-
sudo ${container_engine} save alpine | openstack image create alpine --public --container-format docker --disk-format raw
18+
sudo ${container_engine} pull quay.io/openstack.kolla/alpine
19+
sudo ${container_engine} save quay.io/openstack.kolla/alpine | openstack image create alpine --public --container-format docker --disk-format raw
2020
openstack appcontainer run --net network=demo-net --name test alpine sleep 1000
2121
attempt=1
2222
while [[ $(openstack appcontainer show test -f value -c status) != "Running" ]]; do

zuul.d/base.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
parent: kolla-ansible-scenario-base
209209
voting: true
210210
files: !inherit
211-
- ^ansible/roles/mariadb/
211+
- ^ansible/roles/(loadbalancer|mariadb|proxysql-config)/
212212
- ^tests/test-mariadb.sh
213213
vars:
214214
scenario: mariadb

0 commit comments

Comments
 (0)