Skip to content

Commit f983f93

Browse files
committed
add cinder-api patch
1 parent af05132 commit f983f93

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

roles/adoption_osp_deploy/tasks/prepare_overcloud.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,3 +301,26 @@
301301
loop: "{{ _tripleo_nodes_stack[_overcloud_name] }}"
302302
loop_control:
303303
loop_var: overcloud_vm
304+
305+
- name: Apply patch to increase cinder-api timeout (bgp)
306+
when: bgp
307+
delegate_to: "osp-undercloud-0"
308+
block:
309+
- name: Ensure patch package is installed in undercloud
310+
become: true
311+
ansible.builtin.dnf:
312+
name: patch
313+
state: present
314+
315+
- name: BGP workaround copy tripleo-heat-templates patch for cinder-api
316+
ansible.builtin.copy:
317+
src: templates/patch
318+
dest: /tmp/patch
319+
mode: "0644"
320+
321+
- name: BGP workaround apply patch
322+
become: true
323+
ansible.builtin.patch:
324+
src: /tmp/patch
325+
basedir: /usr/share/openstack-tripleo-heat-templates
326+
strip: 1
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- cinder-api-container-puppet.yaml.bkp 2025-08-29 18:07:23.465927047 +0000
2+
+++ cinder-api-container-puppet.yaml 2025-08-29 18:07:57.061261925 +0000
3+
@@ -434,6 +434,7 @@
4+
- {get_param: RootStackName}
5+
name: "{{ item.service_name }}"
6+
service_type: "{{ item.service_type }}"
7+
+ timeout: 300
8+
state: absent
9+
loop:
10+
- {service_name: cinderv2, service_type: volumev2}

0 commit comments

Comments
 (0)