cfbe5c5634
![Mike Bayer](/assets/img/avatar_default.png)
The default setting for oslo.db is TRADITIONAL for mysql_sql_mode; this is set up in oslo_db/options.py as well as in EngineFacade; however, the provisioning system currently does not use these options or EngineFacade, and the default for mysql_sql_mode in the base session.create_engine() is None. For a MySQL/MariaDB database where this is not established in my.cnf, tests will run without TRADITIONAL SQL mode and some tests will fail, including some Nova migration tests that rely upon this. This patch resolves that as well as the warning we see in tests regarding the empty SQL mode. Change-Id: I3acdc0fb30327f56a76ee299cc6bade7c5a7e312
oslo.db
Database connection library for OpenStack
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/oslo.db
- Source: http://git.openstack.org/cgit/openstack/oslo.db
- Bugs: http://bugs.launchpad.net/oslo.db
Description
Languages
Python
99.6%
Shell
0.4%