Merge "Fix mariadb backup unable to create history table"

This commit is contained in:
Zuul 2024-10-22 21:10:35 +00:00 committed by Gerrit Code Review
commit cffaa89831
2 changed files with 7 additions and 1 deletions

View File

@ -46,7 +46,7 @@
name: "{{ mariadb_backup_database_user }}"
password: "{{ mariadb_backup_database_password }}"
host: "%"
priv: "*.*:CREATE TABLESPACE,RELOAD,PROCESS,SUPER,LOCK TABLES,BINLOG MONITOR"
priv: "*.*:CREATE TABLESPACE,RELOAD,PROCESS,SUPER,LOCK TABLES,BINLOG MONITOR/{{ mariadb_backup_database_schema }}.mariadb_backup_history:CREATE"
append_privs: True
when:
- enable_mariabackup | bool

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes mariadb's backup failure due to missing `CREATE` privileges
on the `mariadb_backup_history` table. `LP#2061889
<https://bugs.launchpad.net/kolla-ansible/+bug/2061889>`__