driver name missing for database configuration

Bug #1805594 reported by Sahid Orentino
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Keystone Charm
In Progress
Low
Sahid Orentino

Bug Description

When generating database URL, the driver is not specified. It is recommended by oslo.db to use for MySQL 'pymysql's driver.

For PostgreSQL nothing clear is recommended.

(oslo_db.sqlalchemy.engines): 2018-11-27 16:57:07,644 WARNING URL mysql://keystone:***@10.5.0.13/keystone does not contain a '+drivername' portion, and will make use of a default driver. A full dbname+drivername:// protocol is recommended
. For MySQL, it is strongly recommended that mysql+pymysql:// be specified for maximum service compatibility

Changed in charm-keystone:
assignee: nobody → sahid (sahid-ferdjaoui)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-keystone (master)

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

Changed in charm-keystone:
status: New → In Progress
Revision history for this message
James Page (james-page) wrote :

This is a nuance of how we manage things in ubuntu; the default mysql driver in ubuntu is pymysql (we patch to switch the default) so we should probably drop the WARNING message as well.

James Page (james-page)
Changed in charm-keystone:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-keystone (master)

Change abandoned by sahid (<email address hidden>) on branch: master
Review: https://review.openstack.org/620544

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.