Mailinglist Archive: kubic-bugs (110 mails)

< Previous Next >
[kubic-bugs] [Bug 1087891] Velum: Unable to find any pending nodes
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 04 Apr 2018 14:31:05 +0000
  • Message-id: <bug-1087891-81400-xJIeLnfshi@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1087891
http://bugzilla.opensuse.org/show_bug.cgi?id=1087891#c3

--- Comment #3 from Maximilian Meister <mmeister@xxxxxxxx> ---
(In reply to Rafael Fernández López from comment #2)
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.

thanks for looking into it. i wonder why we use such an old and out of
maintenance library, the (probably literally) last release was Jan 2014

any idea what we need to do if we'd like to port our salt master to PyMySQL?
would we need to patch the salt version, or is that something we need to
propose to upstream salt?

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References