Merge "Fix mariadb recovery"

This commit is contained in:
Zuul 2024-07-17 14:02:36 +00:00 committed by Gerrit Code Review
commit fc44651d62
2 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,7 @@
path: "{{ item }}" path: "{{ item }}"
state: absent state: absent
delegate_to: localhost delegate_to: localhost
connection: local
changed_when: false changed_when: false
check_mode: no check_mode: no
run_once: true run_once: true
@ -83,10 +84,12 @@
dest: "{{ mariadb_recover_tmp_file_path }}" dest: "{{ mariadb_recover_tmp_file_path }}"
mode: 0644 mode: 0644
delegate_to: localhost delegate_to: localhost
connection: local
changed_when: false changed_when: false
when: seqno_compare.results | map(attribute='stdout') | join('') == "" when: seqno_compare.results | map(attribute='stdout') | join('') == ""
- name: Registering mariadb_recover_inventory_name from temp file - name: Registering mariadb_recover_inventory_name from temp file
connection: local
set_fact: set_fact:
mariadb_recover_inventory_name: "{{ lookup('file', mariadb_recover_tmp_file_path) }}" mariadb_recover_inventory_name: "{{ lookup('file', mariadb_recover_tmp_file_path) }}"
when: when:

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes the MariaDB recovery issue when kolla-ansible is running from
a docker container. `LP#2073370 <https://launchpad.net/bugs/2073370>`__