Bug 1266028

Summary: Packstack should use pymysql database driver since Liberty
Product: [Community] RDO Reporter: Ihar Hrachyshka <ihrachys>
Component: openstack-packstackAssignee: Javier Peña <jpena>
Status: CLOSED CURRENTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: high    
Version: trunkCC: aortega, apevec, derekh, jpena, lpeer, srevivo, tsedovic
Target Milestone: ---   
Target Release: Liberty   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-7.0.0-0.12.dev1699.g8f54936.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1266027
: 1266032 (view as bug list) Environment:
Last Closed: 2016-06-17 13:33:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1266027, 1266029    
Bug Blocks: 1266032    

Description Ihar Hrachyshka 2015-09-24 10:49:36 UTC
+++ This bug was initially created as a clone of Bug #1266027 +++

As of Liberty, openstack gate switched to pymysql driver, so it's better to use it in all openstack installers too.

To switch to the new driver, database_connection string should get driver specifier as in:

database_connection = mysql+pymysql://...127.0.0.1/...

Comment 1 Javier Peña 2015-12-15 12:20:30 UTC
Proposed https://review.openstack.org/257866 with a patch for Packstack.

This requires all patches in https://review.openstack.org/#/q/status:merged+branch:master+topic:PyMySQL-driver,n,z to be included as part of OPM to provide the required support.

Comment 2 Mike McCune 2016-03-28 22:48:26 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 4 Javier Peña 2016-06-17 13:33:10 UTC
Packstack already provides pymysql support, closing.