[BUG] Cannot add certain grants in MariaDB 10.5 #58297
Labels
Bug
broken, incorrect, or confusing behavior
Confirmed
Salt engineer has confirmed bug/feature - often including a MCVE
Core
relates to code central or existential to Salt
Execution-Module
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
In MariaDB 10.5.x, certain grants were renamed, but have a mapping to the old grants name. https://mariadb.com/kb/en/changes-improvements-in-mariadb-105/ and several new grants were introduced.
When I attempt to highstate a MariaDB 10.5 server, I receive the following errors from Saltstack for some of my configured users. Besides the addition of the BINLOG MONITOR grant to my pillar data, applying the grants worked without failure for me on MariaDB 10.3. If I remove BINLOG MONITOR/REPLICATION CLIENT and REPLICATION SLAVE ADMIN grants from my pillar data on the MariaDB 10.5 server, the remaining grants correctly apply.
Manually adding grants via the MariaDB 10.5 CLI works as intended. They appear as
On the MariaDB 10.3 CLI the grants appear as
Steps to Reproduce the behavior
salt-call state.highstate
Expected behavior
I expect to see the grants configured for my users.
Versions Report
The text was updated successfully, but these errors were encountered: