Bug 1136653

Summary: [RFE][oslo]: Enable MySQL Connector driver
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: Ihar Hrachyshka <ihrachys>
Status: CLOSED WONTFIX QA Contact: Ihar Hrachyshka <ihrachys>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ihrachys, markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/oslo.db/+spec/enable-mysql-connector
Whiteboard: upstream_milestone_none upstream_definition_obsolete upstream_status_started
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-09 16:00:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2014-09-03 04:12:22 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/oslo.db/+spec/enable-mysql-connector.

Description:

Current MySQL client library we use (MySQLdb) plays bad with eventlet and may result in db deadlocks [1]. It also blocks execution of other green threads while we're deep in the library code [2]. To avoid those issues, we need to switch to a pure python library with better eventlet support. MySQL Connector is an official mysql python client library and has the needed qualities.

[1]: https://wiki.openstack.org/wiki/OpenStack_and_SQLAlchemy#MySQLdb_.2B_eventlet_.3D_sad
[2]: http://docs.openstack.org/developer/nova/devref/threading.html


Specification URL (additional information):

http://git.openstack.org/cgit/openstack/oslo-specs/plain/specs/juno/enable-mysql-connector.rst

Comment 1 Ihar Hrachyshka 2015-02-09 16:00:03 UTC
The work to support mysql-connector is obsoleted in u/s since the plan is to go forward with pymysql. Closing the bug as not relevant.