Installers should use pymysql db driver as of Liberty

Bug #1499298 reported by Ihar Hrachyshka
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Packstack
New
Undecided
Unassigned
tripleo
Fix Released
High
Emilien Macchi

Bug Description

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/...

Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

Note that appropriate python package should be installed on the system to use the driver.

Ben Nemec (bnemec)
Changed in tripleo:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Miguel Angel Ajo (mangelajo) wrote :

Hi , any advance on this?

The old driver causes some issues.

Changed in tripleo:
assignee: nobody → Emilien Macchi (emilienm)
status: Triaged → In Progress
Revision history for this message
Emilien Macchi (emilienm) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/265334

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/265334
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=b8c2213f06d0c798d50285ca20fa0f6311985a64
Submitter: Jenkins
Branch: master

commit b8c2213f06d0c798d50285ca20fa0f6311985a64
Author: Emilien Macchi <email address hidden>
Date: Fri Jan 8 11:09:09 2016 -0500

    Use pymysql database driver for OpenStack DBs

    PyMySQL is a new driver introduced in Liberty.
    This patch change the MySQL url to use mysql+pymysql like recommanded.

    Change-Id: I28e14acacba865241a0cc388a879a003181a85f3
    Depends-On: I7604cca9e2d7bf0b93c820adec5f937f72b64fa8
    Closes-Bug: #1499298

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/265331
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=adff0f113a65169e064a3c647458b3b1e782b9fd
Submitter: Jenkins
Branch: master

commit adff0f113a65169e064a3c647458b3b1e782b9fd
Author: Emilien Macchi <email address hidden>
Date: Fri Jan 8 11:04:19 2016 -0500

    Use pymysql database driver for OpenStack DBs

    PyMySQL is a new driver introduced in Liberty.
    This patch change the MySQL url to use mysql+pymysql like recommanded.

    Closes-Bug: #1499298
    Depends-On: I7604cca9e2d7bf0b93c820adec5f937f72b64fa8
    Change-Id: I1b49a86f0bb4b410620e280b7e53c32c5186b1f7

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/284955

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/284958

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/liberty)

Reviewed: https://review.openstack.org/284958
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=3a24b8d89cff43524d93f05f9acabe774e91320e
Submitter: Jenkins
Branch: stable/liberty

commit 3a24b8d89cff43524d93f05f9acabe774e91320e
Author: Emilien Macchi <email address hidden>
Date: Fri Jan 8 11:09:09 2016 -0500

    Use pymysql database driver for OpenStack DBs

    PyMySQL is a new driver introduced in Liberty.
    This patch change the MySQL url to use mysql+pymysql like recommanded.

    Change-Id: I28e14acacba865241a0cc388a879a003181a85f3
    Depends-On: I7604cca9e2d7bf0b93c820adec5f937f72b64fa8
    Closes-Bug: #1499298
    (cherry picked from commit b8c2213f06d0c798d50285ca20fa0f6311985a64)

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (stable/liberty)

Reviewed: https://review.openstack.org/284955
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=083ca41bb31bf86e570a95c597ca4aa72ccda615
Submitter: Jenkins
Branch: stable/liberty

commit 083ca41bb31bf86e570a95c597ca4aa72ccda615
Author: Emilien Macchi <email address hidden>
Date: Fri Jan 8 11:04:19 2016 -0500

    Use pymysql database driver for OpenStack DBs

    PyMySQL is a new driver introduced in Liberty.
    This patch change the MySQL url to use mysql+pymysql like recommanded.

    Closes-Bug: #1499298
    Depends-On: If41a86abc3090dfb439d09cd63ae2ecb9a0b9598
    Change-Id: I1b49a86f0bb4b410620e280b7e53c32c5186b1f7
    (cherry picked from commit adff0f113a65169e064a3c647458b3b1e782b9fd)

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.