ubuntu kolla-toolbox gate fails with module mysqldb is required
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Critical
|
Jeffrey Zhang | ||
Liberty |
Won't Fix
|
Undecided
|
Jeffrey Zhang | ||
Mitaka |
Invalid
|
Undecided
|
Jeffrey Zhang |
Bug Description
Running via docker exec seems to work (as in not produce the import error) on my local machine:
docker run -t kolla/ubuntu-
^Z
[1]+ Stopped docker run -t kolla/ubuntu-
[sdake@minime-02 kolla]$ bg
[sdake@minime-02 kolla]$ docker exec -t 545 ansible localhost -m mysql_user -a "login_
[WARNING]: log file at /var/log/
localhost | FAILED! => {
"changed": false,
"failed": true,
"msg": "unable to connect to database, check login_user and login_password are correct or /home/ansible/
}
pip show shows:
[sdake@minime-02 kolla]$ docker exec -t 545 pip show MySQL-python
---
Metadata-Version: 1.1
Name: MySQL-python
Version: 1.2.5
Summary: Python interface to MySQL
Home-page: https:/
Author: Andy Dustman
Author-email: <email address hidden>
License: GPL
Location: /usr/lib/
Requires:
Classifiers:
Development Status :: 5 - Production/Stable
Environment :: Other Environment
License :: OSI Approved :: GNU General Public License (GPL)
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows :: Windows NT/2000
Operating System :: OS Independent
Operating System :: POSIX
Operating System :: POSIX :: Linux
Operating System :: Unix
Programming Language :: C
Programming Language :: Python
Topic :: Database
Topic :: Database :: Database Engines/Servers
Changed in kolla: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Steven Dake (sdake) |
milestone: | none → 3.0.0 |
Changed in kolla: | |
assignee: | Steven Dake (sdake) → Jeffrey Zhang (jeffrey4l) |
Changed in kolla: | |
milestone: | 3.0.0 → newton-rc1 |
Reviewed: https:/ /review. openstack. org/358157 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=2e0c5ecbf8e a1dfa6749e5515a 38ecfa58764312
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2e0c5ecbf8ea1df a6749e5515a38ec fa58764312 zhang@99cloud. net>
Author: Jeffrey Zhang <jeffrey.
Date: Sat Aug 20 10:30:17 2016 +0800
Fix Ubuntu source gate deployment
In CI environment, MySQL-python wheel package has a wrong _mysql.so
file, which is not compatible with Ubuntu.
Disable wheel index in the CI for pip.
Closes-Bug: #1615231 bf245e0fdad9bf0 52203e68e55
Change-Id: I127ebb017e09a5