[openstack-dev] [neutron][all] switch from mysqldb to another eventlet aware mysql client

Angus Lees gus at inodes.org
Sun Aug 17 00:09:40 UTC 2014

On 16 Aug 2014 06:09, "Doug Hellmann" <doug at doughellmann.com> wrote:
> On Aug 15, 2014, at 9:29 AM, Ihar Hrachyshka <ihrachys at redhat.com> wrote:
> > Signed PGP part
> > Some updates on the matter:
> >
> > - oslo-spec was approved with narrowed scope which is now 'enabled
> > mysqlconnector as an alternative in gate' instead of 'switch the
> > default db driver to mysqlconnector'. We'll revisit the switch part
> > the next cycle once we have the new driver running in gate and real
> > benchmarking is heavy-lifted.
> >
> > - there are several patches that are needed to make devstack and
> > tempest passing deployment and testing. Those are collected under the
> > hood of: https://review.openstack.org/#/c/114207/ Not much of them.
> >
> > - we'll need a new oslo.db release to bump versions (this is needed to
> > set raise_on_warnings=False for the new driver, which was incorrectly
> > set to True in sqlalchemy till very recently). This is expected to be
> > released this month (as per Roman Podoliaka).
> This release is currently blocked on landing some changes in projects
using the library so they don’t break when the new version starts using
different exception classes. We’re tracking that work in
> It looks like we’re down to 2 patches, one for cinder (
https://review.openstack.org/#/c/111760/) and one for glance (
https://review.openstack.org/#/c/109655). Roman, can you verify that those
are the only two projects that need changes for the exception issue?
> >
> > - once the corresponding patch for sqlalchemy-migrate is merged, we'll
> > also need a new version released for this.

So we're going for a new version of sqlalchemy?  (We have a separate
workaround for raise_on_warnings that doesn't require the new sqlalchemy
release if this brings too many other issues)

> > - on PyPI side, no news for now. The last time I've heard from Geert
> > (the maintainer of MySQL Connector for Python), he was working on
> > this. I suspect there are some legal considerations running inside
> > Oracle. I'll update once I know more about that.
> If we don’t have the new package on PyPI, how do we plan to include it in
the gate? Are there options to allow an exception, or to make the mirroring
software download it anyway?

We can test via devstack without waiting for pypi, since devstack will
install via rpms/debs.

- Gus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140817/bcb7c85e/attachment.html>

More information about the OpenStack-dev mailing list