ubuntu kolla-toolbox gate fails with module mysqldb is required

Bug #1615231 reported by Steven Dake
6
This bug affects 1 person
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-source-kolla-toolbox:3.0.0 sleep infinity
^Z
[1]+ Stopped docker run -t kolla/ubuntu-source-kolla-toolbox:3.0.0 sleep infinity
[sdake@minime-02 kolla]$ bg

[sdake@minime-02 kolla]$ docker exec -t 545 ansible localhost -m mysql_user -a "login_host='192.168.1.102' user='root' login_password='abc' name='haproxy' password='' host='abc'"
[WARNING]: log file at /var/log/kolla/ansible.log is not writeable and we cannot create it, aborting

localhost | FAILED! => {
    "changed": false,
    "failed": true,
    "msg": "unable to connect to database, check login_user and login_password are correct or /home/ansible/.my.cnf has the credentials. Exception message: (2003, 'Can\\'t connect to MySQL server on \\'192.168.1.102\\' (111 \"Connection refused\")')"
}

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://github.com/farcepest/MySQLdb1
Author: Andy Dustman
Author-email: <email address hidden>
License: GPL
Location: /usr/lib/python2.7/dist-packages
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

Steven Dake (sdake)
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)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/358157
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=2e0c5ecbf8ea1dfa6749e5515a38ecfa58764312
Submitter: Jenkins
Branch: master

commit 2e0c5ecbf8ea1dfa6749e5515a38ecfa58764312
Author: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
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
    Change-Id: I127ebb017e09a5bf245e0fdad9bf052203e68e55

Changed in kolla:
status: Confirmed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0b3

This issue was fixed in the openstack/kolla 3.0.0.0b3 development milestone.

Steven Dake (sdake)
Changed in kolla:
milestone: 3.0.0 → newton-rc1
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.