keystone-manage db_sync fails with MariaDB 10.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Triaged
|
Medium
|
Unassigned |
Bug Description
When preparing a new installation using MariaDB 10.3, the keystone-manage db_sync command fails with the following trace [0]:
2018-06-01 09:03:51.902 7052 CRITICAL keystone [-] Unhandled error: DBMigrationError: (pymysql.
2018-06-01 09:03:51.902 7052 ERROR keystone Traceback (most recent call last):
2018-06-01 09:03:51.902 7052 ERROR keystone File "/usr/bin/
2018-06-01 09:03:51.902 7052 ERROR keystone sys.exit(main())
2018-06-01 09:03:51.902 7052 ERROR keystone File "/usr/lib/
2018-06-01 09:03:51.902 7052 ERROR keystone cli.main(
2018-06-01 09:03:51.902 7052 ERROR keystone File "/usr/lib/
2018-06-01 09:03:51.902 7052 ERROR keystone CONF.command.
2018-06-01 09:03:51.902 7052 ERROR keystone File "/usr/lib/
2018-06-01 09:03:51.902 7052 ERROR keystone CONF.command.
2018-06-01 09:03:51.902 7052 ERROR keystone File "/usr/lib/
2018-06-01 09:03:51.902 7052 ERROR keystone expand_schema()
2018-06-01 09:03:51.902 7052 ERROR keystone File "/usr/lib/
2018-06-01 09:03:51.902 7052 ERROR keystone _sync_repo(
2018-06-01 09:03:51.902 7052 ERROR keystone File "/usr/lib/
2018-06-01 09:03:51.902 7052 ERROR keystone init_version=
2018-06-01 09:03:51.902 7052 ERROR keystone File "/usr/lib/
2018-06-01 09:03:51.902 7052 ERROR keystone raise exception.
2018-06-01 09:03:51.902 7052 ERROR keystone DBMigrationError: (pymysql.
Version 10.2 doesn't have an issue with the database migrations, but 10.3 does because of a new syntax requirement.
This was brought to our attention in IRC [1].
[0] https:/
[1] http://
description: | updated |
description: | updated |
This will likely depend on a new version of sqlalchemy (which doesn't appear to be compatible with MariaDB 10.3)