-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql module, "cannot use a string pattern on a bytes-like object" #55811
Comments
I can't replicate this on Ubuntu 18.04
|
We encountered this error as well. After some debugging I tracked it down to version 1.3.7 of the
After upgrading to the latest 1.3 series:
We can now run
|
An addendum: for us on Ubuntu 16.04, the above fixed the problem locally using
I don't know why |
@sagetherage If I'm reading our upgrade history right, we were on 2019.2.5 at the time of my above comments. We've since made the jump to the 3001 and 3002 series. I haven't heard of this problem continuing since implementing the mitigation I described. |
Thank you @eykd then I am going to close this issue since v2018.3.x and v2019.2.5 are no longer supported versions of salt - but mention me if you don't agree or you can open a new issue. thank you! |
Description of Issue
state
mysql_user.present
is raising a PythonTypeError
with the message "cannot use a string pattern on a bytes-like object" in Salt2018.3.4
(no sensitive information).Possibly related to #45026
Setup
our state is very simple and looks like this (in context):
and the (dummy, public) pillar data looks like this (in context):
Steps to Reproduce Issue
Running
highstate
with-l debug
gives us this:Versions Report
(masterless)
The text was updated successfully, but these errors were encountered: