What | Removed | Added |
---|---|---|
CC | rfernandezlopez@suse.com |
It looks like the mysql python library is not properly loaded by salt: https://build.opensuse.org/package/view_file/devel:CaaSP:kubic-container/kubic-salt-master-image/kubic-salt-master-image.kiwi?expand=1 This is including `python-PyMySQL`, whereas we were including `python-MySQL-python` in IBS. Looks like salt just tries to load `MySQLdb`: https://github.com/saltstack/salt/blob/2016.11/salt/returners/mysql.py#L157-L173 Looks like PyMySQL has some compatibility layer with MySQLdb, but it doesn't export `MySQLdb` in any case so salt cannot load it.