Comment 1 for bug 1808598

Revision history for this message
LIU Yulong (dragon889) wrote : Re: db migration issue on CentOS?

+1
I can confirm this.

Error at this db upgrade version:
https://github.com/openstack/cinder/blob/master/cinder/db/sqlalchemy/migrate_repo/versions/127_change_project_resource_attribute_for_quota_usages.py

Basicly because of the mariadb length utf8 limitation.

My env:
devstack master branch
$ uname -r
3.10.0-862.14.4.el7.x86_64

mariadb-10.1.20-2.el7.x86_64

=== my.cnf===
[client]
default-character-set = utf8

[mysqld]
query_cache_size = 0
query_cache_type = OFF
max_connections = 1024
sql_mode = TRADITIONAL
bind-address = 0.0.0.0
default-storage-engine = InnoDB
innodb_file_per_table
collation-server = utf8_general_ci
init-connect = 'SET NAMES utf8'
character-set-server = utf8

[mysql]
default-character-set = utf8