mysql_grants.present crashes with TypeError traceback

Bug #1823364 reported by Paul Kramme
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
salt (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

In the current Ubuntu Bionic Salt Version 2017.7.4 "mysql_grants.present" state crashes with a TypeError traceback. This issue was accepted and fixed by upstream for the next version (2018.3.4):

Issue: https://github.com/saltstack/salt/issues/45026
Merge Request: https://github.com/saltstack/salt/pull/50823/files
Commit: https://github.com/saltstack/salt/commit/ec8e116f7e368a28790fc20dfe03eda7fc28e4e6

Unfortunaltely, the fix is based on the helper function salt.utils.data.decode() which is not available in Bionic's version. There is another fix for this issue, which will make the state usable, which was suggested by one GitHub user:

https://github.com/saltstack/salt/issues/45026#issuecomment-439083704

Can Bionic's Salt Version get patched, so that the "mysql_grants.present" state is useable?

Thank you very much.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in salt (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.